Send SMS
Use this node to send an SMS to one or more phone numbers via a configured SMS provider — for example, alerting on-call staff when a sensor threshold is exceeded, or sending a confirmation code to a user’s mobile.
Configuration
Section titled “Configuration”- Phone Numbers To Template — required. Comma-separated list of target phone numbers. Supports templatization.
- SMS Message Template — required. Content of the SMS. Supports templatization.
- Use System SMS Provider Settings — when enabled, uses the SMS provider configured at the system/tenant level. When disabled, configure the provider directly in this node.
Custom SMS provider options
Section titled “Custom SMS provider options”| Provider | Required fields |
|---|---|
| AWS SNS | accessKeyId, secretAccessKey, region |
| Twilio | numberFrom (sender, E.164), accountSid, accountToken |
| SMPP | Protocol-specific fields per SMPP spec |
Message processing algorithm
Section titled “Message processing algorithm”- Resolve phone numbers from the template using message data and metadata.
- Resolve the SMS message content from the template.
- Send the SMS asynchronously via the system or custom SMS provider.
- Route via
Successon delivery, orFailureon error. Message data and metadata are not modified.
Output connections
Section titled “Output connections”| Connection | Condition |
|---|---|
Success | SMS sent to all specified phone numbers. |
Failure | Invalid phone number, provider authentication failure, network error, or unexpected error. |
Examples
Section titled “Examples”Example 1 — Send temperature alert
Section titled “Example 1 — Send temperature alert”Data: { "temperature": 85.3 } | Metadata: { "deviceName": "Sensor 01", "userPhone": "+15551234567" }.
{ "numbersToTemplate": "${userPhone}", "smsMessageTemplate": "Device ${deviceName} has high temperature $[temperature]", "useSystemSmsSettings": true}Result: SMS "Device Sensor 01 has high temperature 85.3" sent to +15551234567. Routes via Success.
JSON schema
Section titled “JSON schema”{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "TbSendSmsNodeConfiguration", "type": "object", "required": ["numbersToTemplate", "smsMessageTemplate", "useSystemSmsSettings"], "additionalProperties": false, "properties": { "numbersToTemplate": { "type": "string" }, "smsMessageTemplate": { "type": "string" }, "useSystemSmsSettings": { "type": "boolean" }, "smsProviderConfiguration": { "description": "Required when useSystemSmsSettings is false." } }}