Connect WhatsApp
Tell your assistant you want to connect:Start the connection
Tell your assistant: “Connect my WhatsApp” — the agent enables the channel and requests a login.
Scan the QR code
A QR code overlay appears in your browser. Open WhatsApp on your phone, go to Linked Devices, tap Link a Device, and scan the code.
The QR code expires after about 60 seconds. If it times out before you scan it, tell your assistant “reconnect WhatsApp” to generate a new one.
DM policy
The default policy ispairing — unknown senders receive a 6-digit code, and you approve each one. Change it conversationally:
| Policy | Behavior |
|---|---|
pairing | Unknown senders get a 6-digit code. You approve via the agent. |
allowlist | Only numbers you specify can message your assistant. |
open | Anyone can send messages (requires allowFrom: ["*"]). |
disabled | Ignore all incoming WhatsApp messages. |
Security
WhatsApp is a messaging channel. The agent cannot run shell commands, execute processes, or invoke bash scripts from a WhatsApp conversation — regardless of what the message asks for. This is an architectural restriction, not a setting. What WhatsApp conversations can do: read files, search memory, send messages to other channels, use web tools, query APIs.Troubleshooting
Session expired — QR re-scan needed WhatsApp sessions expire when you link too many devices or the session is invalidated remotely. Your assistant will notify you. Tell it “reconnect WhatsApp” to start a new QR scan. QR code appears but scan fails Make sure you’re scanning from Linked Devices in WhatsApp, not the QR code reader in your camera app. The camera app reads QR codes differently. Messages not arriving Check the DM policy:pairing, the sender may be waiting for approval. If it is allowlist, they may not be in the allowed list.
Bot responds in DMs but not in groups
Group responses are controlled by groupPolicy. By default, WhatsApp groups use an allowlist — the group must be explicitly added. Tell your assistant: “Let the assistant respond in [group name]”.