TaskFlow
DashboardFreewriteWhiteboardsProjectsCRMTasksNotificationsSettingsAgent TowerAPI Docs
OpenClaw Docs
?

User

Member

Caricamento in corso...

Home
Progetti
Task
Notifiche
CRM

    OpenClaw

    Documentation Mirror

    Documentation Overview

    Docs

    Auth credential semantics
    Scheduled tasks
    Hooks
    Automation & tasks
    Standing orders
    Task flow
    Background tasks
    BlueBubbles
    Broadcast groups
    Channel routing
    Discord
    Feishu
    Google Chat
    Group messages
    Groups
    iMessage
    Chat channels
    IRC
    LINE
    Channel location parsing
    Matrix
    Matrix migration
    Matrix push rules for quiet previews
    Mattermost
    Microsoft Teams
    Nextcloud Talk
    Nostr
    Pairing
    QA channel
    QQ bot
    Signal
    Slack
    Synology Chat
    Telegram
    Tlon
    Channel troubleshooting
    Twitch
    WeChat
    WhatsApp
    Yuanbao
    Zalo
    Zalo personal
    CI pipeline
    ACP
    Agent
    Agents
    Approvals
    Backup
    Browser
    Channels
    Clawbot
    `openclaw commitments`
    Completion
    Config
    Configure
    Cron
    Daemon
    Dashboard
    Devices
    Directory
    DNS
    Docs
    Doctor
    Flows (redirect)
    Gateway
    Health
    Hooks
    CLI reference
    Inference CLI
    Logs
    MCP
    Memory
    Message
    Migrate
    Models
    Node
    Nodes
    Onboard
    Pairing
    Plugins
    Proxy
    QR
    Reset
    Sandbox CLI
    Secrets
    Security
    Sessions
    Setup
    Skills
    Status
    System
    `openclaw tasks`
    TUI
    Uninstall
    Update
    Voicecall
    Webhooks
    Wiki
    Active memory
    Agent runtime
    Agent loop
    Agent runtimes
    Agent workspace
    Gateway architecture
    Channel docking
    Inferred commitments
    Compaction
    Context
    Context engine
    Delegate architecture
    Dreaming
    Experimental features
    Features
    Markdown formatting
    Memory overview
    Builtin memory engine
    Honcho memory
    QMD memory engine
    Memory search
    Messages
    Model failover
    Model providers
    Models CLI
    Multi-agent routing
    OAuth
    OpenClaw App SDK
    Presence
    QA overview
    Matrix QA
    Command queue
    Steering queue
    Retry policy
    Session management
    Session pruning
    Session tools
    SOUL.md personality guide
    Streaming and chunking
    System prompt
    Timezones
    TypeBox
    Typing indicators
    Usage tracking
    Date and time
    Node + tsx crash
    Diagnostics flags
    Authentication
    Background exec and process tool
    Bonjour discovery
    Bridge protocol
    CLI backends
    Configuration — agents
    Configuration — channels
    Configuration — tools and custom providers
    Configuration
    Configuration examples
    Configuration reference
    Diagnostics export
    Discovery and transports
    Doctor
    Gateway lock
    Health checks
    Heartbeat
    Gateway runbook
    Local models
    Gateway logging
    Multiple gateways
    Network model
    OpenAI chat completions
    OpenResponses API
    OpenShell
    OpenTelemetry export
    Gateway-owned pairing
    Prometheus metrics
    Gateway protocol
    Remote access
    Remote gateway setup
    Sandbox vs tool policy vs elevated
    Sandboxing
    Secrets management
    Secrets apply plan contract
    Security audit checks
    Security
    Tailscale
    Tools invoke API
    Troubleshooting
    Trusted proxy auth
    Debugging
    Environment variables
    FAQ
    FAQ: first-run setup
    FAQ: models and auth
    GPT-5.5 / Codex agentic parity
    GPT-5.5 / Codex parity maintainer notes
    Help
    Scripts
    Testing
    Testing: live suites
    General troubleshooting
    OpenClaw
    Ansible
    Azure
    Bun (experimental)
    ClawDock
    Release channels
    DigitalOcean
    Docker
    Docker VM runtime
    exe.dev
    Fly.io
    GCP
    Hetzner
    Hostinger
    Install
    Installer internals
    Kubernetes
    macOS VMs
    Migration guide
    Migrating from Claude
    Migrating from Hermes
    Nix
    Node.js
    Northflank
    Oracle Cloud
    Podman
    Railway
    Raspberry Pi
    Render
    Uninstall
    Updating
    Logging
    Network
    Audio and voice notes
    Camera capture
    Image and media support
    Nodes
    Location command
    Media understanding
    Talk mode
    Node troubleshooting
    Voice wake
    Pi integration architecture
    Pi development workflow
    Android app
    Platforms
    iOS app
    Linux app
    Gateway on macOS
    Canvas
    Gateway lifecycle
    macOS dev setup
    Health checks (macOS)
    Menu bar icon
    macOS logging
    Menu bar
    Peekaboo bridge
    macOS permissions
    Remote control
    macOS signing
    Skills (macOS)
    Voice overlay
    Voice wake (macOS)
    WebChat (macOS)
    macOS IPC
    macOS app
    Windows
    Plugin internals
    Plugin architecture internals
    Building plugins
    Plugin bundles
    Codex Computer Use
    Codex harness
    Community plugins
    Plugin compatibility
    Google Meet plugin
    Plugin hooks
    Plugin manifest
    Memory LanceDB
    Memory wiki
    Message presentation
    Agent harness plugins
    Building channel plugins
    Channel turn kernel
    Plugin entry points
    Plugin SDK migration
    Plugin SDK overview
    Building provider plugins
    Plugin runtime helpers
    Plugin setup and config
    Plugin SDK subpaths
    Plugin testing
    Skill workshop plugin
    Voice call plugin
    Webhooks plugin
    Zalo personal plugin
    OpenProse
    Alibaba Model Studio
    Anthropic
    Arcee AI
    Azure Speech
    Amazon Bedrock
    Amazon Bedrock Mantle
    Chutes
    Claude Max API proxy
    Cloudflare AI gateway
    ComfyUI
    Deepgram
    Deepinfra
    DeepSeek
    ElevenLabs
    Fal
    Fireworks
    GitHub Copilot
    GLM (Zhipu)
    Google (Gemini)
    Gradium
    Groq
    Hugging Face (inference)
    Provider directory
    Inferrs
    Inworld
    Kilocode
    LiteLLM
    LM Studio
    MiniMax
    Mistral
    Model provider quickstart
    Moonshot AI
    NVIDIA
    Ollama
    OpenAI
    OpenCode
    OpenCode Go
    OpenRouter
    Perplexity
    Qianfan
    Qwen
    Runway
    SGLang
    StepFun
    Synthetic
    Tencent Cloud (TokenHub)
    Together AI
    Venice AI
    Vercel AI gateway
    vLLM
    Volcengine (Doubao)
    Vydra
    xAI
    Xiaomi MiMo
    Z.AI
    Default AGENTS.md
    Release policy
    API usage and costs
    Credits
    Device model database
    Full release validation
    Memory configuration reference
    OpenClaw App SDK API design
    Prompt caching
    Rich output protocol
    RPC adapters
    SecretRef credential surface
    Session management deep dive
    AGENTS.md template
    BOOT.md template
    BOOTSTRAP.md template
    HEARTBEAT.md template
    IDENTITY template
    SOUL.md template
    TOOLS.md template
    USER template
    Tests
    Token use and costs
    Transcript hygiene
    Onboarding reference
    Contributing to the threat model
    Threat model (MITRE ATLAS)
    Formal verification (security models)
    Network proxy
    Agent bootstrapping
    Docs directory
    Getting started
    Docs hubs
    OpenClaw lore
    Onboarding (macOS app)
    Onboarding overview
    Personal assistant setup
    Setup
    Showcase
    Onboarding (CLI)
    CLI automation
    CLI setup reference
    ACP agents
    ACP agents — setup
    Agent send
    apply_patch tool
    Brave search
    Browser (OpenClaw-managed)
    Browser control API
    Browser troubleshooting
    Browser login
    WSL2 + Windows + remote Chrome CDP troubleshooting
    BTW side questions
    ClawHub
    Code execution
    Creating skills
    Diffs
    DuckDuckGo search
    Elevated mode
    Exa search
    Exec tool
    Exec approvals
    Exec approvals — advanced
    Firecrawl
    Gemini search
    Grok search
    Image generation
    Tools and plugins
    Kimi search
    LLM task
    Lobster
    Tool-loop detection
    Media overview
    MiniMax search
    Multi-agent sandbox and tools
    Music generation
    Ollama web search
    PDF tool
    Perplexity search
    Plugins
    Reactions
    SearXNG search
    Skills
    Skills config
    Slash commands
    Sub-agents
    Tavily
    Thinking levels
    Tokenjuice
    Trajectory bundles
    Text-to-speech
    Video generation
    Web search
    Web fetch
    Linux server
    Control UI
    Dashboard
    Web
    TUI
    WebChat

    OpenAPI Specs

    openapi
    TaskFlow
    docs/openclaw
    Original Docs

    Real-time Synchronized Documentation

    Last sync: 01/05/2026 07:05:24

    Note: This content is mirrored from docs.openclaw.ai and is subject to their terms and conditions.

    OpenClaw Docs

    v2.4.0 Production

    Last synced: Today, 22:00

    Technical reference for the OpenClaw framework. Real-time synchronization with the official documentation engine.

    Use this file to discover all available pages before exploring further.

    Zalo

    Status: experimental. DMs are supported. The Capabilities section below reflects current Marketplace-bot behavior.

    Bundled plugin

    Zalo ships as a bundled plugin in current OpenClaw releases, so normal packaged builds do not need a separate install.

    If you are on an older build or a custom install that excludes Zalo, install a current npm package when one is published:

    • Install via CLI:
      text
      openclaw plugins install @openclaw/zalo
    • Or from a source checkout:
      text
      openclaw plugins install ./path/to/local/zalo-plugin
    • Details: Plugins

    If npm reports the OpenClaw-owned package as deprecated, use a current packaged OpenClaw build or the local checkout path until a newer npm package is published.

    Quick setup (beginner)

    1. Ensure the Zalo plugin is available.
      • Current packaged OpenClaw releases already bundle it.
      • Older/custom installs can add it manually with the commands above.
    2. Set the token:
      • Env:
        text
        ZALO_BOT_TOKEN=...
      • Or config:
        text
        channels.zalo.accounts.default.botToken: "..."
        .
    3. Restart the gateway (or finish setup).
    4. DM access is pairing by default; approve the pairing code on first contact.

    Minimal config:

    json5
    { channels: { zalo: { enabled: true, accounts: { default: { botToken: "12345689:abc-xyz", dmPolicy: "pairing", }, }, }, }, }

    What it is

    Zalo is a Vietnam-focused messaging app; its Bot API lets the Gateway run a bot for 1:1 conversations. It is a good fit for support or notifications where you want deterministic routing back to Zalo.

    This page reflects current OpenClaw behavior for Zalo Bot Creator / Marketplace bots. Zalo Official Account (OA) bots are a different Zalo product surface and may behave differently.

    • A Zalo Bot API channel owned by the Gateway.
    • Deterministic routing: replies go back to Zalo; the model never chooses channels.
    • DMs share the agent's main session.
    • The Capabilities section below shows current Marketplace-bot support.

    Setup (fast path)

    1) Create a bot token (Zalo Bot Platform)

    1. Go to https://bot.zaloplatforms.com and sign in.
    2. Create a new bot and configure its settings.
    3. Copy the full bot token (typically
      text
      numeric_id:secret
      ). For Marketplace bots, the usable runtime token may appear in the bot's welcome message after creation.

    2) Configure the token (env or config)

    Example:

    json5
    { channels: { zalo: { enabled: true, accounts: { default: { botToken: "12345689:abc-xyz", dmPolicy: "pairing", }, }, }, }, }

    If you later move to a Zalo bot surface where groups are available, you can add group-specific config such as

    text
    groupPolicy
    and
    text
    groupAllowFrom
    explicitly. For current Marketplace-bot behavior, see Capabilities.

    Env option:

    text
    ZALO_BOT_TOKEN=...
    (works for the default account only).

    Multi-account support: use

    text
    channels.zalo.accounts
    with per-account tokens and optional
    text
    name
    .

    1. Restart the gateway. Zalo starts when a token is resolved (env or config).
    2. DM access defaults to pairing. Approve the code when the bot is first contacted.

    How it works (behavior)

    • Inbound messages are normalized into the shared channel envelope with media placeholders.
    • Replies always route back to the same Zalo chat.
    • Long-polling by default; webhook mode available with
      text
      channels.zalo.webhookUrl
      .

    Limits

    • Outbound text is chunked to 2000 characters (Zalo API limit).
    • Media downloads/uploads are capped by
      text
      channels.zalo.mediaMaxMb
      (default 5).
    • Streaming is blocked by default due to the 2000 char limit making streaming less useful.

    Access control (DMs)

    DM access

    • Default:
      text
      channels.zalo.dmPolicy = "pairing"
      . Unknown senders receive a pairing code; messages are ignored until approved (codes expire after 1 hour).
    • Approve via:
      • text
        openclaw pairing list zalo
      • text
        openclaw pairing approve zalo <CODE>
    • Pairing is the default token exchange. Details: Pairing
    • text
      channels.zalo.allowFrom
      accepts numeric user IDs (no username lookup available).

    Access control (Groups)

    For Zalo Bot Creator / Marketplace bots, group support was not available in practice because the bot could not be added to a group at all.

    That means the group-related config keys below exist in the schema, but were not usable for Marketplace bots:

    • text
      channels.zalo.groupPolicy
      controls group inbound handling:
      text
      open | allowlist | disabled
      .
    • text
      channels.zalo.groupAllowFrom
      restricts which sender IDs can trigger the bot in groups.
    • If
      text
      groupAllowFrom
      is unset, Zalo falls back to
      text
      allowFrom
      for sender checks.
    • Runtime note: if
      text
      channels.zalo
      is missing entirely, runtime still falls back to
      text
      groupPolicy="allowlist"
      for safety.

    The group policy values (when group access is available on your bot surface) are:

    • text
      groupPolicy: "disabled"
      — blocks all group messages.
    • text
      groupPolicy: "open"
      — allows any group member (mention-gated).
    • text
      groupPolicy: "allowlist"
      — fail-closed default; only allowed senders are accepted.

    If you are using a different Zalo bot product surface and have verified working group behavior, document that separately rather than assuming it matches the Marketplace-bot flow.

    Long-polling vs webhook

    • Default: long-polling (no public URL required).
    • Webhook mode: set
      text
      channels.zalo.webhookUrl
      and
      text
      channels.zalo.webhookSecret
      .
      • The webhook secret must be 8-256 characters.
      • Webhook URL must use HTTPS.
      • Zalo sends events with
        text
        X-Bot-Api-Secret-Token
        header for verification.
      • Gateway HTTP handles webhook requests at
        text
        channels.zalo.webhookPath
        (defaults to the webhook URL path).
      • Requests must use
        text
        Content-Type: application/json
        (or
        text
        +json
        media types).
      • Duplicate events (
        text
        event_name + message_id
        ) are ignored for a short replay window.
      • Burst traffic is rate-limited per path/source and may return HTTP 429.

    Note: getUpdates (polling) and webhook are mutually exclusive per Zalo API docs.

    Supported message types

    For a quick support snapshot, see Capabilities. The notes below add detail where the behavior needs extra context.

    • Text messages: Full support with 2000 character chunking.
    • Plain URLs in text: Behave like normal text input.
    • Link previews / rich link cards: See the Marketplace-bot status in Capabilities; they did not reliably trigger a reply.
    • Image messages: See the Marketplace-bot status in Capabilities; inbound image handling was unreliable (typing indicator without a final reply).
    • Stickers: See the Marketplace-bot status in Capabilities.
    • Voice notes / audio files / video / generic file attachments: See the Marketplace-bot status in Capabilities.
    • Unsupported types: Logged (for example, messages from protected users).

    Capabilities

    This table summarizes current Zalo Bot Creator / Marketplace bot behavior in OpenClaw.

    FeatureStatus
    Direct messages✅ Supported
    Groups❌ Not available for Marketplace bots
    Media (inbound images)⚠️ Limited / verify in your environment
    Media (outbound images)⚠️ Not re-tested for Marketplace bots
    Plain URLs in text✅ Supported
    Link previews⚠️ Unreliable for Marketplace bots
    Reactions❌ Not supported
    Stickers⚠️ No agent reply for Marketplace bots
    Voice notes / audio / video⚠️ No agent reply for Marketplace bots
    File attachments⚠️ No agent reply for Marketplace bots
    Threads❌ Not supported
    Polls❌ Not supported
    Native commands❌ Not supported
    Streaming⚠️ Blocked (2000 char limit)

    Delivery targets (CLI/cron)

    • Use a chat id as the target.
    • Example:
      text
      openclaw message send --channel zalo --target 123456789 --message "hi"
      .

    Troubleshooting

    Bot doesn't respond:

    • Check that the token is valid:
      text
      openclaw channels status --probe
    • Verify the sender is approved (pairing or allowFrom)
    • Check gateway logs:
      text
      openclaw logs --follow

    Webhook not receiving events:

    • Ensure webhook URL uses HTTPS
    • Verify secret token is 8-256 characters
    • Confirm the gateway HTTP endpoint is reachable on the configured path
    • Check that getUpdates polling is not running (they're mutually exclusive)

    Configuration reference (Zalo)

    Full configuration: Configuration

    The flat top-level keys (

    text
    channels.zalo.botToken
    ,
    text
    channels.zalo.dmPolicy
    , and similar) are a legacy single-account shorthand. Prefer
    text
    channels.zalo.accounts.<id>.*
    for new configs. Both forms are still documented here because they exist in the schema.

    Provider options:

    • text
      channels.zalo.enabled
      : enable/disable channel startup.
    • text
      channels.zalo.botToken
      : bot token from Zalo Bot Platform.
    • text
      channels.zalo.tokenFile
      : read token from a regular file path. Symlinks are rejected.
    • text
      channels.zalo.dmPolicy
      :
      text
      pairing | allowlist | open | disabled
      (default: pairing).
    • text
      channels.zalo.allowFrom
      : DM allowlist (user IDs).
      text
      open
      requires
      text
      "*"
      . The wizard will ask for numeric IDs.
    • text
      channels.zalo.groupPolicy
      :
      text
      open | allowlist | disabled
      (default: allowlist). Present in config; see Capabilities and Access control (Groups) for current Marketplace-bot behavior.
    • text
      channels.zalo.groupAllowFrom
      : group sender allowlist (user IDs). Falls back to
      text
      allowFrom
      when unset.
    • text
      channels.zalo.mediaMaxMb
      : inbound/outbound media cap (MB, default 5).
    • text
      channels.zalo.webhookUrl
      : enable webhook mode (HTTPS required).
    • text
      channels.zalo.webhookSecret
      : webhook secret (8-256 chars).
    • text
      channels.zalo.webhookPath
      : webhook path on the gateway HTTP server.
    • text
      channels.zalo.proxy
      : proxy URL for API requests.

    Multi-account options:

    • text
      channels.zalo.accounts.<id>.botToken
      : per-account token.
    • text
      channels.zalo.accounts.<id>.tokenFile
      : per-account regular token file. Symlinks are rejected.
    • text
      channels.zalo.accounts.<id>.name
      : display name.
    • text
      channels.zalo.accounts.<id>.enabled
      : enable/disable account.
    • text
      channels.zalo.accounts.<id>.dmPolicy
      : per-account DM policy.
    • text
      channels.zalo.accounts.<id>.allowFrom
      : per-account allowlist.
    • text
      channels.zalo.accounts.<id>.groupPolicy
      : per-account group policy. Present in config; see Capabilities and Access control (Groups) for current Marketplace-bot behavior.
    • text
      channels.zalo.accounts.<id>.groupAllowFrom
      : per-account group sender allowlist.
    • text
      channels.zalo.accounts.<id>.webhookUrl
      : per-account webhook URL.
    • text
      channels.zalo.accounts.<id>.webhookSecret
      : per-account webhook secret.
    • text
      channels.zalo.accounts.<id>.webhookPath
      : per-account webhook path.
    • text
      channels.zalo.accounts.<id>.proxy
      : per-account proxy URL.

    Related

    • Channels Overview — all supported channels
    • Pairing — DM authentication and pairing flow
    • Groups — group chat behavior and mention gating
    • Channel Routing — session routing for messages
    • Security — access model and hardening

    © 2024 TaskFlow Mirror

    Powered by TaskFlow Sync Engine