Prerequisites
- WhatsApp Business account
- Facebook Business Manager account
- Verified business phone number
- WhatsApp Business API access
Setup Options
Option 1: WhatsApp Cloud API (Recommended)
Free tier provided by Meta for WhatsApp Business API.Set up WhatsApp Business API
- Go to Meta for Developers
- Create a new Business App
- Add WhatsApp product
- Verify your business phone number
Get API credentials
From WhatsApp settings, copy:
- Phone Number ID
- WhatsApp Business Account ID
- API Access Token
Enter credentials
- Select Cloud API
- Enter Phone Number ID
- Enter Access Token
- Configure webhook (Chatwoot provides webhook URL)
Option 2: 360Dialog Provider
Third-party WhatsApp Business Solution Provider (BSP).Sign up with 360Dialog
Create an account at 360Dialog
Features
- Two-way messaging - Send and receive WhatsApp messages
- Rich media - Images, videos, audio, documents, locations
- Message templates - Pre-approved templates for business messages
- Quick replies - Interactive buttons
- List messages - Menu-style selections
- Location sharing - Send and receive locations
- Contact cards - Share contact information
- Session management - 24-hour conversation windows
Message Templates
WhatsApp requires templates for initiating conversations:Creating Templates
- Create template in Meta Business Manager
- Get approval from WhatsApp (typically 24-48 hours)
- Use approved templates in Chatwoot
Template Structure
Sending Templates via API
Interactive Messages
Quick Reply Buttons
List Messages
Conversation Windows
WhatsApp has different conversation windows:24-Hour Window
- Free messaging after customer initiates or replies
- Send any type of message
- No template required
Beyond 24 Hours
- Requires approved message templates
- Charged per conversation
- Limited to template messages
Configuration Options
WhatsApp Business phone number (with country code)
Provider type:
whatsapp_cloud, 360dialog, or twilioAPI key from your WhatsApp provider
Phone Number ID (for Cloud API)
WhatsApp Business Account ID
Best Practices
Get template approval before going live
Respond within 24-hour window to avoid template requirement
Use templates with variables for personalization
Keep messages concise and clear
Use interactive buttons for common actions
Monitor message costs and limits
Set up auto-replies for after-hours
Troubleshooting
Cannot send messages
Cannot send messages
- Check if 24-hour window has passed (requires template)
- Verify phone number is verified
- Ensure message template is approved
- Check API access token is valid
- Verify webhook is configured correctly
Messages not arriving in Chatwoot
Messages not arriving in Chatwoot
- Verify webhook URL is correct
- Check webhook token matches
- Ensure firewall allows WhatsApp webhook IPs
- Check Chatwoot logs for webhook errors
- Test webhook with WhatsApp test tool
Template messages failing
Template messages failing
- Verify template is approved by WhatsApp
- Check template name and language match exactly
- Ensure all required parameters are provided
- Verify template hasn’t been rejected or paused
Media messages not sending
Media messages not sending
- Check file size limits (images: 5MB, videos: 16MB, documents: 100MB)
- Ensure file format is supported
- Verify media URL is publicly accessible
- Check if phone number has media sending capability
Rate Limits & Costs
Cloud API (Meta)
- Free Tier: 1,000 conversations per month
- Pricing: Varies by country and conversation type
- Rate Limits: 80 messages per second (tier 1), more for higher tiers
Business-Initiated Conversations
- Charged per 24-hour conversation window
- Rates vary by country
- Check Meta’s pricing page for current rates
User-Initiated Conversations
- Free if responded within 24 hours
- No charge for user-initiated messages

