Synology Chat (plugin)
Status: supported via plugin as a direct-message channel using Synology Chat webhooks. The plugin accepts inbound messages from Synology Chat outgoing webhooks and sends replies through a Synology Chat incoming webhook.Plugin required
Synology Chat is plugin-based and not part of the default core channel install. Install from a local checkout:Quick setup
- Install and enable the Synology Chat plugin.
- In Synology Chat integrations:
- Create an incoming webhook and copy its URL.
- Create an outgoing webhook with your secret token.
- Point the outgoing webhook URL to your OpenClaw gateway:
https://gateway-host/webhook/synologyby default.- Or your custom
channels.synology-chat.webhookPath.
- Configure
channels.synology-chatin OpenClaw. - Restart gateway and send a DM to the Synology Chat bot.
Environment variables
For the default account, you can use env vars:SYNOLOGY_CHAT_TOKENSYNOLOGY_CHAT_INCOMING_URLSYNOLOGY_NAS_HOSTSYNOLOGY_ALLOWED_USER_IDS(comma-separated)SYNOLOGY_RATE_LIMITOPENCLAW_BOT_NAME
DM policy and access control
dmPolicy: "allowlist"is the recommended default.allowedUserIdsaccepts a list (or comma-separated string) of Synology user IDs.- In
allowlistmode, an emptyallowedUserIdslist is treated as misconfiguration and the webhook route will not start (usedmPolicy: "open"for allow-all). dmPolicy: "open"allows any sender.dmPolicy: "disabled"blocks DMs.- Pairing approvals work with:
openclaw pairing list synology-chatopenclaw pairing approve synology-chat <CODE>
Outbound delivery
Use numeric Synology Chat user IDs as targets. Examples:Multi-account
Multiple Synology Chat accounts are supported underchannels.synology-chat.accounts.
Each account can override token, incoming URL, webhook path, DM policy, and limits.
Security notes
- Keep
tokensecret and rotate it if leaked. - Keep
allowInsecureSsl: falseunless you explicitly trust a self-signed local NAS cert. - Inbound webhook requests are token-verified and rate-limited per sender.
- Prefer
dmPolicy: "allowlist"for production.
Configuration reference
channels.synology-chat.enabled: enable/disable channel startup.channels.synology-chat.token: outgoing webhook secret token.channels.synology-chat.incomingUrl: incoming webhook URL for sending messages.channels.synology-chat.webhookPath: webhook path (default:/webhook/synology).channels.synology-chat.dmPolicy:pairing | allowlist | open | disabled.channels.synology-chat.allowedUserIds: DM allowlist (Synology user IDs).channels.synology-chat.rateLimitPerMinute: rate limit per sender (default: 30).channels.synology-chat.allowInsecureSsl: allow self-signed NAS certs (default: false).channels.synology-chat.accounts: multi-account configuration.