Skip to main content
  • Home
  • >
  • Voice Recording w/ Follow Up Text

Voice Recording w/ Follow Up Text

By Twilio

  • Voice
  • SMS
  • Twilio
  • Applications

Regulations require that you first register your number to use these resources to send SMS traffic to US and Canadian mobile destinations. If you are sending to Canada or the US and have not already done so, please see our documentation to register your Twilio phone number or Toll-Free number before you use this template.

This sample app integrates both Twilio Voice and Twilio SMS by allowing customers to call a number to hear recorded information, before following it up with an SMS message. Using a treasure hunt as an example:

  • A participant calls your phone number
  • The app accepts the incoming phone call
  • Using the <Say> TwiML verb, an automated message is said to the participant in the call: "Thanks for calling! We just sent you a text with a clue."
  • The app then sends the participant a follow-up text message: "There's always money in the banana stand."

Step 1: Choose a language

Step 2: You need an API key to get started.
Get a free API key

Step 3: Set up the code sample locally

Deploy

OR

Want to set up this code sample locally? Follow the setup instructions in the README

Don't see what you want? Request a code sample Explore Docs

There was an issue loading the page.

Please try again in some time.