TwilioSendSMS Step
Description:
Send SMS to any mobile device.
Inputs
- toNumber – Receiver phone number (With country code)
- message – Enter a message to send
Returns
- True – step executed successfully
- False – step failed to execute
Usage:
Configure the Twilio subscription information under the FlowWright configuration settings. For more info visit site : https://www.twilio.com/
Example:
Let’s build and execute the TwilioSendSMSDef example.
- Create a new definition called “TwilioSendSMSDef”
- Select the definition and click the “design” button
- Drag a “ TwilioSendSMS” step to the canvas
- Connect the dots between the start and “ TwilioSendSMS” step
- Click on the "TwilioSendSMS" step to configure its "Settings" properties. Provide a name to the step. Provide the receiver's phone number with the country code. Provide the text info to be transmitted as an SMS message.
- The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.
- Save the process definition, create a new process instance, and execute. Render the process instance. Click on the process step to view its properties. The step should send an SMS to the configured mobile number.