Action References
SendSmsAction
SendSmsAction
Purpose
Send an SMS via a configured provider with dynamic recipient and body.
When to use it
- OTP/verification codes, short alerts, shipment updates.
- Lightweight notifications that don’t warrant email or push.
Key fields
| Field | Type | Description |
|---|---|---|
provider | String | SMS provider id (twilio, vonage, etc.). |
subject | MScript | Optional subject/tag if provider supports it. |
body | MScript | SMS text content. |
to | MScript | Recipient phone number (E.164). |
from | MScript | Sender id/shortcode (optional). |
Example
{
"id": "a360-send-sms",
"name": "sendOtpSms",
"provider": "twilio",
"subject": "`OTP`",
"body": "`Your verification code is ${this.otpCode}`",
"to": "this.user.mobile",
"from": "`ACME`"
}
Was this page helpful?
Built with Documentation.AI
Last updated Jan 3, 2026