@zalo-platforms/openclaw-zaloclawbot plugin. Login uses a Zalo Mini App QR
code.
Compatibility
| Plugin Version | OpenClaw Version | npm dist-tag | Status |
|---|---|---|---|
| 0.1.x | >=2026.4.10 | latest | Active / Beta |
Prerequisites
- Node.js >= 22
- OpenClaw must be installed (
openclawCLI available). - A Zalo account on a mobile device to scan the login QR code.
Install with onboard (recommended)
Run the OpenClaw onboarding wizard and pick Zalo ClawBot from the channel menu:Manual Installation
To add the channel to an already-onboarded gateway, follow these steps:1. Install the plugin
2. Enable the plugin in config
3. Generate QR code and log in
4. Restart the gateway
How It Works
Unlike the standard developer Zalo channel which requires you to register your own Zalo Official Account (OA) and paste static developer credentials, Zalo ClawBot operates as an owner-bound personal assistant using a shared, official infrastructure:- Secure Onboarding: The QR code resolves to a secure Zalo Mini App that binds a newly-provisioned, private bot under a shared official OA directly to your Zalo User ID.
- Owner-Bound Privacy: By design, the bot is restricted to communicating only with its owner. Messages from other users are dropped at the platform level, making the connection private and secure.
- Official API path: The plugin uses Zalo Bot Platform APIs instead of browser or web-session automation.
Under the Hood
The Zalo ClawBot plugin communicates with Zalo APIs via a persistent long-polling message loop. To maintain a clean and lightweight runtime:- Long-poll connections utilize the
getUpdatesendpoint. - Webhooks are disabled by default for local desktop/terminal gateway runs.
- Messages are processed client-side and mapped directly to your local agent runtime.
Troubleshooting
- QR Login Timeout: The login token (
zbsk) expires after 5 minutes for security reasons. If the QR code expires before you scan it, simply rerun the login command to generate a new one. - Gateway Fails to Load: Ensure your OpenClaw host version is
2026.4.10or higher. Older versions do not support the external npm-plugin installation ledger.