Skip to main content

Back to README

DingTalk

DingTalk is Alibaba's enterprise communication platform, widely used in Chinese workplaces. It uses a streaming SDK to maintain persistent connections.

Configuration​

{
"channel_list": {
"dingtalk": {
"enabled": true,
"type": "dingtalk",
"client_id": "YOUR_CLIENT_ID",
"client_secret": "YOUR_CLIENT_SECRET",
"allow_from": [],
"placeholder": { "enabled": true, "text": ["Thinking..."] },
"group_trigger": { "mention_only": false },
"reasoning_channel_id": ""
}
}
}
FieldTypeRequiredDescription
enabledboolYesWhether to enable the DingTalk channel
client_idstringYesClient ID of the DingTalk application
client_secretstringYesClient Secret of the DingTalk application
allow_fromarrayNoUser ID whitelist; empty means all users are allowed
placeholderobjectNoPlaceholder message shown while the agent is working
group_triggerobjectNoGroup trigger settings (e.g. { "mention_only": true })
reasoning_channel_idstringNoOptional ID to route reasoning/thinking output to a separate chat

Setup​

  1. Go to the DingTalk Open Platform
  2. Create an internal enterprise application
  3. Obtain the Client ID and Client Secret from the application settings
  4. Configure OAuth and event subscriptions (if needed)
  5. Fill in the Client ID and Client Secret in the configuration file