Install
openclaw skills install openclaw-wechat-mp-guide微信公众号接入指南 - OpenClaw 连接公众号完整教程。适合:自媒体运营、内容创作者。
openclaw skills install openclaw-wechat-mp-guide让 AI 助手连接微信公众号,自动回复用户消息。
AppID:wxxxxxxxxxxx
AppSecret:xxxxxxxxxxxxxxxxxxxxxxxx
https://your-server.com/wechatopenclaw2024)# 设置微信连接
openclaw connect wechat
# 输入凭证
AppID: wxxxxxxxxxxx
AppSecret: xxxxxxxxxxxxxxxxxxxxxxxx
Token: openclaw2024
EncodingAESKey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# 启动服务
openclaw start
在公众号后台点击「提交」,系统会验证服务器配置。
成功后,用户发消息给公众号,AI 会自动回复。
用户发送任何消息,AI 根据内容智能回复。
# ~/.openclaw/config.yaml
wechat:
keywords:
"帮助": "我是 AI 助手,可以回答你的问题..."
"价格": "请查看我们的价格表..."
通过公众号后台设置自定义菜单,点击后触发 AI 对话。
wechat:
transfer_keywords:
- "人工"
- "客服"
transfer_message: "正在转接人工客服,请稍候..."
# 查看消息统计
openclaw stats wechat
wechat:
sensitive_words:
- "违禁词1"
- "违禁词2"
filter_action: "replace" # 或 "block"
检查:
检查日志:
openclaw logs -f | grep wechat
需要开通「接收图片消息」权限,AI 可以识别图片内容并回复。
联系:微信 yang1002378395 或 Telegram @yangster151
提示:订阅号接口受限较多,建议使用服务号获得完整功能。