Regional platforms
Zalo ClawBot
OmeniaClaw connects to Zalo ClawBot through the catalog-listed external
@zalo-platforms/OmeniaClaw-zaloclawbot plugin. Login uses a Zalo Mini App QR
code.
Compatibility
| Plugin Version | OmeniaClaw Version | npm dist-tag | Status |
|---|---|---|---|
| 0.1.x | >=2026.4.10 | latest |
Active / Beta |
Prerequisites
- Node.js >= 22
- OmeniaClaw must be installed (
OmeniaClawCLI available). - A Zalo account on a mobile device to scan the login QR code.
Install with onboard (recommended)
Run the OmeniaClaw onboarding wizard and pick Zalo ClawBot from the channel menu:
OmeniaClaw onboardThe wizard installs the plugin from the official catalog (integrity-verified), renders the login QR right in the terminal, and finishes the channel once you scan it with the Zalo app. No extra commands are needed.
Manual Installation
To add the channel to an already-onboarded gateway, follow these steps:
1. Install the plugin
OmeniaClaw plugins install "@zalo-platforms/[email protected]"Use the exact pinned version shown above (it matches the official catalog entry), so OmeniaClaw verifies the package against the catalog integrity hash during install.
2. Enable the plugin in config
OmeniaClaw config set plugins.entries.OmeniaClaw-zaloclawbot.enabled true3. Generate QR code and log in
OmeniaClaw channels login --channel OmeniaClaw-zaloclawbotScan the terminal-rendered QR code using the Zalo mobile app, accept the Terms of Use inside the Zalo Mini App, and authorize the session.
4. Restart the gateway
OmeniaClaw gateway restartHow 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.
The external plugin manages bot credentials under the OmeniaClaw state directory. Treat that directory as sensitive and include it in the same access-control and backup policy as the rest of your OmeniaClaw state.
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 OmeniaClaw host version is
2026.4.10or higher. Older versions do not support the external npm-plugin installation ledger.