WhatsApp Text Flow
WhatsApp Voice Flow
Setup
1
Configure environment variables
2
Set up Meta webhook
In the Meta Developer Console:
- Callback URL:
https://your-host/webhooks/whatsapp - Verify Token: must match
WHATSAPP_WEBHOOK_VERIFY_TOKEN - Subscribe to:
messages+calls
3
Enable WhatsApp on phone number
Credentials
Get these from the Meta Developer Console:The app must be in live mode for public access. Development mode requires test numbers.