OpenClaw 企业微信 Channel 插件
name: openclaw-wecom-channel
by darrryz · published 2026-03-22
$ claw add gh:darrryz/darrryz-openclaw-wecom-channel---
name: openclaw-wecom-channel
description: "企业微信 (WeCom) Channel 插件 — 让 OpenClaw AI Agent 通过企业微信收发消息。支持消息加解密、Token 自动管理、访问控制策略。"
homepage: https://github.com/darrryZ/openclaw-wecom-channel
metadata: { "openclaw": { "emoji": "💬", "requires": { "bins": ["node"], "network": true } } }
---
# OpenClaw 企业微信 Channel 插件
企业微信 (WeCom/WxWork) 消息通道插件,让 OpenClaw AI Agent 通过企业微信收发消息,与 Telegram、Discord、Signal 等并列为原生 Channel。
功能
前置条件
快速开始
1. 安装插件
# 克隆到 OpenClaw extensions 目录
git clone https://github.com/darrryZ/openclaw-wecom-channel.git ~/.openclaw/extensions/wecom2. 配置 OpenClaw
编辑 `~/.openclaw/openclaw.json`:
{
"channels": {
"wecom": {
"enabled": true,
"corpId": "你的企业ID",
"agentId": 1000003,
"secret": "应用Secret",
"token": "回调Token",
"encodingAESKey": "回调EncodingAESKey",
"port": 18800,
"dmPolicy": "open"
}
},
"plugins": {
"entries": {
"wecom": { "enabled": true }
}
}
}3. 配置公网回调(Cloudflare Tunnel)
cloudflared tunnel create wecom-tunnel
cloudflared tunnel route dns wecom-tunnel wecom.yourdomain.com
cloudflared tunnel run --edge-ip-version 4 --url http://localhost:18800 wecom-tunnel企业微信后台回调 URL 设置为:`https://wecom.yourdomain.com/wecom/callback`
4. 重启 Gateway
openclaw gateway restart详细文档
完整的配置指南、企业微信后台设置步骤、故障排查请参考 README.md。
链接
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...