Skip to main content
This topic describes best practices for using DingTalk group chat bots to automate workflows by responding to mentions.

Basic usage — respond to mentions

DingTalk custom bots can respond to mentions in real time. Configure a question-and-answer library and semantic recognition capabilities in advance to enable the bot to reply to user mentions within a group.

Basic usage — guide a workflow through mention responses

When a user mentions the bot, the bot can push a card message to guide the user to the next step and foster collaboration within the group. As shown in the following figure, a user can select a specific question to create a smaller group dedicated to handling that issue. The bot then continuously pushes progress updates to the larger group, keeping both groups in sync.

Advanced usage — fast response by mentioning the bot

In many emergency response scenarios, such as an online service outage, rapid action is critical. Mention the bot in the group with a text message to trigger the emergency response workflow. The bot can then push a specific response plan card, allowing colleagues handling the incident to decide together which plan to execute. As shown in the following figure, after the response plan card is pushed, each member can select a plan, and the decision maker confirms which plan to execute. Because the card can identify exactly who clicked which option, group members without the required permissions cannot influence the outcome, even if they make random selections — the system distinguishes their input and does not respond.