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.

How do I play or say a message on a call in a Studio flow?

Objective

This article shows you how to add and configure the Say/Play widget so your Studio flow reads text to the caller, plays an audio file, or plays DTMF digits.

 

Product

Studio, Programmable Voice

 

Environment

Twilio Console

 

User Account Permission/Role(s) Required

Editing a flow requires the Studio flows create and update permissions on the account.

 

Procedure

  1. In the Twilio Console, select Orchestration in the left sidebar.
  2. Select Studio, then Flows.
  3. Select the flow you want to edit to open the Editor tab.
  4. Open the widget library and drag Say/Play onto the canvas.
  5. Select the new widget to open its configuration panel.
  6. In Say or play message or digits, choose what the widget should do:
    1. Say a Message: enter the words in Text to say, then choose a Message voice and a Language, such as English (US).
    2. Play a Message: enter the file's public address in URL of audio file, and set Number of loops if you want it repeated.
    3. Digits: enter the tones to play in Digits.
  7. Select Save.
  8. Open the Transitions tab and choose where the flow goes next for If audio complete.
  9. Select Publish to make the change live.

 

Additional Information

  • Message voice and Language apply only in Say a Message mode; the voice list depends on the language you choose.
  • Audio files must be reachable over the public internet from Twilio for Play a Message to work.
  • Use the Gather Input on Call widget instead if you need to both play a prompt and capture the caller's response.

 

 

This content was generated by AI and reviewed, edited, and verified by a human.

Have more questions? Submit a request
Powered by Zendesk