懂得AI

Command Palette

Search for a command to run...

Back to all use cases
Intermediate

DingTalk AI Assistant

Deploy AI bots using DingTalk's Stream mode without requiring a public IP. Supports private and group chat scenarios with various AI capabilities for Q&A, task execution, and notifications. Perfect for intranet or home server deployment.

钉钉机器人Stream

Requirements

  • DingTalk enterprise account
  • DingTalk Open Platform app
  • OpenClaw runtime environment
  • Node.js or Python runtime

Tips

  • Stream mode requires persistent process
  • Use PM2 or systemd for process management
  • Handle reconnection logic properly

Implementation Steps

1

Log into DingTalk Open Platform, create internal app

2

Add bot capability, enable Stream mode

3

Obtain Client ID and Client Secret

4

Use official SDK to establish Stream connection

5

Integrate OpenClaw for message handling

6

Test and publish the bot

Ready to get started?

Check out the GitHub repo for complete code and documentation