WhatsApp Business Integration
Connect WhatsApp Business to your AI agent for automated customer conversations
WhatsApp Business Integration#
Connect your WhatsApp Business account to AlonChat and let your AI agent handle customer conversations on WhatsApp -- the world's most popular messaging app.
Setting Up#
Step 1: Connect WhatsApp#
- Go to your agent dashboard
- Navigate to Deploy > WhatsApp
- Click Connect WhatsApp
- Complete the OAuth authorization with your WhatsApp Business account
Step 2: Configure Business Profile#
Set up your WhatsApp Business Profile directly from AlonChat:
| Field | Description | Limit |
|---|---|---|
| About | Short description shown in profile | 139 characters |
| Description | Detailed business description | 512 characters |
| Address | Business address | Optional |
| Contact email | Optional | |
| Websites | Up to 2 website URLs | Optional |
| Category | Business type (Automotive, Beauty, Restaurant, etc.) | Required |
Step 3: Configure Chat Settings#
- Ice Breakers: Up to 4 conversation starters (WhatsApp limit is lower than Messenger/Instagram's 13)
- Quick Replies: Up to 3 interactive buttons (WhatsApp limit is lower than other platforms)
- Custom AI Prompt: Override or append to your agent's default prompt for WhatsApp
- Response Style: Presets or custom configuration
- Learned Style: Use communication patterns from training
Step 4: Test#
- Send a message to your WhatsApp Business number
- Verify the agent responds
- Check the conversation appears in your AlonChat dashboard
How It Works#
Message Flow#
Customer sends message to your WhatsApp Business number
|
WhatsApp Cloud API sends message to AlonChat via webhook
|
AlonChat agent processes message (RAG retrieval)
|
Agent generates response using AI model
|
AlonChat sends response via WhatsApp Cloud API
|
Customer receives response in WhatsApp
Average response time: 2-5 seconds
24-Hour Messaging Window#
WhatsApp enforces a 24-hour messaging window after the last customer message. This means:
- Your agent can reply freely within 24 hours of the customer's last message
- After 24 hours, you would need to use a pre-approved template message to re-initiate the conversation
- The window resets each time the customer sends a new message
This is a WhatsApp platform rule, not an AlonChat limitation. Facebook Messenger and Instagram have similar policies.
Features#
| Feature | Status |
|---|---|
| Auto-reply | Supported |
| Human handoff | Supported |
| Conversation history | Tracked |
| Lead capture | Supported |
| Business Profile management | Supported |
| Multi-account support | Supported |
| Image analysis | Supported (with credits) |
| Quick replies | Supported (max 3) |
| Ice breakers | Supported (max 4) |
WhatsApp vs Other Channels#
| Feature | Messenger | ||
|---|---|---|---|
| Ice Breakers | Max 4 | Max 13 | Max 13 |
| Quick Replies | Max 3 | Max 13 | Max 13 |
| Business Profile | Editable from AlonChat | N/A | N/A |
| Messaging Window | 24-hour window | 24-hour window | 24-hour window |
| Comment Replies | N/A | Supported | Supported |
Managing Accounts#
Multi-Account Support#
- Connect multiple WhatsApp Business accounts
- Click "Add More" for additional accounts
- Each account has independent auto-reply toggle
Account Health#
- Health status indicators (healthy/degraded/unhealthy)
- Auto-refresh tokens when needed
- Avatar sync from WhatsApp profile
Best Practices#
1. Complete Your Business Profile#
Customers trust verified business profiles. Fill in all profile fields -- about, description, address, email, websites, and category. A complete profile increases response rates.
2. Keep Replies Concise#
WhatsApp users expect short, conversational responses. Aim for 2-3 sentences per message. Break long answers into multiple messages rather than sending a wall of text.
3. Respect the 24-Hour Window#
Plan your conversations to resolve customer needs within the messaging window. If you need to follow up later, do so within 24 hours of the customer's last message.
4. Use Quick Replies Wisely#
With only 3 slots, choose the most common responses or actions. Good examples:
- "View our menu"
- "Book an appointment"
- "Talk to a human"
5. Monitor Conversations#
Check your AlonChat dashboard regularly for:
- Conversations that need human intervention
- Unanswered questions (gaps in your sources)
- Customer satisfaction patterns
6. Set Up Human Handoff#
Configure handoff triggers for sensitive topics:
- Complaints or disputes
- Complex orders
- Account issues
- Billing questions
Troubleshooting#
Agent Not Responding#
Check these in order:
-
Connection status:
- Go to Deploy > WhatsApp
- Ensure WhatsApp shows "Connected" with a healthy status
- If degraded or unhealthy, try reconnecting
-
Auto-reply is enabled:
- Check the auto-reply toggle for the specific account
- Ensure it's turned on
-
Agent is trained:
- Go to Sources
- Ensure the agent has been trained recently
-
WhatsApp Business account is active:
- Verify your WhatsApp Business account has not been suspended or restricted
- Check the Meta Business Suite for any notices
Delayed Responses#
Possible causes:
-
AI model speed:
- Switch to a faster model in Settings > AI
- Budget models respond in 1-2 seconds
-
Large source library:
- Optimize by removing duplicate or outdated content
-
WhatsApp API latency:
- Occasional delays on WhatsApp's side are normal
- If persistent, check Meta's platform status page
Messages Not Delivering#
Possible causes:
-
24-hour window expired:
- Customer hasn't messaged in over 24 hours
- Wait for the customer to send a new message
-
Phone number issues:
- Verify the WhatsApp Business number is active
- Check that the number is not registered with a different WhatsApp account
-
Rate limits:
- WhatsApp may throttle messages during high volume
- Spread out broadcasts if applicable
Token or Connection Errors#
- Go to Deploy > WhatsApp
- Check the health indicator
- If unhealthy, disconnect and reconnect
- Re-authorize with your WhatsApp Business account
Privacy and Security#
Data Handling#
- All messages are encrypted at rest and in transit
- Customer data is stored securely
- AlonChat does not access conversations from other WhatsApp numbers
- You can delete conversation data at any time
End-to-End Encryption#
WhatsApp messages between the customer and WhatsApp are end-to-end encrypted. Messages processed by AlonChat via the Cloud API are encrypted in transit and at rest in AlonChat's infrastructure.
Compliance#
- GDPR-compliant data handling
- Data deletion on request
- No data sold to third parties
Next Steps#
- Facebook Messenger Integration -- Connect Facebook
- Instagram Integration -- Connect Instagram
- Telegram Integration -- Connect Telegram
- Actions Overview -- Enable booking and more