Integrate with WeCom

更新时间:
复制 MD 格式

This topic describes how to integrate OpenClaw with WeCom, enabling users to perform tasks in OpenClaw through a bot.

Overview

This integration lets users perform tasks in OpenClaw using a WeCom intelligent robot. The process involves the following steps:

  • Create a WeCom intelligent robot.

  • Securely connect to OpenClaw in Wuying Workspace using a Bot ID and a secret.

Integrate with WeCom

Create an intelligent robot

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

  2. Configure the Visibility Scope for the bot.

  3. Scroll to the bottom of the page and click Create with API Mode.

  4. For Connection Method, select Persistent Connection.

  5. In the Configuration Method section, under Secret, click Get. Copy and save the Bot ID and Secret.

Connect to the OpenClaw cloud computer

  1. Open the Wuying Workspace client and log in to the Personal Edition. Scan the QR code on your desktop to open the Wuying Workspace mini program.

  2. In the cloud computer list in the mini program, find your OpenClaw cloud computer and click OpenClaw Application Configuration.

  3. On the OpenClaw Application Configuration page, select IM channel configuration.

  4. Click Add Channel. For service provider, select WeCom.

  5. Enter the Bot ID and Secret of the WeCom intelligent robot, and click Save Changes.

Verify the integration

  1. In a group chat, add a new member, then select Intelligent Robot.

  2. Search for the bot you created, and add it to the group chat.

  3. In the group chat with the bot, @mention the bot and send it a command.