wechat-operate
通过查询好友或群聊,实现文本、图片、文件的自动发送。
下载 3,087
通过 OpenClaw 实现微信公众号自动回复与智能交互。
openclaw skills install @yang1002378395-cmyk/openclaw-wechat-mp-guide命令、参数、文件名以原文为准
让 AI 助手连接微信公众号,自动回复用户消息。
AppID:wxxxxxxxxxxx
AppSecret:xxxxxxxxxxxxxxxxxxxxxxxx - URL:https://your-server.com/wechat
- Token:自定义(如 openclaw2024)
- EncodingAESKey:随机生成
- 消息加解密方式:安全模式
# 设置微信连接
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 wechatwechat:
sensitive_words:
- "违禁词1"
- "违禁词2"
filter_action: "replace" # 或 "block"检查:
检查日志:
openclaw logs -f | grep wechat需要开通「接收图片消息」权限,AI 可以识别图片内容并回复。
联系:微信 yang1002378395 或 Telegram @yangster151
提示:订阅号接口受限较多,建议使用服务号获得完整功能。
已收录 1 个 Skill