Features
- Bidirectional messaging — send messages to Chatwoot and receive agent responses via webhooks
- Contact management — automatically create or update Chatwoot contacts from WhatsApp interactions
- Conversation handling — create and manage conversations with proper threading
- AI agent compatible — works with n8n AI agents for automated responses
- Real-time webhooks — instant triggers for agent messages and status updates
Prerequisites
- n8n instance (version 0.195.0 or later)
- Active Chatwoot instance with API access
- WSAPI account with connected WhatsApp number
- Configured API channel in Chatwoot
Installation
- Community Nodes (Recommended)
- Manual Installation
Credentials setup
Get your Chatwoot API token
In Chatwoot, go to Settings → Applications → API Access Tokens and create a new token.
Available nodes
Chatwoot Insert Message (Action Node)
Send messages from external systems into Chatwoot conversations. Automatically creates contacts if they don’t exist and links messages to existing conversations.| Parameter | Description | Example |
|---|---|---|
| Account ID | Chatwoot account identifier | 1 |
| Inbox ID | Target inbox for the conversation | KYxk4lSH3l32hdlSSSS |
| Identifier | Unique contact identifier (phone number) | 1234567890 |
| Message | Text content to send | Hello, how can I help? |
| Contact Name | Display name for the contact | John Doe |
Chatwoot Callback Trigger (Webhook Node)
Receive real-time notifications when Chatwoot agents send messages, including message status updates and conversation state changes.Integration patterns
WhatsApp → Chatwoot (customer messages)
Chatwoot → WhatsApp (agent responses)
AI-powered customer service
Best practices
- Use webhook authentication tokens for all production deployments
- Implement error handling for failed API calls
- Set up proper agent routing rules in Chatwoot
- Test webhooks with ngrok for local development
- Monitor API rate limits (Chatwoot: 100 requests/minute per token)