WhatsApp
OpenClaw uses Baileys for the WhatsApp Web protocol. Based on official WhatsApp.
Login
bash
openclaw channels loginChoose WhatsApp and scan the QR code. Credentials are stored in ~/.openclaw/credentials.
Restrict access (optional)
In ~/.openclaw/openclaw.json you can limit who can message and how groups behave:
json
{
"channels": {
"whatsapp": {
"allowFrom": ["+15555550123"],
"groups": { "*": { "requireMention": true } }
}
},
"messages": { "groupChat": { "mentionPatterns": ["@openclaw"] } }
}allowFrom: Allowed phone numbers for DMsgroups: Group rules;"*"means all groups;requireMention: truemeans reply only when @’d