Send SMS Action

Send SMS via MSG91 from Thingsup IoT Platform. Create and send customized bulk SMS with MQTT Rules or HTTP APIs to global phone numbers for IoT Solutions.

This provides a way to send SMS. User need to provide following parameters to add Send SMS Action.

Function

  • User can write JavaScript code to create params for this Action. Here the "payload" object and "params" object are available in this code.

  • "params" object should hold key-value data pairs of any below mentioned params in their respective data types. "payload" object is supplied from Action Trigger like Rules, Action Command etc.

  • Any params passed through Function will override parameters passed through form.

params["Numbers"] = "91992168XXXX,918945XXXXXX"
params["Message"] = "Your Order "+ payload.orderid + " is delivered"

Numbers

User can provide list of Comma separated Phone Numbers with Country Code as given in above example.

Message

User can write static SMS content as a string here. This is limited to 160 Chars as standard.

Add Send SMS Action

Please note the following points:

  • "payload" object is supplied from Action Trigger like Rules, Action Command etc.

  • Data Response of Send SMS will be available as Action Response.