My experience building a @SlackHQ bot using @tray and @airtable as the #nocode tools.

Giant Thread ๐Ÿงต ๐Ÿ‘‡
1/ I have been meaning to build a Slack bot for a while and have done several proofs-of-concept in the bast. But every single time I have failed to actually ship it just because it requires a managed back-end and that just adds too much effort for a simple side-project at work.
2/ ๐Ÿ“š Introducing โ€” The Dictionary Bot

The idea is simple. Look up a list of acronyms and return what it stands for. For example
3/ At a high level, I need the following for the bot to work:

- A Slack App (with Slash commands enabled)
- A URL thatโ€™s called whenever the Slash command is triggered
- Some kind of a Database to hold the Acronym definitions
- Ability to respond to the Slash Command
4/ Implementation - Backend with Tray

Tray.io is essentially built around workflows (think of it as a function) that can be called via various โ€œtriggersโ€. In my case a Slash command from Slack.
5/ To connect the workflow to the Slash command, it was just a matter of obtaining the unique URL for my Dictionary Bot workflow in Tray.io and providing it in the settings on my Slack app.
6/ Once connected and authenticated (which was done by providing Tray.io with a โ€˜signing secretโ€™ from Slack), I was already able to start invoking the (/define) command from Slack and see the Tray workflow getting triggered.
7/ Airtable as the DB

The next step was to identify where to store my data so that it can be easily queried from the Tray.io. Think of Airtable as a glorious G Sheet that allows you to query your data over an out-of-the-box API.

Itโ€™s hard to believe, I know.
8/ With the data now available, all I had to do was create authentication for my Airtable account (which was trivial). The connector very conveniently provides the ability to filter your data by a formula which in my case was simply:
9/ Pretty much at this point, I had the output from the table that I wanted and was ready to craft a response to be sent back to Slack.
10/ Turns out, each Slash command request comes with a unique response_url that you can use to send a response and itโ€™s sent to the same channel where the request originated โ€” pretty convenient.
11/ And voila, the Slack bot was ready to be tested end-to-end and I did not even have to write a single line of code! ๐ŸŽ‰
12/ It was quite enjoyable to build with @tray and @airtable and take my idea from inception to production within a matter of hours!!

What do you think? Thoughts? Questions?

โ€ข โ€ข โ€ข

Missing some Tweet in this thread? You can try to force a refresh
ใ€€

Keep Current with Sahil - The NoCode Pro ๐Ÿš€

Sahil - The NoCode Pro ๐Ÿš€ Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @thenocodepro

3 Dec
Amazon just announced a new #nocode/#lowcode tool at re:Invent conference.

Itโ€™s called AWS Amplify Studio.

In their own words, it is: โ€œa visual development environment that offers frontend developers new features to accelerate UI development with minimal codingโ€
And this will totally blow your mind. ๐Ÿ‘‡

The tool accepts a #Figma file and converts it into #React components library that you can then pull into your app.

So, not a no-code tool and definitely not for beginners.
But they are clearly bullish on the low-code/no-code approach to development.

They are positioning it as a โ€œhappy mediumโ€ between drag-n-drop development and the ability to customize.
Read 5 tweets
2 Dec
I built this app in less than 60 minutes with #nocode.

A lot of my conversations on LinkedIn were resulting in โ€œletโ€™s do a zoom callโ€. Calendly links were shared but I didnโ€™t have a good system to track them. So I decided to fix that. Image
I could have created a spreadsheet.

Right?

Boring! ๐Ÿ˜

Why not create an app in the same amount of time?

Here are the features it supports: ๐Ÿ‘‡
โ†’ Sign in with an email
โ†’ Sign in with Google
โ†’ Add new contact (+ Calendly link)
โ†’ View/Edit/Delete contacts
โ†’ Filter contacts by status (Scheduled/Met)
โ†’ Search for contacts
โ†’ Works on mobile and web
Read 5 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(