Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Record Voicemail Widget


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.

(information)

Info

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.

A rectangular widget titled 'record_voicemail'. Attached transition anchors read 'recording complete,' 'no audio,' and 'hangup.'.variable widgets.MY_WIDGET_NAME.RecordingUrl.

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.

NameLiquid Template Language
Account SID{{widgets.MY_WIDGET_NAME.AccountSid}}
API Version{{widgets.MY_WIDGET_NAME.ApiVersion}}
Call SID{{widgets.MY_WIDGET_NAME.CallSid}}
Call Status{{widgets.MY_WIDGET_NAME.CallStatus}}
Channels{{widgets.MY_WIDGET_NAME.Channels}}
Date Created{{widgets.MY_WIDGET_NAME.DateCreated}}
Date Updated{{widgets.MY_WIDGET_NAME.DateUpdated}}
Price{{widgets.MY_WIDGET_NAME.Price}}
Price Unit{{widgets.MY_WIDGET_NAME.PriceUnit}}
Recording URL{{widgets.MY_WIDGET_NAME.RecordingUrl}}
Recording Duration{{widgets.MY_WIDGET_NAME.RecordingDuration}}
SID{{widgets.MY_WIDGET_NAME.Sid}}
Source{{widgets.MY_WIDGET_NAME.Source}}
URI{{widgets.MY_WIDGET_NAME.Uri}}

Example: forward voicemail recordings

example-forward-voicemail-recordings page anchor

This Studio Flow takes an incoming phone call, prompts the caller to leave a voicemail, and then forwards the voicemail to a Twilio Function.

A Studio Flow that takes an incoming call, reads a greeting, records a voicemail, and sends the recording to a Function.Rate this page:

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.