live-whatsapp
WhatsApp Cloud API channel for togo live agents — inbound + outbound. A live.Channel driver for togo-framework/live.
Extends live
togo install togo-framework/live-whatsappStars0
LanguageGo
LicenseMIT
Last push2026-07-09
- ai-agents
- chatbot
- golang
- live-agents
- messaging
- plugin
- togo
- togo-framework
Readme
togo-framework/live-whatsapp
WhatsApp channel driver for the togo live plugin.
Install
bash
Blank-import the package to activate it; the live
plugin picks up the registered whatsapp channel automatically.
go
What it does
- Egress — delivers an agent's reply out to a WhatsApp thread via the
WhatsApp Cloud (Graph) API. The recipient is the conversation's
external_ref(the customer'swa_id/ msisdn). - Ingress — mounts a Meta webhook that verifies the subscription handshake and ingests inbound text messages as user prompts on the matching conversation.
Configuration
| Env | Required | Default | Description |
|---|---|---|---|
WHATSAPP_TOKEN | yes | — | Graph API bearer token |
WHATSAPP_PHONE_ID | yes | — | Sender phone number id |
WHATSAPP_API | no | https://graph.facebook.com/v21.0 | Graph API base URL |
WHATSAPP_VERIFY_TOKEN | yes (ingress) | — | Webhook verification handshake secret |
If WHATSAPP_TOKEN / WHATSAPP_PHONE_ID are empty, delivery is a no-op.
Webhook URLs
Point your Meta app's WhatsApp webhook at:
| Method | Path | Purpose |
|---|---|---|
GET | /api/live/channels/whatsapp/webhook | Meta verification handshake |
POST | /api/live/channels/whatsapp/webhook | Inbound message delivery |
Premium sponsors
text
Support togo — become a sponsor.