Send Message
Uses the Twilio API to send an SMS/MMS message.
How it works
The following steps is an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.
- Complete the Setup steps.
- Add the Twilio Scope activity to your project.
- Add the Send Message activity inside the Twilio Scope activity.
- Enter values for the From, To, and Body input properties.
- Run the activity.
Properties
Common
- ContinueOnError - Specifies if the automation should continue even when the activity throws an error. This field only supports
Booleanvalues (True, False). The default value is False. As a result, if the field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error. - DisplayName
String- The display name of the activity. Enter aStringorStringvariable.
Message
- Body
String- The text of the message you want to send. Can be up to 1,600 characters in length. Required if Media is not specified. Enter aStringorStringvariable. - Media - A list of media (up to 10) to send with the message. Required if Body is not specified. Enter a
String[]variable.noteThe media size limit is 5MB for supported file types (JPEG, PNG, GIF) and 500KB for other types of accepted media.
noteTwilio doesn't allow you to specify both Body and Media for a single message. If both are specified, Media is ignored.
Misc
- Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
Output
- Message
Twilio.Message- The message to be sent. Recommended if you plan to use the output data in subsequent activities. Enter aTwilio.Messagevariable.
Receiver
- To
String- The destination phone number to call, in E.164 format, e.g. +15558675310. Enter aStringorStringvariable.
Sender
- From
String- The Twilio phone number in E.164 format. Enter aStringorStringvariable.