SUPPORT.TWILIO.COM END OF LIFE NOTICE: This site, support.twilio.com, is scheduled to go End of Life on February 27, 2024. All Twilio Support content has been migrated to help.twilio.com, where you can continue to find helpful Support articles, API docs, and Twilio blog content, and escalate your issues to our Support team. We encourage you to update your bookmarks and begin using the new site today for all your Twilio Support needs.

Create an SMS Message Keyword Response Menu Tree with Twilio Studio

Twilio Studio allows you to drag and drop widgets to build a number of different Programmable Messaging flows. Here are steps for creating a simple SMS message keyword response tree flow, and configuring it for use on your Twilio number.

Create an SMS Message Response Menu Tree Flow

  1. Login to your account at www.twilio.com/console.
  2. Click Studio Icon_02-Studio.png from the left-side navigation bar.
    NOTE: If Studio is not visible, you may first need to click All Products & Services.
  3. Click the + sign icon Icon_03-New.png to create a new flow.
  4. Enter the desired name, and then click Add Flow.
  5. From the Widget Library on the right, drag and drop the following widgets into the flow:
    B_01_widgets_D.png 
    • Send & Wait for Reply
    • Split Based On...
    • Send Message (one for each response option)
  6. Click and drag the Trigger widget’s Incoming Message lead to connect it to the Send & Wait for Reply widget.
    B_05_transition_D.png 
  7. Click the Send & Wait for Reply widget, and then enter the necessary information:
    B_02_Send-Reply.png 
    • Config tab: Enter the desired message in the MESSAGE BODY field.
    • Transitions tab: Click the IF REPLY drop-down menu, and then select the Split Based On widget.
  8. Click the Split Based On widget, and then edit as desired:
    B_03_split_D.png 
    • Config tab: Click the VARIABLE TO TEST drop-down menu, and then select the .inbound.body option for the previous Send & Wait for Reply widget.
    • Transitions tab: Click New Transition to create a new mapping, and then select Equal To from the first drop-down menu, enter the expected input for the VALUE field, and select the desired Send Message widget for this result from the THEN TRANSITION TO drop-down menu. Click Save when finished.
  9. Click the Send Message widget, and then enter the desired message body.
    B_04_sms.png 
  10. Click Save. Studio Plus users, click Publish.

Activate a Flow on a Twilio Number

When your flow is published, it can then be configured to handle incoming phone calls or text messages for Twilio phone numbers that support these products. Here’s how to add your flow to a phone number:

  1. Login to your account at www.twilio.com/console.
  2. Click Phone Numbers Icon_05-Numbers.png from the left-side navigation bar.
    NOTE: If Phone Numbers is not visible, you may first need to click All Products & Services.
  3. Click the desired phone number.
  4. Add your Studio flow for incoming messages:
    B_06_number_B.png 
    • CONFIGURE WITH: Webhooks, TwiML Bins, Functions, Studio, or Proxy
    • A MESSAGE COMES IN: Studio Flow
      • Select the desired flow.
  5. Click Save.

 

Have more questions? Submit a request
Powered by Zendesk