Skip to main content
This topic describes common use cases for pushing alert messages with DingTalk Bots.

Basic use case — Real-time alert push based on monitoring data

In many cases, businesses need to push various alert messages to target users, such as service failures, equipment damage, or machine downtime. These alerts are usually complex in content, varied in source, and high in frequency, making them ideal for delivery through Single-chat bots.
  • As shown below, for plain text messages, consider using Markdown statements with pre-configured templates. This effectively highlights key information and improves delivery efficiency.
  • As shown below, when complex information needs to be pushed — such as IoT monitoring data with video — the bot can directly push video files into the conversation. Using a Card format, you can combine content and video in a single layout that highlights key points while keeping the information well organized.

Advanced use case — Refreshing the display of large-volume alerts

In urgent situations, you may need to continuously push alert messages to keep responders informed and update the incident status. Pushing a new message for every update is inefficient and makes it hard to identify key information during emergencies.

Advanced use case — One-click response group

Handling monitoring alerts often requires collaboration and information sharing among multiple people. In previous workflows, after an on-call user received an alert, they had to manually decide whom to add to the response group. This often led to multiple response groups being created, with each new participant having to catch up on the situation from scratch. In DingTalk, you can use predefined response plans and push Card messages to create a response group with one click and automatically sync information to it. As shown below, when an incident occurs, developers can pre-configure a group creation Button on the Card. When the user taps the Button, the DingTalk Open Platform group creation API is called to automatically create an incident response group. Once the group is created, the bot and related Plugins are automatically installed. Incident information is then automatically synced to the group through the Group bot. You can also use the group Pin feature to continuously refresh Card content, keeping incident Progress up to date.