WhatsApp quickstart
Link WhatsApp Web to OpenClaw, pair safely, and send your first message
Link WhatsApp Web to OpenClaw, pair safely, and send your first message
This is the fast path for the personal-style WhatsApp channel (QR / WhatsApp Web). For groups, media limits, and Business Platform vs this channel, read the full WhatsApp guide and Business vs personal section.
Time: about 10–20 minutes. You need a phone with WhatsApp installed to scan the QR code.
npm install -g openclaw@latest
openclaw onboard
Enable WhatsApp during onboarding or later in configuration. See installation for platform notes.
openclaw gateway start
Leave this running (or use a service manager / macOS app on a home server).
openclaw channels login (or follow the wizard prompt for WhatsApp).If the QR fails, restart the Gateway and try again; avoid linking from two hosts at once.
With default dmPolicy: "pairing", unknown numbers get a code instead of full agent access:
openclaw pairing list whatsapp
openclaw pairing approve whatsapp <code>
Details: pairing guide. Do not set open DMs until you have read hardening.
openclaw doctor
openclaw security audit --deep
Send a test message from an approved sender. The agent should reply using your configured model (providers).
| Symptom | Likely cause | Fix |
|---|---|---|
| Logged out / no session | WhatsApp invalidated link | Re-run channels login |
| Only pairing codes | Not approved | pairing approve |
| Delayed replies | Host slept (Mac) | Prevent sleep |
| Business API needs | Wrong product path | See Business Platform |