With WeCom bot notifications, StoreClaw can send store operation alerts, daily reports, anomaly notifications, and automation task results to a specified WeCom group. Once connected, your team can view key updates in WeCom without logging in to StoreClaw.

The current version supports one-way notifications only. StoreClaw can send messages to a WeCom group, but it does not read group chat content or receive replies from the group.

Use cases

WeCom bot notifications are useful for team updates and anomaly alerts, such as:

  • Send StoreClaw automation task results to a team group.
  • Push daily or weekly store reports, summaries, or key metric updates to an operations group.
  • Notify relevant team members when issues occur with orders, inventory, ads, products, or store data.
  • Share important updates with a fixed operations group, management group, or project group.

Before you begin

Before you start, make sure that:

  • You can access the target WeCom group.
  • You have permission to add a group bot to the WeCom group.
  • The group is an internal WeCom group. Some groups that include external contacts may not support group bots. Please refer to the options shown in your WeCom client.
  • You already have StoreClaw tasks, reports, or notification scenarios that need to be sent to the WeCom group.

Step 1: Add a bot to your WeCom group

  1. Open the WeCom desktop app.
  2. Go to the WeCom group where you want to receive StoreClaw notifications.
  3. Open your target group chat.
  4. Click ... to open the group settings menu. Find the Message Push, Automated Notifications, or Group Bot option. The entry name may vary depending on your WeCom version. Please refer to the actual interface.
  5. Click Add.
  6. Select Custom message push or Custom bot.
  7. Give the bot a recognizable name, such as StoreClaw notifications.
  8. After the bot is added, copy the Webhook URL generated for the bot.

The Webhook URL usually starts with:

https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=...
        

Note: The Webhook URL works as the sending credential for the group bot. Anyone with this URL may be able to send messages to your WeCom group. Do not share it publicly or paste it into untrusted documents, screenshots, or conversations.

Step 2: Connect the WeCom bot in StoreClaw

  1. Log in to StoreClaw.
  2. In the left sidebar, click Channels.
  3. Find WeCom Bot.
  4. Click the add button on the card.
  5. Paste the Webhook URL from step 1 into the Webhook URL field.
  6. Click Connect WeCom Bot.
  7. Wait until the page shows that the connection is successful.

After the connection is successful, StoreClaw will send a test message to the corresponding WeCom group. Go back to the WeCom group and check whether the test notification is received.

Tip: If your workspace has multiple message channels or bot notification entries, connect the most commonly used business group first. After confirming that the flow works, you can continue configuring other message channels.

Plan your notification groups

StoreClaw currently supports connecting one WeCom bot. We recommend choosing the core business group that most needs to receive StoreClaw notifications, such as a daily operations group, store management group, or cross-functional collaboration group.

If your team manages multiple stores, brands, or regional sites, choose the group with the broadest impact and the highest need for timely updates. This helps avoid spreading notifications across too many communication channels.

After setup, you can adjust notification tasks based on actual usage to reduce unnecessary message interruptions.

Security recommendations

A WeCom bot Webhook URL is essentially a sending credential. To prevent misuse or accidental message sending, follow these recommendations:

  • Do not paste the Webhook URL into public documents, chat screenshots, or support ticket comments.
  • For internal handover, store the Webhook URL in a controlled document or password management tool.
  • If you suspect that the Webhook URL has been exposed, delete the original bot and create a new one in WeCom.
  • If a group is no longer used for StoreClaw notifications, remove the related configuration from both WeCom and StoreClaw.

FAQ

Q: Why is the Webhook URL invalid?

A: Please check:

  • Whether the full Webhook URL was copied.
  • Whether the URL starts with https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=.
  • Whether the URL contains extra spaces, line breaks, or invalid characters.
  • Whether the WeCom bot has been deleted or recreated.

If the bot has been deleted, add a new bot in WeCom and enter the new Webhook URL in StoreClaw.

Q: Why does StoreClaw show that the connection is successful, but there is no message in the group?

A: Possible reasons include:

  • The WeCom group bot has been removed.
  • The bot Webhook URL has expired or become invalid.
  • WeCom has limited the bot sending frequency.
  • You are checking a different WeCom group from the one actually connected.
  • The connection was saved, but no notification task has been triggered yet.

You can trigger a test notification or wait for the next automation task to run. If there is still no message, check the following:

  • Confirm that the Webhook URL saved in StoreClaw matches the current bot Webhook URL in WeCom.
  • Check whether the message was sent to another group with a similar name or to the wrong business group.
  • Confirm whether someone recently recreated the bot but did not update the Webhook URL in StoreClaw.
  • Confirm that the group bot is still available in the WeCom client.

Q: Can StoreClaw see replies in the WeCom group?

A: No. The current WeCom bot notification only supports sending messages from StoreClaw to a WeCom group. It does not read group messages, recognize replies, or continue conversations in the group.

To continue working on a task, start the conversation inside StoreClaw.

Q: Can I connect multiple WeCom groups?

A: Currently, StoreClaw only supports configuring one WeCom bot Webhook URL. We recommend connecting the commonly used business group first.

Q: What should I do if there are too many bot messages?

A: You can reduce message volume in two ways:

  • Reduce unnecessary automation tasks or notification types in StoreClaw.
  • Create a dedicated notification group in WeCom to avoid interrupting daily team conversations.

Q: What is the difference between WeCom bot notifications and Lark Bot?

A: They are designed for different use cases:

  • WeCom bot notifications: Best for one-way notifications, not two-way conversations.
  • Lark Bot: Supports direct interaction with StoreClaw in Lark and can also receive push notifications.

If your goal is to "let the group see results", WeCom bot notifications are more lightweight. If your goal is to "directly interact with StoreClaw in a messaging tool", choose a channel that supports two-way communication.

通过企业微信机器人通知,StoreClaw 可以把店铺运营提醒、日报、异常提示和自动化任务结果发送到指定的企业微信群。配置完成后,团队成员无需登录 StoreClaw,也可以在企业微信里及时看到关键通知。

当前版本为单向通知:StoreClaw 会向企业微信群发送消息,但不会读取群聊内容,也不会接收群内回复。

适用场景

企业微信机器人通知适合用于团队消息同步和异常提醒,例如:

  • 将 StoreClaw 自动化任务的执行结果发送到团队群。
  • 每天或每周向运营群推送店铺日报、周报或关键指标摘要。
  • 当订单、库存、广告、产品或店铺数据出现异常时,提醒相关同事及时查看。
  • 将需要多人同步的信息推送到固定运营群、管理群或专项群。

配置前准备

开始配置前,请确认你已经具备以下条件:

  • 可以访问目标企业微信群。
  • 有权限在该企业微信群里添加群机器人。
  • 该群是企业微信内部群。部分包含外部联系人的群可能无法添加群机器人,具体以企业微信客户端显示为准。
  • 已经有需要推送到企业微信群的 StoreClaw 任务、报表或通知场景。

第一步:在企业微信群里添加机器人

  1. 打开企业微信桌面端。
  2. 进入需要接收 StoreClaw 通知的企业微信群。
  3. 打开 群设置
  4. 找到 消息推送自动通知群机器人选项。不同企业微信版本中的入口名称可能略有不同,请以实际页面为准。
  5. 点击 添加
  6. 选择自定义消息推送自定义机器人
  7. 给机器人设置一个容易识别的名称,例如 StoreClaw 通知
  8. 添加完成后,复制机器人生成的 Webhook 地址。

Webhook URL 通常以以下格式开头:

https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=...
        

注意:Webhook URL 相当于该群机器人的发送凭证。获取该地址的人可能向你的企业微信群发送消息,请勿公开分享,也不要粘贴到不可信的文档、截图或对话中。

第二步:在 StoreClaw 连接企业微信机器人

  1. 登录 StoreClaw。
  2. 在左侧菜单中,点击 消息渠道
  3. 找到 企微机器人
  4. 点击卡片上的添加按钮。
  5. Webhook URL 输入框中粘贴你在第一步中获取的 Webhook 地址。
  6. 点击 连接机器人
  7. 等待页面提示连接成功。

连接成功后,StoreClaw 会向对应企业微信群发送一条测试消息。你可以回到企业微信群,确认是否收到测试通知。

提示: 如果你的工作区中有多个消息渠道或多个机器人通知入口,建议先为最常用的业务群完成连接。确认流程正常后,再继续扩展到其他群。

选择接收通知的群

当前 StoreClaw 支持连接一个企业微信机器人。建议优先选择最需要接收 StoreClaw 通知的核心业务群,例如日常运营群、店铺管理群或跨团队协作群。 如果团队同时管理多个店铺、品牌或国家站点,建议优先选择影响范围最广、需要最快同步信息的群,避免通知分散在多个沟通场景中。 配置完成后,你可以根据实际使用情况调整通知任务,减少不必要的消息打扰。

安全建议

企业微信机器人的 Webhook URL 本质上是发送凭证。为避免通知被误发或滥用,建议按以下方式管理:

  • 不要将 Webhook 地址粘贴到公开文档、群聊截图或工单评论中。
  • 如需团队内部交接,建议通过受控文档或密码管理工具保存。
  • 如果怀疑 Webhook 地址 已泄露,请删除原机器人,并在企业微信中重新创建新的机器人。
  • 如果某个群不再用于接收 StoreClaw 通知,请同时在企业微信和 StoreClaw 中移除对应配置。

常见问题

Q: 为什么提示 Webhook 地址无效?

A: 请检查:

  • 是否完整复制了 Webhook 地址。
  • 地址是否以 https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key= 开头。
  • 地址中间是否多了空格、换行或中文符号。
  • 企业微信机器人是否已经被删除或重新创建。 如果机器人被删除,需要在企业微信重新添加机器人,并把新的 Webhook 地址填入 StoreClaw。

Q: 为什么 StoreClaw 显示连接成功,但群里没有消息?

A: 可能原因包括:

  • 企业微信群机器人被移除。
  • 群机器人 Webhook 地址已失效。
  • 企业微信侧限制了机器人发送频率。
  • 你查看的不是实际绑定的企业微信群。
  • 当前操作只保存了连接,还没有触发实际通知任务。

可以先触发一次测试通知或等待下一次自动任务运行,如果仍然没有消息,建议按以下顺序排查:

  1. 确认 StoreClaw 中保存的 Webhook 地址 与企业微信里当前机器人的 Webhook 地址一致。
  2. 确认消息是否发到了另一个同名群或错误的业务群。
  3. 确认最近是否有人重建了机器人,但没有同步更新 StoreClaw 中的配置。
  4. 确认企业微信客户端中,该群机器人仍处于可用状态。

Q: 企业微信群里的回复,StoreClaw 能看到吗?

A: 不能。当前企业微信机器人通知只支持 StoreClaw 向群里发送消息,不支持读取群消息、识别回复或在群里继续对话。如果需要让 StoreClaw 根据用户消息继续处理任务,请在 StoreClaw 产品内发起对话或使用后续支持的双向渠道。

Q: 可以同时连接多个企业微信群吗?

A: 当前 StoreClaw 支持配置一个企业微信机器人 Webhook URL。建议优先连接最常用、最需要接收通知的核心业务群。

Q: 机器人消息太多怎么办?

A: 建议从两个方向调整:

  • 在 StoreClaw 里减少不必要的自动任务或通知类型。
  • 在企业微信里单独建立一个通知群,避免打扰日常沟通群。

Q: 企业微信机器人通知和飞书 Bot 有什么区别?

A: 两者的定位不同:

  • 企业微信机器人通知: 适合单向推送通知,不负责双向对话。
  • 飞书 Bot: 支持在飞书里和 StoreClaw 直接交互,也可以接收推送。

如果你的目标是“让群里看到结果”,企业微信机器人通知更轻量;如果你的目标是“在消息工具里直接和 StoreClaw 对话”,需要选择支持双向能力的渠道。