Twilio send message

This activity sends an SMS message from a Twilio account to a specified number. To use this activity, a connection must be configured to Twilio.

Table 1. Twilio send message action - Inputs
Parameters Description

Connection

Drop-down list of Twilio connections.

From

Twilio user to send the message from.

To

Number to which the message is sent.

Body

Message to be sent.

AccountSid

Twilio security identifier for the account.

MediaUrl

Optional URL of media attachment for the message.

ContentSid

Select the identifier for a Content Template defined in Twilio. If this input value is set, the content template will be sent as the message.

isWhatsAppNumber

Set this value to True if the message is being sent to a WhatsApp number.

WaitForResponse

Set this value to True to wait for a response to the message. The activity will wait until the ResponseTimeout value is reached.

ResponseTimeout

If WaitForResponse is set to True, enter the number of seconds to wait for a response to the message before returning.

Table 2. Twilio send message action - Outputs
Parameters Description

ReponseBody

Returns the JSON-formatted response from the activity.

StatusCode

HTTP response code for the request.

Success

Indicates whether the activity was completed successfully (value = True) or not (value = False).

ResponseMessage

If WaitForResponse is set to True and a response is received, returns the response message.