Skip to main content
Channel plugin · listing tai42/channel-twilio

Install

Permissions

Provides

twilio

Channel — Deliver ask_user questions to a phone over Twilio SMS/WhatsApp and bridge the reply back. Bridge a WhatsApp number carried by Twilio to an agent. Twilio sends and receives text only.

Enable it

manifest.yml

Configuration

The CHANNEL_TWILIO_ env group. CHANNEL_TWILIO_REDIS_URL (and the inherited connection-tuning fields) point the plugin-owned correlation store.

Point the webhooks at the deployment

Twilio calls two webhooks (configured in the Twilio console or REST — the plugin never mutates your Twilio account):
  • Inbound message (HTTP POST) → {public base URL}/api/channels/twilio/inbound
  • Delivery status callback (HTTP POST) → {public base URL}/api/channels/twilio/status
The status callback surfaces a late delivery failure: Twilio accepts the send, then posts a failed/undelivered status, which flips the answer record to failed. This is how the WhatsApp 24-hour service window is surfaced on the async path.

Create a bridge route

our_identity is the number the client texts — the Twilio WhatsApp sender, whatsapp:-prefixed:
A (channel, identity) pair may be claimed by only one route; more senders are more rows.

See also