Zalo Personal (unofficial)
Status: experimental. This integration automates a personal Zalo account viazca-cli.
Warning: This is an unofficial integration and may result in account suspension/ban. Use at your own risk.
Plugin required
Zalo Personal ships as a plugin and is not bundled with the core install.- Install via CLI:
clawdbot plugins install @clawdbot/zalouser - Or from a source checkout:
clawdbot plugins install ./extensions/zalouser - Details: Plugins
Prerequisite: zca-cli
The Gateway machine must have thezca binary available in PATH.
- Verify:
zca --version - If missing, install zca-cli (see
extensions/zalouser/README.mdor the upstream zca-cli docs).
Quick setup (beginner)
- Install the plugin (see above).
- Login (QR, on the Gateway machine):
clawdbot channels login --channel zalouser- Scan the QR code in the terminal with the Zalo mobile app.
- Enable the channel:
- Restart the Gateway (or finish onboarding).
- DM access defaults to pairing; approve the pairing code on first contact.
What it is
- Uses
zca listento receive inbound messages. - Uses
zca msg ...to send replies (text/media/link). - Designed for “personal account” use cases where Zalo Bot API is not available.
Naming
Channel id iszalouser to make it explicit this automates a personal Zalo user account (unofficial). We keep zalo reserved for a potential future official Zalo API integration.
Finding IDs (directory)
Use the directory CLI to discover peers/groups and their IDs:Limits
- Outbound text is chunked to ~2000 characters (Zalo client limits).
- Streaming is blocked by default.
Access control (DMs)
channels.zalouser.dmPolicy supports: pairing | allowlist | open | disabled (default: pairing).
Approve via:
clawdbot pairing list zalouserclawdbot pairing approve zalouser <code>
Multi-account
Accounts map to zca profiles. Example:Troubleshooting
zca not found:
- Install zca-cli and ensure it’s on
PATHfor the Gateway process.
clawdbot channels status --probe- Re-login:
clawdbot channels logout --channel zalouser && clawdbot channels login --channel zalouser