What’s Included
Chatlevel Nodes - Manage devices and send WhatsApp messagesChatlevel Trigger Node - Listen for WhatsApp events via webhooks with dedicated output branches
Installation
- Navigate to Settings → Community Nodes in your n8n instance
- Click Install and enter the npm package name:
n8n-nodes-Chatlevel - Click Install and wait for completion
Note: Make sure your n8n instance has internet access to download the package from npm.
Configuration
Getting Your API Key from Chatlevel
- Log in to your Chatlevel account
- Go to Integrations → Add Integration → n8n
- Copy the generated API key
Setting Up Credentials in n8n
- In n8n, go to Credentials → New and search for “Chatlevel API”
- Enter your API key from Chatlevel
- (Optional) Set Base URL - Defaults to
https://api.Chatlevel.io/v1 - Click Save
Chatlevel Node
The Chatlevel node allows you to perform operations on devices and send messages.Device Operations
Create Device - Create a new WhatsApp device instance. Optionally provide a name, webhook URL, webhook events, or phone number for pairing code authentication. Get Device - Retrieve a single device by ID. Get Many Devices - Retrieve all your devices. Update Device - Update a device’s name, webhook URL, webhook events, or subscription status (active/inactive). Delete Device - Permanently delete a device. Disconnect Device - Disconnect a device from WhatsApp without deleting it. Restart Device - Restart a device’s WhatsApp connection. Optionally provide a phone number for pairing code.Message Operations
Send Text - Send a text message to a WhatsApp number. Requires device ID, recipient number (digits only with country code), and message text. Send Media - Send an image (PNG, JPEG, GIF, WebP only, max 10MB) to a WhatsApp number. Choose between URL or Base64 source. Optionally add a caption.
Note: Phone numbers must be formatted as digits only with country code (e.g., 31612345678)
Chatlevel Trigger Node
The Chatlevel Trigger node listens for events from Chatlevel via webhooks. Each event type outputs to its own dedicated branch.Event Branches
The trigger node provides 10 output branches, one for each event type:| Branch Output | Event Name | Description |
|---|---|---|
| Call | call | Incoming or outgoing call detected |
| Auth | connection.auth | QR / Pairing Code Receipt |
| Closed | connection.closed | Connection closed |
| Logout | connection.logout | Device logged out |
| Open | connection.open | Connection established |
| Timeout | connection.timeout | Connection timed out |
| Msg Deleted | message.deleted | Message deleted |
| Msg Received | message.received | Message received |
| Msg Sent | message.sent | Message sent |
| Msg Updated | message.updated | Message updated |
Setup Guide
- Add Trigger Node - Add the Chatlevel Trigger node to your n8n workflow
- Copy Webhook URL - Click the node to reveal and copy the Webhook URL
- Configure in Chatlevel:
- Go to Integrations → Add Integration → n8n in Chatlevel
- Paste the webhook URL from step 2
- In the Integrations tab, adjust which events you want to receive on your webhook
- Connect Branches - Connect different nodes to different output branches to handle events separately
Info: Events automatically route to the correct output branch. You can select specific events in Chatlevel’s Integrations tab to reduce webhook traffic.
Event Reference
Connection Events:connection.auth- QR / Pairing Code Receiptconnection.open- Connection established, device readyconnection.closed- Connection closedconnection.logout- Device logged out, requires re-authenticationconnection.timeout- Connection timed out
message.received- New message received (most common for automation)message.sent- Message successfully sentmessage.updated- Message edited or modifiedmessage.deleted- Message deleted
call- Call detected on WhatsApp
Tips & Best Practices
Phone Number Format - Always use digits only with country code:31612345678 (not +31 6 12345678)
Device Selection - Use “From List” when building workflows. Use “By ID” when device IDs are dynamic.
Error Handling - Enable “Continue on Fail” in node settings to prevent workflow stops on API errors.
Media Messages - Supported formats: PNG, JPEG, GIF, WebP only. Maximum size: 10MB.
Event Filtering - Use Chatlevel’s Integrations tab to select specific events and reduce webhook traffic.
Multiple Devices - Each trigger node can handle events from multiple devices. Use the deviceId field to identify the source device.
Troubleshooting
Webhooks Not Received- Verify webhook URL is configured correctly in Chatlevel’s Integrations tab
- Ensure n8n instance is accessible from the internet
- Check device is connected and subscription is active
- Verify correct events are selected in Chatlevel’s Integrations tab
- Scan QR code within time limit or use pairing code
- Ensure device subscription status is “active”
- Try restarting the device
- Delete and recreate if issues persist
- Verify recipient number format (digits only with country code)
- Check device status is “connected”
- Ensure active subscription
- For media: verify format (PNG, JPEG, GIF, WebP) and size (less than 10MB)
