dispatch_sms_campaign
Send outbound SMS campaigns to a target audience using Twilio. Supports personalized message templates, auto-manages STOP/HELP replies, and enforces TCPA 8am-9pm window.
Instructions
Send outbound SMS to the granted audience via Twilio. Body template supports {{first_name}}-style row substitution. STOP/HELP keywords are auto-handled at inbound. TCPA 8am-9pm window enforced. Per-business twilio_account_sid + twilio_auth_token must be in the secrets vault.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offer_id | Yes | Offer the agent has accepted. | |
| audience_upload_id | Yes | Audience id; rows must include a phone column. | |
| from_phone_number | Yes | E.164 of the Twilio-provisioned sending number. | |
| body_template | Yes | Message body, supports {{column_name}} placeholders. Twilio appends STOP=END text automatically for A2P US numbers. | |
| help_reply | No | Optional override for the carrier-mandated HELP reply. |