Send SMS

msg91.send_sms
ActionVoice & SMSconnection required

Calls the MSG91 API with the connection's credentials.

Send a template SMS to one or many numbers, filling the template's variables per recipient.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
MSG91
Secret shape
the MSG91 authkey, or {"authkey": "…"}
Config it needs
base_url, sms_template_id, otp_template_id
Resolved by
config.connection_id, else node.connection_id

Configuration

7 fields, none required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
template_id
MSG91 template to use; overrides the default template set on the connection.
stringNo——65f1b2c3d4e5f60718293a4b
mobiles
One recipient number, or several separated by commas, in international format with the country code.
stringNo——919000000000
variables
Template variables applied to every recipient; keys are case-sensitive and match the ##var## names in the template.
objectNo——{"VAR1":"Acme","VAR2":"1234"}
recipients
Full recipient rows when each number needs its own variables; each entry needs a 'mobiles' key. Overrides the fields above.
arrayNo—array of object[{"VAR1":"Acme","mobiles":"919000000000"}]
short_url
Rewrite links in the message as MSG91 short URLs so clicks are tracked.
booleanNo———
short_url_expiry
How long a tracked short URL stays valid, in seconds.
numberNo—≥ 1—
real_time_response
Ask MSG91 to answer with the uncached submission result so most API errors surface on this call instead of later.
booleanNo———
  • At least one of mobiles, recipients must be set.

Example configuration

Every value below is the contract’s own example or default — nothing invented.

{
  "mobiles": "919000000000",
  "recipients": [
    {
      "VAR1": "Acme",
      "mobiles": "919000000000"
    }
  ],
  "template_id": "65f1b2c3d4e5f60718293a4b",
  "variables": {
    "VAR1": "Acme",
    "VAR2": "1234"
  }
}

Output

One shape.

result

FieldTypeExample
request_id
MSG91's id for this submission.
string—
type
MSG91's own result word, 'success' on a send.
string—
recipients
How many recipient rows were submitted.
number—
template_id
The template the message was sent from.
string—
{
  "recipients": 0,
  "request_id": "",
  "template_id": "",
  "type": ""
}

See Send SMS run in a workflow.

In a technical demo we add the MSG91 connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.