Studio uses Widgets to represent various parts of Twilio's functionality that can then be stitched together in your Studio Flow to build out robust applications that require no coding on your part.
New to Twilio Studio? Check out our Getting Started guide!
The Record Voicemail Widget allows you to record voicemail audio from a caller and, optionally, transcribe it.
While the Record Voicemail Widget doesn't require any configuration to work other than an entry transition, several optional configuration settings can help you customize the experience in your Studio Flow.
|Stop recording after __ seconds of silence||The number of seconds this Widget will wait when it detects silence from your caller before terminating the voicemail recording||Any integer, representing seconds||5|
|Stop recording on keypress||The phone key a user should press to stop recording their voicemail||0-9, #, *||なし|
|Max recording length||Maximum length of a recording (in seconds)||Any integer between 1 and 14,400, representing seconds||3600|
|Transcribe audio to text||Turn this on to transcribe the caller's recording||On / Off||Off|
|Transcription callback URL||Only available if transcription is enabled. The URL where Twilio should send the callback with transcription results||Any accessible URL||なし|
|Trim||Trim silence from the end of a recording||Trim silence / Do not trim||Trim silence|
|Play beep||Play a beep to the caller before recording||True / False||true|
|Recording status callback||The URL that should receive a callback with the recording, once complete||Any valid URL or liquid template variable||なし|
Studio does not automatically handle transcription processing, but you can specify the transcription callback URL and handle it yourself when the transcription is available. You may wish to use a Function to customize what happens once after a voicemail has been recorded.
These events trigger transitions from this Widget to another Widget in your Flow. For more information on working with Studio Transitions, see the Getting Started Guide.
|Recording complete||The caller has finished recording their voicemail|
|No audio (applies only to legacy Twilio accounts)||No voicemail is recorded due to silence from the caller|
|通話を終了する||The caller terminated the call by hanging up|
If you wish to play back a voicemail later in the Studio Flow where you recorded the voicemail, you can access the audio file from a Say/Play Widget using the
When the Record Voicemail Widget executes, it will have stored the following variables for use throughout your Studio Flow. When accessing these variables, make sure you replace
MY_WIDGET_NAME with the name of your Widget. For more information on working with variables in Studio, see the Getting Started Guide.
Find definitions and examples for these variables at the Call Recording page.
|名前||Liquid Template Language|
This Studio Flow takes an incoming phone call, prompts the caller to leave a voicemail, and then forwards the voicemail to a Twilio Function.
Looking to learn how to record voicemails in Studio in a real-world example?
- Follow this blog post to see how to forward voicemails to your email using Studio, Functions, and SendGrid.