- Managing Your Chatbot
Integrations
Connect AI Chatbot to WhatsApp Business
Enable your AI chatbot to respond to WhatsApp messages using the WhatsApp Business API.
AI Chatbot integrates with WhatsApp Business to let your AI chatbot respond to customer messages on WhatsApp. This guide walks you through setting up the WhatsApp Business API and connecting it to your AI Chatbot chatbot.
WhatsApp integration is available on Pro Plus and Business plans.
Prerequisites
Before you begin, you’ll need:
- A Meta Business account (free to create)
- A phone number that can receive SMS or voice calls for verification
- A AI Chatbot Pro Plus or Business plan
The phone number you use for WhatsApp Business cannot be the same as an existing personal WhatsApp account. You’ll need a dedicated business number or a new number.
Set Up Meta Developer App
1
Go to developers.facebook.com and log in with your Facebook account. If you don’t have a developer account, you’ll be prompted to create one.
2
3
4
5
6
Get Your API Credentials
Meta provides the phone number ID, a permanent access token, and the app secret. Collect all three before you connect WhatsApp in AI Chatbot.
1
In WhatsApp > API Setup, find your verified phone number. The Phone Number ID is displayed below the number (a long numeric string like 123456789012345).
2
By default, Meta provides a temporary access token that expires in 24 hours. For production use, you need a permanent token:
- Go to Business Settings at business.facebook.com/ settings
- Navigate to Users > System Users
- Click Add to create a new system user (if you don’t have one)
- Give it a name like “WhatsApp API” and select Admin role
- Click Add Assets, select your WhatsApp app, and enable Full control
- Click Generate new token, select your app, and check whatsapp_business_messaging and whatsapp_business_management
- Copy the generated token – this is your permanent access token
3
Go back to your app in the Meta Developer Dashboard. Navigate to App settings > Basic. Click Show next to the App Secret field and copy it.
Connect to AI Chatbot
1
In your AI Chatbot dashboard, select your chatbot and go to Deploy & Install.
2
Select WhatsApp
Click on the WhatsApp tab.
3
Fill in the three fields:
- Phone Number ID – The numeric ID from Meta’s API Setup page
- Access Token – Your permanent access token from the system user
- App Secret – Your app secret from App Settings > Basic
4
Click the Connect button. AI Chatbot will generate a Webhook URL and Verify Token for you.
Configure the Webhook in Meta
After connecting in AI Chatbot, you need to configure the webhook in your Meta Developer App:
1
In your Meta Developer App, navigate to WhatsApp > Configuration.
2
- Callback URL: Paste the Webhook URL from AI Chatbot
- Verify token: Paste the Verify Token from AI Chatbot
Click Verify and save.
3
Navigate back to WhatsApp > Configuration. Under Webhook fields, find the messages field and click Subscribe.
Test Your Integration
Send a message to your WhatsApp number and confirm that the chatbot replies in the same thread.
During development, you can only send messages to phone numbers that have been added as test numbers in your Meta app. To message any WhatsApp user, you’ll need to complete Meta’s business verification process.
Troubleshooting
Messages not being received
- Verify that the webhook URL is correctly configured in Meta
- Check that you’ve subscribed to the messages webhook field
- Ensure your access token hasn’t expired (use a permanent system user token)
Messages not being sent
- Check that your access token has the whatsapp_business_messaging permission
- Verify the phone number ID is correct
- Check the AI Chatbot conversation logs for any error messages
Webhook verification failing
- Make sure the Verify Token in Meta matches exactly what AI Chatbot generated
- Ensure there are no extra spaces before or after the values
- Try disconnecting and reconnecting in AI Chatbot to generate new credentials
Going Live
To send messages to any WhatsApp user (not just test numbers), you’ll need to:
- Complete Business Verification – Verify your business in Meta Business Settings
- Request Production Access – In your app’s WhatsApp settings, request to go live
- Add a Payment Method – WhatsApp Business API charges per conversation (first 1,000 conversations per month are free)
For detailed information, see Meta’s WhatsApp Business documentation.
Ready to automate your customer service with AI?
Join over 1000+ businesses, websites and startups automating their customer service and other tasks with a custom trained AI agent.