Before you configure a DingTalk chatbot for a DingTalk group and set the group as a notification object, you must obtain the webhook URL of the DingTalk chatbot from the DingTalk group. This topic describes how to obtain the webhook URL of a DingTalk chatbot.
Prerequisites
A DingTalk group is created to receive alert notifications.
Procedure
To add a custom DingTalk chatbot and obtain the webhook URL, perform the following steps:
Run the DingTalk client on a PC, go to the DingTalk group to which you want to add a chatbot, and then click the Group Settings icon in the upper-right corner.
In the Group Settings panel, click Bot. In the Robot Management panel, click Add Robot.
In the Robot dialog box, click Add Robot, and then click Custom.
In the Robot details dialog box, click Add.
In the Add Robot dialog box, perform the following steps:
Specify a profile picture and a name for the chatbot.
Select Custom Keywords for the Security Settings parameter. Then, enter alert as a keyword.
Read the terms of service and select I Acknowledge and Accept <<DingTalk Custom Robot Service Terms of Service>>.
Click Finished.
Copy the webhook URL of the chatbot and click OK.
References
After you obtain the webhook URL of the chatbot, you can configure the DingTalk group as a notification object to receive alerts by referring to. For more information, see DingTalk chatbots.