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