Integrations
Chatwoot
Answer your WhatsApp chats from your own Chatwoot: messages go to a Chatwoot inbox, and agents' replies go out paced and protected.
Answer an instance's WhatsApp chats from your own Chatwoot, beside your email, website chat and other channels. What people write goes to a Chatwoot inbox, one conversation per person. What your agents send there goes out from the instance like any reply: "typing…" first, at the reply's pace, with its protection when that is on.
It works with Chatwoot Cloud and with your own Chatwoot on an https address.
Connecting
- In Chatwoot, open Profile settings and copy the access token. Use an administrator's: we make the inbox and set its webhook with it.
- In your panel, open Automations, then Chatwoot, choose the instance, and press Connect.
- Give your Chatwoot's address and your account id (the number after
/accounts/in its address). You may paste any page of your Chatwoot instead: we read both from it. - Paste the token, and save.
Leave the inbox id empty and we make an API channel inbox named "WhatsApp" and the instance's number, with its webhook set. To use an API channel inbox you made already, give its id: we set its webhook. Saving tries the connection at once, and says what Chatwoot refused.
What goes to Chatwoot
- Every message someone writes to the instance, one to one: texts, photos, files, voice notes and videos, each file up to 40 MB. A place, a contact card or a poll arrives as a short text, a place with its map link.
- What the instance sends, once it has gone: typed on the phone, sent through the API, from the panel, by an auto-reply, the AI agent or a broadcast. It shows as the business's message.
- One conversation per person. Their contact is made once, and found by their number when your Chatwoot already has them.
- Never a group, a channel, a status, an OTP code, or the instance's own chat.
Messages are copied from the moment you connect. Earlier ones stay in your panel's Chats.
Replies from Chatwoot
- An agent's message in the conversation goes from the instance as a reply. Each file goes as its own message, the text with the first, up to 10 files.
- A private note is never sent. Neither is anything Chatwoot shows that came from us.
- Every rule still applies. Someone who wrote STOP gets nothing. A conversation started in Chatwoot with someone who never wrote is a first message to a new person, with all its limits.
- The message shows sent, delivered and read in Chatwoot, on Chatwoot 4.2 or later. When it is not sent, it shows failed with why, and a private note says it in your team's language.
- "Put the agent's name above what they send" starts each message with their name, as
*Sara*:. - It counts as your team answering: the AI agent stays quiet in that chat, and a menu's handover ends. Its messages carry
originchatwoot.
Deleting or editing a sent message from Chatwoot, reactions and quoting a message are not passed on yet.
The API
GET /v1/instances/{id}/chatwoot
PATCH /v1/instances/{id}/chatwoot
{"enabled": true, "url": "https://app.chatwoot.com", "account_id": 12,
"api_token": "…", "sign_messages": false}
DELETE /v1/instances/{id}/chatwoot
Send only what changes. Without inbox_id, an inbox is made for the instance the first time, and kept after. A new url or account_id needs api_token again: a saved token never goes to another address. An inbox another instance uses is refused. api_token is write-only: answers show api_token_set and api_token_last4, never the token. The inbox's webhook address is never in an answer either: its secret sends from the instance. PATCH and DELETE need a full-access key.
When it stops
If your Chatwoot refuses the token, or its user may not do what is asked, the connection pauses: nothing is copied or sent, paused says why, and your admins get an email. Fix it, then save the settings again. When your Chatwoot does not answer, each message is tried again for about 20 minutes, then noted in last_error.
Disconnecting stops both ways at once. The inbox and its conversations stay in your Chatwoot.
Your data
While connected, the instance's messages and their files go to your Chatwoot, as you chose. We keep your token encrypted. For each person, we keep a keyed code made from their number (or WhatsApp's private id for them) with their conversation's id, never the number itself. Both go when you disconnect or remove the instance. See the Privacy Policy.