AI AdminPanel Documentation

Connect WhatsApp to OpenClaw

An OpenClaw service can answer on WhatsApp. You link it the way you link WhatsApp Web: scan a QR code with the phone that has the agent's number. The panel shows that code on the service page, so you need no terminal and no OpenClaw settings page.

Before you start

  • Use a spare number. WhatsApp does not officially support assistants on normal accounts and can restrict a number that behaves like a bot. Use a number (for example a spare SIM or eSIM in a spare phone) that you can afford to lose access to.
  • The service must be running and created from the OpenClaw template.
  • Who sees the code: only the customer who owns the service. For a service without a customer, the panel operator links it. Operators and resellers of a customer's service see whether WhatsApp is linked, with the numbers masked, but never the code: whoever scans it decides whose WhatsApp the agent reads.
  1. Open the service and find the WhatsApp card.
  2. Click Connect WhatsApp. The first time, the panel installs OpenClaw's official WhatsApp plugin (at the same version as your OpenClaw) inside the service; this can take up to a minute.
  3. On the phone with the agent's number: WhatsApp → Settings → Linked devices → Link a device, then scan the code. The code renews itself and is valid for 3 minutes; after that, click Show a new code.
  4. When the card shows Linked to +…, enter your own WhatsApp number (international format, e.g. +491701234567) and click Save. From now on only that number gets answers. Everybody else is ignored, without a reply or a pairing code.
  5. Send the agent a WhatsApp message from your phone to try it.

What the panel does for you

  • Before the code is shown, it closes the agent to direct messages and groups, and waits until OpenClaw has applied that. The agent starts listening the moment you scan, so nobody can reach it in the gap before you save your number.
  • Your number becomes OpenClaw's allowlist for WhatsApp (dmPolicy: allowlist with exactly that number, groups off), and the panel reads the applied setting back before it reports success.
  • The code is never stored: not in a log, the database, the audit log or any API an AI agent can call. The panel keeps it in memory for the 3 minutes of one attempt, for the person who started it only.

Disconnect

Click Disconnect on the card. The panel logs the agent out of WhatsApp, closes direct messages again and checks that OpenClaw reports the account as no longer linked. If it cannot confirm that, the card says so: then remove the device on the phone under WhatsApp → Linked devices, which always works.

Limits

  • One WhatsApp account per OpenClaw service, and one number that may message it. Group chats stay off.
  • The WhatsApp session stays on the service's data volume. Treat access to the service's terminal as access to that WhatsApp account.
  • Hermes Agent gets the same card later (AI-1499).