All Products
Search
Document Center

Managed Service for Prometheus:WeCom chatbot

Last Updated:Aug 27, 2026

After you create a WeCom chatbot and add it to a notification policy, alert notifications are automatically sent to the specified WeCom group when a matching rule is triggered. You can then view and handle alerts directly in the group.

Prerequisites

A WeCom group is created to receive alert notifications.

Step 1: Get the chatbot webhook URL

  1. Log in to WeCom.

  2. In the upper-right corner of the WeCom group chat, click the 更多图标 icon, and then click Group Chatbot.

  3. On the Group Chatbot page, click Add Chatbot. On the Chatbot page, click Add.

  4. On the Add Chatbot page, enter a custom name for the chatbot, and then click Add.

  5. Click Copy and save the webhook URL.

Step 2: Create a chatbot

  1. Log on to the Managed Service for Prometheus console. In the left navigation pane, choose Alert Management > Notification Objects.

  2. Click the DingTalk/Lark/WeCom tab, and then click the WeCom card.

  3. Configure the following parameters and click OK.

    Parameter

    Description

    Name

    Enter a name for the WeCom chatbot.

    Webhook URL

    Enter the webhook URL of the WeCom chatbot.

    Send daily statistics

    If you select this option, specify the times of day to send daily statistics. Separate multiple times with commas (,) in the HH:MM format. At the specified times, a daily summary is sent that includes the total, resolved, and pending alert counts.

    Card Content Configuration

    Customize the style and content of alert notification cards.

Manage alerts in a WeCom group

After an alert notification is received in your WeCom group, you can view and handle the alert directly in the chat. For more information, see Handle alerts in group chats.

Related operations

After you create a chatbot, you can find, edit, or delete it on the DingTalk/Lark/WeCom tab:

  • To edit a chatbot: In the Actions column for the chatbot, click Edit. In the panel that appears, modify the information and click OK.

  • To delete a chatbot: In the Actions column for the chatbot, click Delete. In the confirmation dialog box that appears, click Confirm.