In this tutorial, you'll learn how to create an SMS autoresponder that responds with a message anytime someone texts your Twilio phone number. If you're tired of sending individual replies to texts when you have the same information to share each time, you can set this up Twilio Studio to send the message for you, automatically!
New to Twilio Studio? We recommend you check out our Getting Started guide for working with Twilio Studio to familiarize yourself with Studio mechanics before you start this tutorial.
Before you get started, you'll need:
You'll start by creating a brand-new Studio Flow for your autoresponder. All the logic and routing for your project will exist in this Flow.
Create a new Flow from scratch using the Twilio Console. If this is your first time working with Studio, you can see how to create a Flow here. You may wish to name this Flow something like "SMS Autoresponder."
In this Flow, you're creating an autoresponder that responds to an incoming message with an automated text message response.
The Flow only needs one more Widget on the Canvas — the Send Message Widget. From the Widget Library on the right side of the Canvas, drag and drop the Send Message Widget onto the Canvas. Rename the Widget to auto_response_message
.
You'll need to connect your Trigger (Start) Widget to this Widget, so click on the red dot underneath Incoming Message and drag it to connect it to your new Widget. This will create a line between the two Widgets and tells your Studio application what to do with incoming messages. To learn more about creating Transitions between Widgets, see the Getting Started guide.