All Products
Search
Document Center

:Integrate AI assistant service with WeCom

Last Updated:May 09, 2026

Create a WeCom robot

  1. Go to the WeCom admin console. In the left navigation pane, click Management Tools > Intelligent Bot. Click Create Bot, and then click Create Manually.

  2. Create an intelligent robot in API mode.

    1. On the Create intelligent robot page, scroll to the bottom and click Create in API Mode.

    2. Configure the following parameters and click Save.

      1. Visibility Scope: Set the robot's visibility.

      2. API Configuration: In the Connection Method section, select Use Long-lived Connection. In the Configuration Method section, under Secret, click Click to get and save the generated Bot ID (WECOM_BOT_ID) and Secret (WECOM_BOT_SECRET).

      3. Permissions: Set the required permissions for the robot.

Configure an AI assistant service instance

Return to the DataWorks console and create an AI Assistant Service instance. For details, see AI Assistant Service Configuration Guide.

Test the robot

  1. In a group chat, click to add a member, search for the robot by name, and add it to the group.

  2. In a group chat with the robot, @mention it to start a streaming conversation.