How to use a DingTalk Robot?

Updated at:

A DingTalk robot sends real-time updates from your code repositories to a DingTalk group. This topic describes how to configure these notifications.

How to enable a DingTalk group robot

  1. In your target DingTalk group, click Group Settings, then Robot, and then Add Robot.

  2. Select the Alibaba Cloud Codeup robot.

  3. On the configuration page, enter a custom Robot Name, and then copy the generated webhook URL.

  4. Go to your code repository and choose Settings > Webhooks. Click New webhook. Paste the webhook URL into the URL field, select a Trigger and complete the configuration:

    The trigger options include Push events (selected by default), Tag push events, and Comment and merge request events. Select them as needed. You can also enter a Secret Token and a description. After you complete the fields, click OK.

  5. The Codeup robot is now configured. When a triggering event occurs in the repository, the robot pushes a real-time notification to the DingTalk group.

    高的 - 2024-11-26T160508

  6. To revoke notifications, go to Robot > Robot Management. Select the robot that you want to remove and click Remove Robot.