WhatsApp channel β let customers chat on WhatsApp
Connect a WhatsApp number so customers can message your chatbot from their phone.
Updated 2 Mar 2026
How it works
When a customer sends a WhatsApp message to your number, Pivra's AI replies using your chatbot's knowledge base β exactly like the web widget, but on WhatsApp. Lead capture, pricing queries, booking links β all work the same way.
Supported providers:
- Meta (WhatsApp Business API) β for high volume (via Meta Business Suite)
- Twilio β simpler setup, pay-as-you-go (~$0.005β$0.008/message), ideal for small businesses
WhatsApp channel is available on Business plan and above.
Connecting WhatsApp (self-serve)
Go to Dashboard β WhatsApp β Connect WhatsApp and choose your provider.
Option A β Twilio (recommended for small businesses)
Twilio is easier to set up than Meta and doesn't require business verification for testing.
Step 1: Get a Twilio WhatsApp number
- Create a Twilio account
- Go to Messaging β Senders β WhatsApp Senders
- For testing, use the Twilio Sandbox (no approval needed β free)
- For production, register a WhatsApp-enabled number (requires Meta business verification via Twilio's flow)
Step 2: Connect in Pivra
- Dashboard β WhatsApp β + Connect WhatsApp
- Select Twilio tab
- Enter:
- Account SID β from Twilio Console β Account Info
- Auth Token β same location
- Twilio Phone Number β in E.164 format, e.g.
+61480020798
- Click Connect WhatsApp
- A success panel appears with your webhook URL and verify token β copy the webhook URL
Step 3: Paste the webhook URL into Twilio
- In Twilio Console β Messaging β Settings β WhatsApp Sandbox (or your sender)
- Set "When a message comes in" to the webhook URL shown in Pivra:
https://api.pivra.ai/api/whatsapp/webhook/twilio - Method: POST
- Save
Testing with the Twilio Sandbox
- From your phone, send the Twilio sandbox opt-in message (format:
join <keyword>β shown in your Twilio sandbox settings) - Then send any question to the sandbox number β your chatbot replies
- Check Dashboard β Conversations to see the WhatsApp thread
Option B β Meta (WhatsApp Business API)
For businesses that need high volume or already have a Meta Business account.
Prerequisites
- A verified Meta Business Suite account
- A phone number not already registered on WhatsApp
Step 1: Create a WhatsApp Business app
- Go to Meta for Developers β Create App β Business
- Add the WhatsApp product
- Set up a phone number in the WhatsApp settings panel
- Get your Phone Number ID and create a permanent System User Access Token in Meta Business Manager
Step 2: Connect in Pivra
- Dashboard β WhatsApp β + Connect WhatsApp
- Select Meta tab
- Enter:
- Phone Number ID β from Meta Developer Portal β App β WhatsApp β API Setup
- WhatsApp Business Account ID (optional)
- System User Access Token
- Click Connect WhatsApp
- Copy the webhook URL from the success panel
Step 3: Configure the webhook in Meta
In Meta Developer Portal β App β WhatsApp β Configuration:
- Callback URL: the webhook URL shown in Pivra (
https://api.pivra.ai/api/whatsapp/webhook/meta) - Verify token: the verify token shown in Pivra after connecting
- Subscribe to:
messages
Managing your channels
After connecting, each channel appears in the WhatsApp dashboard with:
- Provider badge (Meta or Twilio)
- Message stats (received / sent)
- Webhook URL with a copy button β useful if you need to reconfigure the webhook
- Enable/Disable toggle
- Remove button
Troubleshooting
| Issue | Fix |
|---|---|
| Bot doesn't reply | Confirm the webhook URL in Twilio/Meta matches exactly what Pivra shows |
| "Signature verification failed" | Check TWILIO_AUTH_TOKEN or WHATSAPP_APP_SECRET env var matches your provider credentials |
| Bot replies with wrong chatbot's answers | Verify the phone number in your channel config matches your sender exactly |
| Sandbox messages not received | For Twilio sandbox, make sure you've joined first (join <keyword>) |
| WhatsApp channel not visible | This feature requires the Business plan β check your billing page |
Was this helpful?
If you have questions or suggestions, email us at support@pivra.ai .