Channels let you connect StoreClaw to the communication platforms your team uses every day. After a channel is connected, you can send instructions to StoreClaw directly in Slack, Discord, or Feishu, and you can also send scheduled task results to a designated channel.
Supported platforms currently include Slack Bot, Discord Bot, and Feishu Bot. Slack and Discord use OAuth authorization. Feishu requires you to create an internal app in the Feishu Open Platform and then fill in the credentials manually.
Connect a Channel
Slack Bot / Discord Bot
- Click Channels in the left navigation.
- Find the card for the platform you want and click Connect.
- You will be redirected to the official authorization page. Confirm the correct workspace, then click Allow.
- After authorization, the page returns to StoreClaw automatically, and the card shows a green Connected status indicator.
Feishu Bot
Feishu requires you to manually create an internal app in the Feishu Open Platform, enable the bot capability, configure permissions and events, and then enter the credentials in StoreClaw. Because the setup is longer than Slack or Discord, we recommend following the dedicated guide:
If you only want a quick overview, the core flow is:
- Sign in to the Feishu Open Platform and open Developer Console.
- Create an internal app and enable the Bot capability.
- Add the required permissions in Permissions and save them.
- Configure persistent connection and add the required message-related events.
- Copy the App ID and App Secret from Credentials & Basic Info.
- Return to the Messaging Channels page in StoreClaw and complete the Feishu setup.
What You Can Do After Connecting
Messaging channels support two-way interaction:
- Send instructions inside the platform: In a connected Slack, Discord, or Feishu channel, mention
@StoreClaw Botand enter your request. StoreClaw replies in that channel. - Receive scheduled task deliveries: After you set a delivery target in Scheduled Tasks, StoreClaw can send a summary or result file to the specified channel when the task completes.
Disconnect a Channel
On the Messaging Channels page, click Remove Configuration on a connected platform to revoke authorization. After it is disconnected, that platform can no longer receive StoreClaw deliveries or send instructions to StoreClaw. It is also a good idea to remove the StoreClaw Bot in the corresponding platform's app management page so that access is fully revoked.
FAQ
Q: After connecting a messaging channel, will all channels receive notifications automatically?
A: No. Delivery targets must be set separately in Scheduled Tasks. If no channel is specified, task results are archived only in the Library and are not pushed automatically.
Q: Can other team members also send instructions to StoreClaw through Slack?
A: That depends on your channel permissions. As long as a member is in a connected channel, they can mention @StoreClaw Bot and send a request. StoreClaw responds within the permission scope associated with that connected account.
Q: How do I disconnect a messaging channel?
A: Click Remove Configuration for the connected platform on the Messaging Channels page. It is also recommended to remove the StoreClaw Bot from the corresponding platform's app management page so the authorization is fully revoked.
消息渠道允许您将 StoreClaw 接入团队日常使用的即时通讯平台。连接后,您可以直接在 Slack、Discord 或飞书中向 StoreClaw 发送指令,也可以将定时任务的执行结果推送到指定频道。
目前支持的平台:Slack Bot、Discord Bot、Feishu Bot。Slack 和 Discord 通过 OAuth 授权接入;飞书需要在飞书开放平台创建企业自建应用后填写凭证完成连接。
如何连接消息渠道
Slack Bot / Discord Bot
- 点击左侧导航栏的消息渠道。
- 找到对应平台卡片,点击配置。
- 页面将跳转至官方授权页面,确认工作区无误后点击 Allow 完成授权。
- 授权完成后页面自动返回 StoreClaw,卡片右上角显示绿色已连接圆点。
飞书 Bot
飞书需要在开放平台中手动创建企业自建应用,并完成 Bot 能力、权限、事件和凭证配置。由于流程相对更长,建议直接参考独立手册:
如需快速了解,核心流程如下:
- 登录飞书开放平台,进入 Developer Console。
- 创建 自定义,并启用 机器人 能力。
- 在 权限管理 中添加所需权限,并保存。
- 在事件配置中选择 长连接,并添加消息相关事件。
- 在 凭证与基础信息 中获取 App ID 和 App Secret。
- 回到 StoreClaw 消息渠道 页面,完成飞书配置。
连接后能做什么
消息渠道支持双向交互:
- 在平台内发送指令: 在已连接的 Slack、Discord 或飞书频道中直接 @ StoreClaw Bot,输入您的需求,StoreClaw 会在频道内回复结果。
- 接收定时任务推送: 在定时任务中设置推送目标后,任务执行完成后会将简报或结果文件发送到指定频道。
解绑连接
在消息渠道页面点击已连接平台的解绑配置按钮,即可撤销授权。解绑后,该平台将无法继续接收 StoreClaw 的推送,也无法通过该平台发送指令。建议同时在对应平台的应用管理后台移除 StoreClaw Bot,以确保彻底撤销权限。
常见问题 (FAQ)
Q:团队中其他成员也可以通过 Slack 给 StoreClaw 发指令吗?
A: 取决于您的频道权限设置。只要成员在已连接的频道中,均可 @ StoreClaw Bot 发送指令,StoreClaw 会以该账号绑定的权限范围响应请求。
Q:如何断开连接?
A: 在消息渠道页面点击已连接平台的解绑配置即可。建议同时在对应平台的应用管理后台移除 StoreClaw Bot,确保彻底撤销授权。