Skip to main content
Connect DingTalk (钉钉) to your Claw instance using Stream mode — a WebSocket-based connection that requires no public URL.

Prerequisites

Setup Guide

1

Create a DingTalk App

  1. Go to DingTalk Open Platform
  2. Click Application DevelopmentEnterprise Internal Development
  3. Click Create Application
  4. Enter an app name and description
  5. Click Confirm
2

Enable Robot Capability

  1. In your app, go to App FeaturesRobot
  2. Enable the robot configuration
  3. Select Stream Mode (recommended — no public URL needed)
  4. Click Publish
Stream mode uses WebSocket, so your Claw instance doesn’t need a publicly accessible webhook URL. This is the simplest setup.
3

Get Credentials

  1. Go to Basic InformationCredentials
  2. Copy the AppKey and AppSecret
4

Publish the App

  1. Go to Version Management
  2. Create a new version (at minimum a test version)
  3. Set the visible range (which users/departments can see the bot)
  4. Submit and publish
5

Configure in LemonData Dashboard

  1. Go to your Claw Dashboard
  2. Click the settings icon on your instance
  3. Open the IM Integrations tab
  4. Expand the DingTalk section
  5. Paste your AppKey and AppSecret
  6. Click Save
6

Start Chatting

  1. In DingTalk, search for your bot by name
  2. Send it a message
  3. The first user is automatically paired as the owner — no code needed!
  4. Start chatting with AI!

Group Settings

Configure group chat behavior in the IM Integrations tab of your Dashboard:
SettingOptionsDescription
Group PolicyOpen (default) / Allowlist / DisabledControls who can trigger the bot in groups
Group Allowed UsersList of user IDsOnly these users can trigger the bot (allowlist mode)
DingTalk always requires @mention to trigger the bot in groups — this is a platform limitation and cannot be configured. Group IDs filtering is not available for DingTalk; use the Group Policy setting to control access.

Troubleshooting

  • Verify AppKey and AppSecret are correct
  • Check that the app is published (at least test version)
  • Make sure Stream mode is selected in the robot configuration
  • Verify the bot is visible to your user account
  • Stream mode maintains a persistent WebSocket connection
  • Brief disconnections are normal — the bot will auto-reconnect
  • If persistent, try restarting the instance from the dashboard