Integrations

OpenClaw

Integration path for agents that need external apps and messaging channels.

The openclaw integration path is intended for agents that need broad external integrations, messaging channels, or browser/app automation.

API Config

{
  "role": "support-agent",
  "integrationPath": "openclaw",
  "openclawConfig": {
    "modelProvider": "openai",
    "modelApiKey": "secret-ref",
    "channels": {
      "telegram": {
        "enabled": true,
        "botToken": "telegram-bot-token",
        "dmPolicy": "allowlist",
        "allowFrom": ["123456789"]
      },
      "whatsapp": {
        "enabled": true,
        "dmPolicy": "allowlist",
        "allowFrom": ["+15551234567"]
      }
    },
    "plugins": ["gmail", "slack"],
    "dmPolicy": "pairing"
  }
}

Channel Setup

CommonOS writes the channel configuration into the managed OpenClaw profile before the Gateway starts. Telegram uses its bot token immediately. WhatsApp installs the official external plugin on first use and keeps its linked-device credentials on the computer's persistent volume.

Use POST /computers/:computerId/runtime-channels/whatsapp/connect to start headless QR pairing, status to probe the live channel, and disconnect to unlink it. CommonOS never persists channel or model credentials in Mongo; API responses and stored runtime configuration are recursively redacted.

On this page