FRONTEND_URL and WHATSAPP_CLOUD_BASE_URL, how templates and Flow answers behave in Chatwoot, what agents see), read Chatwoot integration. For native voice calls, read Chatwoot Voice Calls.
How to get there
Sidebar → Chatwoot (path/chatwoot; keyboard shortcut g).
The screen works on the number picked in the number selector in the header. You need a connected number to use it. To set up Chatwoot for another number, switch numbers in the header. Each number has its own integration.
If the screen cannot load the integration, it shows Failed to load the Chatwoot integration.
Who can use it
Before connecting: the setup form
When the number has no integration yet, the screen shows Connect this number to your Chatwoot. The page says it takes about 2 minutes and needs three things from your Chatwoot account: Chatwoot address, Account ID and Access token. Each step gets a check mark once it is filled in.
If the address is not
app.chatwoot.com, a notice says it looks like a self-hosted Chatwoot. It asks you to confirm the FRONTEND_URL variable on your instance before connecting, because without it the inbox is rejected. See the prerequisite.
Buttons:
- Test credentials: a dry run. It checks the values against your Chatwoot without creating or changing anything. You get a checklist with two lines, green or red: whether the account accepted the credentials, and whether the token can access the account. The two line labels are shown in Portuguese (Credenciais aceitas pela conta, Permissão de acesso à conta). When everything passes: All good — you can connect. Editing any field clears the result. If you leave the token blank and the number already has a stored token, the test uses the stored one.
- Connect Chatwoot: creates the inbox in your Chatwoot and the webhook back to Pilot Status. You never paste a webhook URL by hand. The button is highlighted after a passing test, but you can click it without testing first.
- Advanced options — channel mode, native voice (most people don’t need to touch this): opens the Channel mode selector (see below).
- Instance URL and Account ID are required or Access token is required: a field is empty. The token is only required when the number has no stored token. With one stored, a blank token field keeps it.
- Enter the Chatwoot access token — there is no saved token for this number.: the server’s version of the message above.
- Invalid Chatwoot credentials. Check instance URL, account ID and access token.: Chatwoot refused the token, the account ID is wrong, or the address did not answer.
- Invalid request body (on Test credentials): the address is not a full URL (for example it is missing
https://). On Connect Chatwoot, the browser itself flags the field instead. - Chatwoot instance URL refused: the address points, or redirects, to an internal or private network address. Use the public address of your Chatwoot. This message comes in English and Portuguese, separated by
|. - Couldn’t create the inbox in Chatwoot. Check the token permissions and Account ID.
- Your Chatwoot rejected the WhatsApp Cloud channel …: only in native mode. Set
WHATSAPP_CLOUD_BASE_URLon your Chatwoot to the Pilot Status layer address and connect again. - We couldn’t reach your Chatwoot to check the existing inbox. Nothing was changed — try again in a moment.
The access token is never shown back, on this screen or in any API response. Pilot Status only tells you whether a token is stored. To change it, type a new one under Update credentials.
Channel mode
The Channel mode selector (with a Which one to choose? guide of scenarios and warnings) has three options:- Automatic (recommended): we pick the mode by number. Official goes native, non-official goes to the mirror.
- API mirror (Model A): Pilot Status mirrors messages and media into Chatwoot. Chat only. Works on a shared Chatwoot.
- Native WhatsApp Cloud (Model B): Chatwoot talks to Meta directly through the Pilot Status layer. Enables voice and calling. Requires a dedicated Chatwoot. This option is only offered when the number is eligible for a native inbox: official Meta numbers, or Pilot Status web numbers on the Evolution GO provider (voice only).
ps_ API key), the connection falls back to an API mirror inbox.
The trade-offs are explained in Channel mode: API mirror vs native Cloud.
After connecting
Status header
The screen header shows a badge with the integration state: Connected, Error or Disconnected. A green card reads All set — your conversations are mirroring to inbox #…, followed by New WhatsApp messages show up in Chatwoot; agent replies go back to WhatsApp. The Open inbox in Chatwoot link opens your Chatwoot account dashboard.When the integration falls into an error state
If a connection, a credentials update or a reconnect fails at your Chatwoot (rejected credentials, inbox not created, Chatwoot not reachable), or if Chatwoot starts refusing the stored token while mirroring, the integration goes into an error state. The header badge reads Error, and a red panel replaces the connected view:- The Chatwoot connection failed — nothing is being mirrored right now., followed by the reason in plain words and the raw error below it. Without a reason from Chatwoot: Chatwoot did not report a reason.
- Try again: runs the connection again with the stored credentials and keeps the current inbox, like Reconnect.
- Disconnect: opens the same Disconnect Chatwoot? dialog as the connected view.
Update credentials
A collapsible Update credentials section holds the same fields (Instance URL, Account ID, Access token (agent)) with the current address and account ID filled in, plus the Channel mode selector. The token field says •••••••• (leave blank to keep). Leave it blank to keep the stored token. Click Update to save. Saving runs the connection again with the new values and the mode selected in the form. When the existing inbox still exists in Chatwoot and the mode keeps the same kind of inbox, that inbox is reused. Otherwise a new inbox is created and the number’s conversation mappings are reset, as with Reconnect: new messages open new conversations in the new inbox.Mirroring
The Mirroring switch (Active / Paused) pauses or resumes the integration. Paused = we stop sending to Chatwoot; no message is lost. Nothing is deleted. If the last mirroring attempt failed while the integration stays connected, a Last error box shows a readable explanation and the raw error below it. Common cases:- The conversation or inbox was deleted in Chatwoot (it is recreated automatically; if it persists, use Reconnect).
- Failed to sync with Chatwoot (try again or use Reconnect).
Connection details
A read-only block:- Inbox: the Chatwoot inbox ID.
- Account: the account ID.
- Instance URL.
- Token: Stored or Missing. The value itself is never shown.
- Last sync: relative time; hover for the exact time.
Maintenance: reconnect and disconnect
- Reconnect runs the connection again with the stored credentials, without re-entering them. Reconnect re-tests the saved credentials and keeps the current inbox — it only creates another one if it was deleted in Chatwoot. A new inbox is also created when the saved mode now needs a different kind of inbox.
- Disconnect opens the Disconnect Chatwoot? dialog: This deletes the inbox in Chatwoot. Open conversations don’t migrate. Confirm with Disconnect. The dashboard asks Chatwoot to delete the inbox, removes the native webhook if there is one, and clears the stored credentials. If Chatwoot does not accept the inbox deletion (for example the token no longer has access), the integration is still removed and the inbox stays in Chatwoot for you to delete there.
Change channel mode
Change channel mode — now: … shows the saved mode and the same selector. After you pick a different mode, the Switch mode → … button applies it. Applies the new mode and reconnects. If the channel type changes (API mirror ↔ native WhatsApp Cloud), Chatwoot gets a new inbox and the old one stops receiving messages; open conversations don’t migrate and history isn’t copied on its own. If the channel type stays the same, the current inbox is kept. For example, Automatic → API mirror on a non-official number keeps the existing inbox. To bring past messages into a new inbox, use Sync history to Chatwoot. Pick the mode before connecting when you can.Sync history to Chatwoot
This card is shown while mirroring is Active, also when the integration is in the error state. Replays this number’s already-stored messages into the Chatwoot inbox so agents can see the recent history. Its main use is coexistence Meta numbers, whose imported history appears in /chat but is not mirrored on its own. The server refuses the sync, and the reason appears inline on the card, when:- the number is not a Meta number (Only Meta numbers have importable history.);
- the number is not a coexistence number (This number is not a coexistence number, so there is no stored history to send.);
- Chatwoot is not connected and enabled for the number (Connect Chatwoot for this number before sending history.);
- the number does not store message content (This number does not store content (RELAY_ONLY), so there is no history to send.).
/.
Click Sync to open the Sync history to Chatwoot? dialog. It lists three things to expect:
- Messages are inserted at import time, and the original date and time are prefixed into each message body.
- Old media may not import (Meta references expire) and shows as “[mídia]”.
- Agents may get a burst of notifications, and conversations may reopen.
- Window: 30 days or 90 days.
- Mark read when done: on by default.
done / total counter, a progress bar and a Cancel button. When it finishes, you see one of these:
- N messages synced, and the Sync button again.
- A summary like
N sent · N failed · N media expired, plus the error and a Try again button. - Canceled, plus a Try again button. A canceled run shows no error line, also when it was canceled before it started.
Native Chatwoot / Voice: the native setup kit
For eligible numbers, while the integration is connected, a Native Chatwoot / Voice card appears. On official numbers it reads native messages + voice via Chatwoot. On Evolution GO web numbers it reads native voice via Chatwoot (messages go through mirroring). A badge shows whether the inbox currently is Native or Legacy (API). The native inbox is created automatically on connect. The values below are informational. Each value has a copy button:
Actions on the card:
-
Test configuration: a server-side self-check. It uses the number’s
ps_key to call the layer’s/{phoneId}/settingsand/{phoneId}/call_permissionsendpoints (the same ones Chatwoot calls) and lists each check (settings,call_permissions) in green or red. If the number has nops_key, the test fails with Native voice is not available for this number. - View documentation: opens Chatwoot Voice Calls.
-
Manual setup (fallback): a collapsible box with a Rails console snippet to copy. You only need it if the inbox was created by hand in Chatwoot. It turns on calling for that channel:
Do it via API / MCP
With a number-scoped API key, the number comes from the key. With a workspace key or OAuth, send the number in the
x-whatsapp-number-id header. The API never returns the Chatwoot access token, only hasToken.
Related
- Chatwoot integration: prerequisites, modes, templates, Flow answers, what agents see.
- Chatwoot Voice Calls.
- API Keys screen: where the number’s
ps_key is managed and regenerated. - Live Chat.