令牌 | 前缀 | 获取位置 |
App-Level Token(应用级令牌) | xapp- | Slack 应用设置 > Basic Information > App-Level Tokens |
Bot User OAuth Token(机器人用户 OAuth 令牌) | xoxb- | Slack 应用设置 > Install App(安装完成后生成) |


name 修改为与智能体相符的名称。




xapp- 开头),粘贴至 Clawpro 通道区域的 Slack App-Level Token 输入框。
oauth_config.scopes.bot)和事件(settings.event_subscriptions.bot_events)与 附录中的示例应用清单 一致。如有修改,请单击保存更改。


xoxb- 开头)。单击 Copy(复制),并粘贴至 Clawpro 的 Slack Bot User OAuth Token 输入框。


问题 | 排查方法 |
Clawpro 中渠道状态未显示 running | 确认令牌已填入对应输入框:以 xapp- 开头的令牌填入 App-Level Token,以 xoxb- 开头的令牌填入 Bot User OAuth Token。 |
智能体在 Slack 中无响应 | 确认 App-Level Token 已添加连接:写入 (connections:write) 权限范围,且应用清单中已启用 Socket Mode。 |
智能体无法读取频道消息或响应@提及 | 将应用清单中的权限范围和事件与附录进行比对。修改权限范围后,需在 Install App 中重新安装应用;如令牌发生变化,请同步更新 Clawpro 中的 Bot User OAuth Token。 |
{"display_information": {"name": "Demo App","description": "Slack connector for OpenClaw"},"features": {"bot_user": { "display_name": "OpenClaw", "always_online": true },"app_home": {"home_tab_enabled": true,"messages_tab_enabled": true,"messages_tab_read_only_enabled": false},"slash_commands": [{"command": "/openclaw","description": "Send a message to OpenClaw","should_escape": false}]},"oauth_config": {"scopes": {"bot": ["app_mentions:read","assistant:write","channels:history","channels:read","chat:write","commands","emoji:read","files:read","files:write","groups:history","groups:read","im:history","im:read","im:write","mpim:history","mpim:read","mpim:write","pins:read","pins:write","reactions:read","reactions:write","usergroups:read","users:read"]}},"settings": {"socket_mode_enabled": true,"event_subscriptions": {"bot_events": ["app_home_opened","app_mention","assistant_thread_context_changed","assistant_thread_started","channel_rename","member_joined_channel","member_left_channel","message.channels","message.groups","message.im","message.mpim","pin_added","pin_removed","reaction_added","reaction_removed"]}}}
文档反馈