WhatsApp Integration
Connect your agent to WhatsApp Business for customer communication.
Overview
WhatsApp integration provides:
- Business messaging capabilities
- Rich media support
- Automated responses
- Global reach
Prerequisites
- Meta Business account
- WhatsApp Business API access
- Verified business phone number
Setup Steps
1. Set Up Meta Business
- Create or access your Meta Business Suite (opens in a new tab)
- Go to WhatsApp → Getting Started
- Add a phone number for WhatsApp Business
2. Create Meta App
- Go to Meta for Developers (opens in a new tab)
- Create a new app (Business type)
- Add WhatsApp product to your app
- Complete business verification if required
3. Connect to Cuneiform Chat
- Go to Agents → Select your agent
- Navigate to Integrations tab
- Click WhatsApp
- Enter your credentials:
- Phone Number ID
- Access Token
- Click Connect
4. Configure Webhook
- Copy the webhook URL from Cuneiform Chat
- In Meta Developer Portal:
- Go to WhatsApp → Configuration
- Add the webhook URL
- Subscribe to
messageswebhook field
Using the Bot
Customer Messages
When customers message your WhatsApp number:
- Message arrives via WhatsApp
- Cuneiform Chat processes the request
- Agent generates response from knowledge base
- Response sent back to customer
Conversation Flow
Customer → WhatsApp → Cuneiform Chat → Agent → Response → CustomerFeatures
24-Hour Messaging Window
WhatsApp Business API rules:
- You can respond to customer-initiated messages for 24 hours
- After 24 hours, you need message templates for outreach
- Each new customer message reopens the window
Your agent responds within the 24-hour window automatically. Template messages for re-engagement are not currently supported.
Rich Media
Responses can include:
- Text messages
- Links
- Formatted text
Multi-Language
Your agent can respond in the customer's language based on your knowledge base content and system prompt configuration.
Configuration Options
| Setting | Description |
|---|---|
| Greeting message | First response to new conversations |
Business Verification
Meta requires business verification for full WhatsApp API access:
- Complete Meta Business Verification
- Verify your business phone number
- Submit for API approval
See Meta's documentation (opens in a new tab) for details.
Troubleshooting
Messages Not Arriving
- Verify webhook is configured correctly
- Check webhook subscription includes
messages - Confirm access token is valid
- Test with Meta's built-in testing tools
Response Failures
- Check your agent works in Playground
- Verify 24-hour window is active
- Confirm phone number ID is correct
Verification Issues
- Complete all required Meta Business verification steps
- Ensure your business information matches official documents
- Allow time for Meta's review process
Security
- Access tokens are encrypted
- Messages processed over secure connections
- Customer data handled per your retention settings
Compliance
WhatsApp Business has usage policies:
- Respond only to customer-initiated conversations
- Provide opt-out options
- Follow Meta's Commerce and Business policies
Disconnecting
To remove the WhatsApp integration:
- Go to Agents → Select agent → Integrations
- Click WhatsApp → Disconnect
This stops the agent from responding. To fully remove:
- Delete the webhook in Meta Developer Portal
- Optionally remove the WhatsApp product from your Meta app