Prerequisites
- A Twilio account with WhatsApp API access
- A Twilio Account SID
- A Twilio Authentication Token
Create a Twilio WhatsApp channel
Use one of the following methods to define the channel: Using CLI:BASH
YAML
Python
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
orchestrate channels create \
--agent-name my_agent \
--env live \
--type twilio_whatsapp \
--name "WhatsApp Support" \
--field account_sid=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx \
--field twilio_authentication_token=your_auth_token_here
name: "WhatsApp Support"
description: "Customer support via WhatsApp"
channel: "twilio_whatsapp"
spec_version: "v1"
kind: "channel"
account_sid: "ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
twilio_authentication_token: "your_auth_token_here"
from ibm_watsonx_orchestrate.agent_builder.channels import TwilioWhatsappChannel
whatsapp = TwilioWhatsappChannel(
name="WhatsApp Support",
description="Customer support via WhatsApp",
account_sid="ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
twilio_authentication_token="your_auth_token_here"
)
| Field | Required | Format | Description |
|---|---|---|---|
account_sid | Yes | String | Your Twilio Account SID |
twilio_authentication_token | Yes | String | Your Twilio Authentication Token |
