This tutorial walks through building Talkbot ๐ค, an example application written in Node that allows you to direct incoming Twilio SMS messages to a Slack channel. We'll use the Slack Events and Web API, plug into Twilio and Firebase, utilize Slack threads, and listen/respond to message reactions.
If you don't want to develop the app locally, you can
๐ก If you're going to use Glitch, you'll still have to go through the setup to generate tokens for your
.env
and connect the app to Firebase and Twilio. But instead of using an ngrok URL, you'll be able to use your Glitch URL.
Let's get started! ๐๐ฉโ๐ป
- Setting up a Slack application and bot user, then installing it onto your team
- Using Twilio to send and receive SMS from your Slack app
- Integrating Firebase and threads to organize conversations across SMS and Slack
- Listening for and responding to Slack events
- Slack Developer Kit for Node.js
- Slack Events API Module
- Twilio - Cloud communications platform
- Firebase - Database solution
- Ngrok - Secure tunneling
- Body Parser - Node.js body parsing middleware
- Express - Web framework for Node
This tutorial is split up into 6 different sections. If you get stuck on any section at any time, you can look at the code in this repository to help you out. We've also included some resources and helpful links below for further reading.
- Section 00: Overview and Introduction ๐
- Section 01: Setting up your Slack Bot
- Section 02: Integrating your Bot with Twilio
- Section 03: Adding Threads to Your Conversations
- Section 04: Responding to Message Events
- Section 05: Responding to SMS via Slack
- Section 06: Adding OAuth Configuration
If you're having trouble getting through the tutorial, or a section of the tutorial, make sure to glance through the Slack API documentation. The Slack Developer community is also a great resource to plug into. If you can't find anything by Googling or looking on Stack Overflow, try asking the Dev4Slack Slack team.
You can also view and remix the working project on Glitch