























@@ -27,7 +27,7 @@ Both transports are production-ready and reach feature parity for messaging, sla
2727| ---------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
2828| Public Gateway URL | Not required | Required (DNS, TLS, reverse proxy or tunnel) |
2929| Outbound network | Outbound WSS to `wss-primary.slack.com` must be reachable | No outbound WS; inbound HTTPS only |
30-| Tokens needed | Bot token (`xoxb-...`) + App-Level Token (`xapp-...`) with `connections:write` | Bot token (`xoxb-...`) + Signing Secret |
30+| Tokens needed | Bot token + App-Level Token with `connections:write` | Bot token + Signing Secret |
3131| Dev laptop / behind firewall | Works as-is | Needs a public tunnel (ngrok, Cloudflare Tunnel, Tailscale Funnel) or staging Gateway |
3232| Horizontal scaling | One Socket Mode session per app per host; multiple Gateways need separate Slack apps | Stateless POST handler; multiple Gateway replicas can share one app behind a load balancer |
3333| Multi-account on one Gateway | Supported; each account opens its own WS | Supported; each account needs a unique `webhookPath` (default `/slack/events`) so registrations do not collide |
@@ -222,8 +222,8 @@ openclaw plugins install @openclaw/slack
222222223223 After Slack creates the app:
224224225- - **Basic Information → App-Level Tokens → Generate Token and Scopes**: add `connections:write`, save, copy the `xapp-...` value.
226- - **Install App → Install to Workspace**: copy the `xoxb-...` Bot User OAuth Token.
225+ - **Basic Information -> App-Level Tokens -> Generate Token and Scopes**: add `connections:write`, save, copy the App-Level Token.
226+ - **Install App -> Install to Workspace**: copy the Bot User OAuth Token.
227227228228 </Step>
229229@@ -232,8 +232,8 @@ openclaw plugins install @openclaw/slack
232232 Recommended SecretRef setup:
233233234234```bash
235-export SLACK_APP_TOKEN=xapp-...
236-export SLACK_BOT_TOKEN=xoxb-...
235+export SLACK_APP_TOKEN=slack-app-token-example
236+export SLACK_BOT_TOKEN=slack-bot-token-example
237237cat > slack.socket.patch.json5 <<'JSON5'
238238{
239239 channels: {
@@ -253,8 +253,8 @@ openclaw config patch --file ./slack.socket.patch.json5
253253 Env fallback (default account only):
254254255255```bash
256-SLACK_APP_TOKEN=xapp-...
257-SLACK_BOT_TOKEN=xoxb-...
256+SLACK_APP_TOKEN=slack-app-token-example
257+SLACK_BOT_TOKEN=slack-bot-token-example
258258```
259259260260 </Step>
@@ -455,7 +455,7 @@ openclaw gateway
455455 After Slack creates the app:
456456457457 - **Basic Information → App Credentials**: copy the **Signing Secret** for request verification.
458- - **Install App → Install to Workspace**: copy the `xoxb-...` Bot User OAuth Token.
458+ - **Install App -> Install to Workspace**: copy the Bot User OAuth Token.
459459460460 </Step>
461461@@ -464,7 +464,7 @@ openclaw gateway
464464 Recommended SecretRef setup:
465465466466```bash
467-export SLACK_BOT_TOKEN=xoxb-...
467+export SLACK_BOT_TOKEN=slack-bot-token-example
468468export SLACK_SIGNING_SECRET=...
469469cat > slack.http.patch.json5 <<'JSON5'
470470{
@@ -867,7 +867,7 @@ The default manifest enables the Slack App Home **Home** tab and subscribes to `
867867 strings or SecretRef objects.
868868- Config tokens override env fallback.
869869- `SLACK_BOT_TOKEN` / `SLACK_APP_TOKEN` env fallback applies only to the default account.
870-- `userToken` (`xoxp-...`) is config-only (no env fallback) and defaults to read-only behavior (`userTokenReadOnly: true`).
870+- `userToken` is config-only (no env fallback) and defaults to read-only behavior (`userTokenReadOnly: true`).
871871872872Status snapshot behavior:
873873@@ -1462,7 +1462,7 @@ openclaw pairing list slack
1462146214631463<Accordion title="Socket mode not connecting">
14641464Validate bot + app tokens and Socket Mode enablement in Slack app settings.
1465-The `xapp-...` App-Level Token needs `connections:write`, and the `xoxb-...`
1465+The App-Level Token needs `connections:write`, and the Bot User OAuth Token
14661466bot token must belong to the same Slack app/workspace as the app token.
1467146714681468If `openclaw channels status --probe --json` shows `botTokenStatus` or
@@ -1532,7 +1532,7 @@ Slack can attach downloaded media to the agent turn when Slack file downloads su
1532153215331533When a Slack message with file attachments arrives:
153415341535-1. OpenClaw downloads the file from Slack's private URL using the bot token (`xoxb-...`).
1535+1. OpenClaw downloads the file from Slack's private URL using the bot token.
153615362. The file is written to the media store on success.
153715373. Downloaded media paths and content types are added to the inbound context.
153815384. Image-capable model/tool paths can use image attachments from that context.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。