Skip to navigation

Voicemail Recording

View as MarkdownOpen in Claude

This node records a voicemail from the caller. It records only the caller’s audio. The Flow waits on this node while it records and moves to the next node once the recording ends: when the caller presses a terminator digit, stays silent for the End Silence Timeout, doesn’t start speaking within the Initial Timeout, or reaches the Maximum Recording Length.

Reference the recording URL in other nodes in the Flow using the variable %{record_url}. The variable %{record_result} is success when the recording ends in any of these ways, including when the caller never speaks before the Initial Timeout. It’s failed only when the recording can’t start. You can also access the recording URL from the call log details in your Relay Space.

Node Settings

Stereo
boolean

Save the recording as a two-channel file. The caller’s audio is on the left channel, and the right channel is silent because this node records only the caller.

Default Value: Toggled Off

Beep
boolean

Play a beep before recording starts.

Default Value: Toggled Off

Terminators
string

DTMF digits that stop the recording when the caller presses any one of them. Enter up to 12 digits with no separator, for example #*.

Default Value: # when left blank

Possible Values: Digits 0-9, *, #

Maximum Recording Length
integer

The maximum length of the recording in seconds. 0 sets no maximum length.

Default Value: No maximum when left blank

Possible Values: 0-3600 seconds

Initial Timeout
integer

The time in seconds to wait for the caller to start speaking. If the caller doesn’t speak within this time, the recording ends.

Default Value: 4 seconds when left blank

Possible Values: 1-99 seconds

End Silence Timeout
integer

The time in seconds of silence after the caller stops speaking that ends the recording.

Default Value: 5 seconds when left blank

Possible Values: 1-99 seconds

Format
string

The format of the recording.

Default Value: wav

Possible Values: wav, mp3

Examples

Simple voicemail with goodbye message

For a traditional voicemail experience, we recommend pairing the Voicemail Recording node with a Play Audio or TTS node and including a beep before recording. The caller presses #, the default terminator, to end the recording, and the Flow continues to the next node.

Play TTS and record voicemail.

Play TTS and record voicemail.

Record voicemail and send recording URL as a POST request

You can pair this node with a Request node to send the recording URL to the webhook of your choice. Any later Voicemail Recording node in the Flow overwrites the %{record_url} variable, so the Request node should immediately follow this Voicemail Recording node or use Set Variables to save this URL for a later request.

Record voicemail and send URL and call data as a POST request.

Record voicemail and send URL and call data as a POST request.

Record voicemail and send recording URL as SMS

You may want to be notified about a new voicemail with an SMS. You can follow the Voicemail Recording node with a Send SMS node and again access call data and the recording URL with variables such as %{call.from}, %{call.to}, and %{record_url}.

Record voicemail and send URL and call data as an SMS.

Record voicemail and send URL and call data as an SMS.