How to Connect Openclaw to Synology Chat

Image
Table of contents: [Show]

Quick Start

Connect Openclaw to your Synology NAS Chat environment to enable AI-powered conversations directly within your private infrastructure. This integration allows your team to interact with Openclaw through Synology Chat's webhook interface while maintaining complete data privacy.

For teams already using WebChat Dashboard Openclaw, Synology Chat offers a similar webhook-based approach with enterprise-grade access controls. If you're new to channel integrations, you might also want to review our guide on Elevated Mode Openclaw for understanding permission configurations.

Openclaw Synology Chat Integration

Install the Synology Chat Plugin

Synology Chat support is provided via a plugin that acts as a webhook bot and is not bundled with the core install. Install it using the CLI from a local checkout:

openclaw plugins install ./extensions/synology-chat

Configure the Channel

Edit your ~/.openclaw/openclaw.json file to include your Synology Chat webhook details and access policies:

{
"channels": {
"synology-chat": {
"enabled": true,
"token": "synology-outgoing-token",
"incomingUrl": "https://nas.example.com/webapi/entry.cgi?api=SYNO.Chat.External&method=incoming&version=2&token=...",
"webhookPath": "/webhook/synology",
"dmPolicy": "allowlist",
"allowedUserIds": ["123456"],
"rateLimitPerMinute": 30,
"allowInsecureSsl": false
}
}
}

Alternatively, for the default account, you can use environment variables: SYNOLOGY_CHAT_TOKEN, SYNOLOGY_CHAT_INCOMING_URL, and SYNOLOGY_ALLOWED_USER_IDS

Setting Up Synology Chat

  1. Open Synology Chat Admin Console
  2. Navigate to Integrations → Bots
  3. Create a new incoming webhook and copy the token
  4. Create an outgoing webhook pointing to your Openclaw gateway URL with path /webhook/synology
  5. Add allowed user IDs to restrict bot access

Troubleshooting & Best Practices

  • SSL Issues: Set allowInsecureSsl to true only for testing with self-signed certificates
  • Rate Limiting: Adjust rateLimitPerMinute based on your NAS capacity (default: 30)
  • Access Control: Always use dmPolicy: "allowlist" in production to prevent unauthorized access
  • Token Security: Store tokens in environment variables rather than config files when possible

Your Openclaw bot is now ready to respond to messages in Synology Chat. The integration supports both direct messages and channel conversations based on your configured policies.