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 record a voicemail in a Studio flow?

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

  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 Record Voicemail onto the canvas.
  5. Select the new widget to open its configuration panel.
  6. Set the recording limits:
    1. Max recording length: the longest recording to accept, in seconds.
    2. Stop recording after: how many seconds of silence should end the recording.
    3. Stop recording on keypress: the key the caller can press to finish early.
  7. Choose whether to play a tone before recording starts in Play beep, and whether to trim leading and trailing silence in Trim.
  8. To have the recording transcribed, select Transcribe Audio To Text and enter a Transcription callback URL for Twilio to post the transcript to.
  9. To be notified when the recording itself is ready, enter an address in Recording status callback.
  10. Select Save.
  11. Open the Transitions tab and choose where the flow goes next for If recording complete, If no audio, and If hangup.
  12. 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.

Have more questions? Submit a request
Powered by Zendesk