DingTalk chatbot deployment
This guide shows you how to bind an Intelligent Conversation Bot to a DingTalk chatbot and solve common issues.
Demo
Procedure
Create a DingTalk chatbot
Go to the DingTalk Open Platform and create a DingTalk app.

Add a chatbot.

On the Development & Configuration > Permission Management page, request the following three permissions for your app:
Permission to send messages as an internal corporate chatbot.
Write permission for interactive card instances.
Permission for streaming updates to AI cards.

Configure the Intelligent Conversation Bot
In your bot's workspace, navigate to channel deployment > DingTalk Channel and click Bind DingTalk chatbot.

Copy the required parameters from the credentials and basic information page of your DingTalk app. Then, paste them into the corresponding fields in the Intelligent Conversation Bot channel configuration to generate the webhook URL.

Configure and publish the DingTalk chatbot.

Publish app

Usage
One-on-one chats
In the DingTalk client, switch to the organization where you created the chatbot. Search for the chatbot by name, open the chat, and start asking questions.

You can start asking questions as soon as you open the chat with the chatbot.

Group chats
In the DingTalk client, switch to the organization where you created the chatbot. Select a group chat, go to Group Settings > Robot. Find your chatbot under the Corporate Robot section and add it.

To ask a question in the group, @mention the chatbot.

FAQ
Q: The chatbot is not responding after setup. What should I do?
Confirm that your app has the following three permissions: permission to send messages as an internal corporate chatbot, write permission for interactive card instances, and permission for streaming updates to AI cards.
In your DingTalk app's Security Settings, leave the
server egress IPfield blank.
Q: The chatbot stopped responding. Why?
This can occur if you exceed DingTalk's API call limits. For more information, see the official DingTalk documentation: Notice on Adjustments to API Call Quotas and Rate Limits for Internal Corporate Applications.
Q: How to enable transfer to a human agent?
For configuration instructions, see Configure transfer to human agent scenarios for a conversation bot.

