Objective
This article shows you how to add and configure the Record Voicemail widget so your Studio flow captures a message from the caller, optionally transcribes it, and notifies your application when the recording is ready.
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 Record Voicemail onto the canvas.
- Select the new widget to open its configuration panel.
- Set the recording limits:
- Max recording length: the longest recording to accept, in seconds.
- Stop recording after: how many seconds of silence should end the recording.
- Stop recording on keypress: the key the caller can press to finish early.
- Choose whether to play a tone before recording starts in Play beep, and whether to trim leading and trailing silence in Trim.
- To have the recording transcribed, select Transcribe Audio To Text and enter a Transcription callback URL for Twilio to post the transcript to.
- To be notified when the recording itself is ready, enter an address in Recording status callback.
- Select Save.
- Open the Transitions tab and choose where the flow goes next for If recording complete, If no audio, and If hangup.
- Select Publish to make the change live.
Additional Information
- Wire up If no audio as well as If recording complete — a caller who says nothing will take that path instead.
- The transcription callback fields only appear once Transcribe Audio To Text is enabled.
- Play a prompt before this widget with Say/Play so the caller knows to start speaking.
This content was generated by AI and reviewed, edited, and verified by a human.