dingtalk-connection
DingTalk Connection routes outgoing webhook messages from DingTalk to Clawdbot Gateway over a local WebSocket connection, enabling DingTalk as a messaging channel for AI agents. Configure your bot's callback URL, run the bridge service, and optionally auto-start it on macOS.
DingTalk Connection bridges DingTalk bot messages to Clawdbot Gateway for AI agent integration.
AI-generated summary based on this skill's SKILL.md
Install
XiaomingX/moltbot-connector-feishu-dingtalk/dingtalk-connection · repository language: Python
git clone https://github.com/XiaomingX/moltbot-connector-feishu-dingtalk
cp -r moltbot-connector-feishu-dingtalk/skills/dingtalk-connection ~/.claude/skills/dingtalk-connectionFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is dingtalk-connection and how does it work?
dingtalk-connection routes outgoing webhook messages from DingTalk to Clawdbot Gateway over a local WebSocket connection, enabling DingTalk as a messaging channel for AI agents. The skill handles the bridge between DingTalk's callback system and your AI agent infrastructure, managing webhook delivery and bot connectivity.
How do I set up dingtalk webhook bridge setup?
dingtalk-connection requires configuring your DingTalk bot's callback URL to point to the bridge service, setting your signing secret, and running the local bridge service. The skill manages the WebSocket connection to Clawdbot Gateway and handles incoming webhook messages from DingTalk, routing them to your AI agent for processing.
How do I configure and run the local dingtalk-connection bridge service?
dingtalk-connection is configured via environment variables for your DingTalk bot credentials and Clawdbot Gateway connection details. Run the bridge service locally to establish the WebSocket connection. The skill supports optional auto-start on macOS, allowing the bridge to start automatically on system boot for continuous message routing.
What should I do if dingtalk-connection is not receiving messages?
dingtalk-connection troubleshooting involves verifying your callback URL is correctly configured in DingTalk, confirming the signing secret matches your bot settings, and checking that the local bridge service is running and connected to Clawdbot Gateway. Ensure your environment variables are set correctly and the WebSocket connection is active.
Can I connect dingtalk to clawdbot with dingtalk-connection?
Yes, dingtalk-connection bridges DingTalk messages to Clawdbot Gateway. Configure your DingTalk bot's outgoing webhook to use the bridge's callback URL, set the signing secret, and run the local service. dingtalk-connection handles all webhook delivery and bot connectivity, routing messages to your AI agent through the Gateway.
Is dingtalk-connection open source and what license does it use?
dingtalk-connection is released under the Apache-2.0 license, making it open source and available for both commercial and personal use with proper attribution.
SKILL.md
rendered from the published skill — quoted content, verbatim
DingTalk Bridge
Bridge DingTalk bot messages to Clawdbot Gateway over a local WebSocket connection.
Architecture
DingTalk user -> DingTalk cloud -> webhook (bridge.py) -> Clawdbot Gateway -> AI agent
Setup
1. Create DingTalk bot
Create a bot that can send outgoing webhooks and set the callback URL to your public endpoint.
2. Run bridge
cd <skill-dir>/dingtalk-connection
uv sync
DINGTALK_SIGNING_SECRET=your_secret uv run python bridge.py
3. Auto-start (macOS)
uv run python setup_service.py
launchctl load ~/Library/LaunchAgents/com.clawdbot.dingtalk-bridge.plist
Environment variables
| Variable | Required | Default |
|---|---|---|
DINGTALK_PORT |
— | 3210 |
DINGTALK_PATH |
— | /dingtalk |
DINGTALK_SIGNING_SECRET |
— | — |
DINGTALK_BOT_ID |
— | — |
DINGTALK_BOT_NAME |
— | — |
CLAWDBOT_CONFIG_PATH |
— |
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 6 files
skills/dingtalk-connection/.env.example
skills/dingtalk-connection/README.md
skills/dingtalk-connection/SKILL.md
skills/dingtalk-connection/bridge.py
skills/dingtalk-connection/pyproject.toml
skills/dingtalk-connection/setup_service.py