How to Connect WhatsApp
Connect your chatbot to WhatsApp Business so customers can message you on WhatsApp and get automatic AI answers.
Before you begin
Connecting WhatsApp lets your chatbot answer messages sent to your WhatsApp Business number automatically, around the clock, with handoff to a human agent when you need it. The connection runs through Meta's WhatsApp Business API.
What you need
A Meta Business account with WhatsApp Business API access, and a business phone number for WhatsApp. The Meta side has several steps, set aside about 30 minutes.
Start in ChatFlow
- Go to Chatbots in the sidebar and open your chatbot.
- Click the Integrations tab.
- Find WhatsApp and select Connect WhatsApp.
The connection modal shows the ChatFlow Callback URL and Verification Token you will need for Meta, and the fields where you will paste your WhatsApp credentials.
Set up WhatsApp in Meta
Create a Meta app and add WhatsApp
At developers.facebook.com, create a Business app, then add the WhatsApp product and choose your Meta Business account.
Generate a permanent access token
In Meta Business Settings, create an Admin system user, add your app as an asset, and generate a token with the whatsapp_business_messaging and whatsapp_business_management permissions. Set its expiration to Never.
Configure the webhook
In the WhatsApp Configuration, edit the webhook, paste the Callback URL and Verification Token from ChatFlow, verify and save, then subscribe to the messages field.
Finish in ChatFlow
Back in the ChatFlow modal, enter your Facebook App Secret, WhatsApp Access Token, Phone Number, Phone Number ID, and WhatsApp Business Account ID (all from your WhatsApp API setup), then select Save.
Full walkthrough with screenshots
For the complete Meta setup with screenshots for every screen, follow the WhatsApp integration guide.
Verify it's working
- From a different phone, send a message to your connected WhatsApp Business number.
- Confirm the chatbot replies automatically.
- Open Conversations in ChatFlow and confirm the WhatsApp conversation appears.
Troubleshooting
Messages are not coming through
Confirm the integration shows as connected, that you subscribed to the messages webhook field, and that your chatbot has training content to answer from.
Webhook verification failed
The Callback URL and Verification Token must match ChatFlow exactly (the token is case-sensitive), and your Meta app must be live. Re-copy both from ChatFlow and try again.
Token errors
Generate a fresh permanent token with the two WhatsApp permissions, set it to never expire, and update it in the ChatFlow integration.
