Send SMS workflow activity
The send SMS workflow activity to send short text messages using Notify to users' phones. This workflow activity can be added to any table.
Notify requirements
To send SMS messages, you must add and configure a provider in Notify. For more information about configuring a provider, see Configure a provider in Notify.
Input variables
Input variables determine the initial behavior of the activity.
| Variable | Description |
|---|---|
| From | Select the Notify phone number to use to send the SMS message. |
| Advanced | Select this check box to use JavaScript to determine which numbers to send the message to, and the Notify number to use to send the message. |
| To | Select any number of users to send the message to. The user record must have a E.164-compliant phone number or notification device configured for SMS messages. |
| To (groups) | Select any number of groups to send the message to. All members of that group with an E.164-compliant phone number or SMS notification device receive the message. |
| Message | Enter the message to send. You can add field values from the current record by
using the Select variables box. You can also add values from
the workflow scratchpad. If a field and a scratchpad variable have the same name,
the field value is used. Because you can use variables in this message, it is not possible to determine the length of the message at design time. If the activity sends a message that is longer than supported by the telephony provider, the message is truncated and the instance logs a warning. |
| To (script) | Enter a script to determine which numbers to send the message to, and the
Notify number to use to send the message. The script should return a JavaScript
object with the format This field appears only if Advanced is selected. |
Conditions
The conditions determine which transition comes after this activity. This activity does not specify any conditions by default.
You can add an error condition to this activity. The activity transitions through the error condition if the Notify number used to make the call is not configured correctly or unable to send SMS messages, or if an error occurs while sending the SMS.