After enabling the DingTalk chatbot alert, you can specify DingTalk groups to receive the alert notifications. This topic describes how to enable the DingTalk chatbot alert function.

  1. Obtain the webhook URL.
    1. Run the DingTalk client on a PC, click to enter the DingTalk group to which you want to add an alert chatbot, and click the Group Settings icon in the upper-right corner.
    2. In the Group Settings dialog box, click Group Assistant.
    3. On the Group Assistant page, click + icon in the Add Robot section, and then click Custom.
      Add Robot
    4. In the Add Robot dialog box, edit the chatbot avatar and name, then click Finished.
      Add Robot
    5. In the Add Robot dialog box, copy the webhook URL that the system generates for the chatbot.
      Add Robot
  2. On the Contact page of the console, add DingTalk chatbot as a contact. For more information on how to add a contact, see Create a contact.
  3. Create a contact group, and choose the contact that you created in the previous step as the alert contact. For more information on how to create a contact group, see Create a contact group.
  4. Set alert rules.
    • If you have not created an alert notification yet, create one. Select DingTalk chatbot as the notification mode, and set the notification receiver to the contact group that you created in Step 3. For more information, see Create an alert.
    • If you have already created an alert notification, modify it. Select DingTalk chatbot as the notification mode, and set the notification receiver to the contact group that you created in Step 3. For more information, see Manage alerts.

Now, you have enabled the DingTalk chatbot alert notifications. When an alert is triggered, you will receive an alert notification in the specified DingTalk group, For example: