Send SMS

Use this step to send text message to any mobile device using Twilio service.

Last published at: July 7th, 2023

TwilioSendSMS Step

Description:

Send SMS to any mobile device.

Inputs

  • toNumber – Receiver phone number (With country code)
  • message – Enter 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 phone number with country code. Provide the text info to be transmitted as SMS message. 
  • The “Logging” setting configuration is necessary for documentation and also measure the workflow progress and the percent complete. This is acheived 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. The step should send SMS to the configured mobile number.