How do you connect WhatsApp to Chatwoot?
On the Chatwoot page of the Pilot Status dashboard, you choose the number and paste three Chatwoot values: the instance URL, the Account ID and the user access token. Pilot Status creates the inbox and the webhook on its own, and conversations start syncing both ways. It works with official and unofficial numbers.
Updated on
In short
- Three credentials: Instance URL, Account ID and User Access Token.
- The inbox and the webhook are created for you. You do not paste any webhook URL.
- Messages and media both ways: what arrives on WhatsApp shows up in Chatwoot, and the agent's reply goes to WhatsApp.
- Two modes: API mirror, which works on any Chatwoot, and native Cloud, which enables native voice.
- Setup is per number, with a switch to pause syncing.
Step by step
- In Chatwoot, copy the instance URL (for example
https://app.chatwoot.com), the Account ID (the number after/app/accounts/in the URL) and the User Access Token, in the profile settings. - In the Pilot Status dashboard, open the Chatwoot page, choose the number and paste the three values.
- Choose the channel mode or leave it on Automatic.
- Send a test message to the number and reply from Chatwoot.
The two modes
| API mirror | Native WhatsApp Cloud | |
|---|---|---|
| Inbox in Chatwoot | API inbox | Native whatsapp_cloud inbox |
| Numbers | Official and unofficial | Official (Cloud API) |
| Chatwoot | Shared or dedicated | Dedicated self-hosted, with WHATSAPP_CLOUD_BASE_URL |
| Native voice in Chatwoot | No | Yes, on Chatwoot v4.15 or newer |
| WhatsApp Flows responses | Private note in the conversation | Not shown. Use the flow.response_received event |
| In Automatic mode | Unofficial numbers | Official numbers |
Switching modes on a number that is already connected creates a new inbox in Chatwoot. The history is resent, but open conversations do not migrate. If you can, choose the mode before connecting.
Self-hosted Chatwoot prerequisites
FRONTEND_URLset to the exact public URL, with no trailing slash. Then restart the web and sidekiq containers. Without it, messages with attachments fail and media does not reach WhatsApp.- For native mode:
WHATSAPP_CLOUD_BASE_URL=https://pilotstatus.com.br/api/layer/meta. The variable is global in Chatwoot. If the same server has inboxes connected directly to Meta, use a dedicated Chatwoot for the Pilot Status numbers.
Voice calls
Calls and the Chatwoot inbox are separate things: call events do not show up in Chatwoot conversations. There are two paths:
- Dashboard softphone. The Pilot Status dashboard chat answers and makes calls, on Cloud API and unofficial numbers, with no setup.
- Chatwoot native voice. On self-hosted Chatwoot v4.15 or newer, only for Cloud API numbers, through the Pilot Status Meta layer. Chatwoot Cloud is not supported.
Coexistence numbers do not make calls through the API, on either path.
History of coexistence numbers
Coexistence numbers import up to 30 days of conversations at connection time. This history shows up in the dashboard chat, but it does not go to Chatwoot on its own. The Sync history to Chatwoot button resends what is already stored, in order, with the original date at the start of each message. Clicking again is safe: only what has not arrived yet is sent.
How it works at Pilot Status
The integration is set up per number, on the Chatwoot page of the dashboard. The same page shows the connection status, the inbox and account IDs, and the buttons to pause, reconnect or disconnect.
Questions about Chatwoot
Does it work with Chatwoot Cloud (app.chatwoot.com)?
Yes, in API mirror mode. Native mode and native voice need a dedicated self-hosted Chatwoot, because they depend on a global environment variable.
Do I need to set up the webhook in Chatwoot?
No. Pilot Status creates the inbox and the webhook in your Chatwoot account when you connect the number.
How do I send a template from Chatwoot?
In an API mirror inbox, type /template followed by the name and the values separated by commas, or use Chatwoot's own template picker. That is how you reopen an official conversation outside the 24-hour window.
Can I pause the integration?
Yes. On the Chatwoot page, each number has a switch to pause syncing. Nothing is deleted. You can also disconnect for good.
Why does the reply show as failed in Chatwoot?
When Pilot Status cannot send the reply, for example with the 24-hour window closed on an official number, the message is marked as failed, with the reason in the bubble and in a private note.