Make a Call

Estimated reading: 3 minutes 21 views

This activity enables you to initiate an outbound voice call. It can be used to perform automated voice notifications, deliver pre-recorded or dynamic messages, and handle call status callbacks for further processing.

Properties

INPUT

To:* Specifies the recipient’s phone number to which the voice call will be made. The number must include the country code (e.g., +1XXXXXXXXXX).

From: * Specifies the Twilio-registered caller phone number from which the call will be initiated.

Say: Specifies the text that should be read out during the call. If this property is provided, Twilio will convert the text into voice.

Url: Specifies the complete URL of the TwiML instructions to be executed when the call is answered. Use this if you want to control the call flow using a TwiML document hosted externally (e.g., play audio, gather input, redirect, etc.).

CallbackURL: Specifies the URL endpoint to receive the call status callback once the call is completed.
It can be used for logging call outcomes or triggering follow-up actions in your system.

EnableAMD: Enables Answering Machine Detection (AMD). When set to True, Twilio will analyze the call to determine whether it was answered by a human or a voicemail system.

AsyncAMDstatuscallback: Specifies whether to enable Asynchronous AMD status callback.

MISC

SkipOnError: Specify the “Boolean” value as “True” or “False.”

True: Continue executing the workflow regardless of any errors thrown.
False: Halt the workflow if it encounters any errors.
None: If the option is left blank, the activity will, by default, behave as if “False” were chosen.

Version: Displays the version of the activity being used. This field is auto-populated and read-only.

DisplayName: Displays the name of the activity. The name can be customized for better readability and troubleshooting.

OUTPUT

Calls: Returns the JSON response from Twilio containing details of the initiated call such as SID, status, start time, duration, and price. (String Datatype)

AMDResult: Returns the Answering Machine Detection (AMD) JSON response if AMD is enabled. This output helps determine whether the call was answered by a person or voicemail. (String Datatype)

ResultIt provides the ability to view the execution status of the activity. It returns values in “Boolean.”
True: 
Indicates that the activity has been executed successfully without any errors.
False: 
Indicates that the activity has been unsuccessful due to an unexpected error being thrown.

* Represents mandatory fields to execute the workflow.

Share this Doc

Make a Call

Or copy link

CONTENTS