Slack
Slack is production-ready in OpenClaw for DMs and channels, and Nexu inherits the same setup model.
What you need
- A Slack app
- A bot token
xoxb-... - Either:
- an app token
xapp-...for Socket Mode, or - a signing secret for HTTP Events API mode
- an app token
Recommended mode
Use Socket Mode unless you have a strong reason to receive events over HTTP.
Socket Mode checklist
- Create the Slack app.
- Enable Socket Mode.
- Create an app token with
connections:write. - Install the app and copy the bot token.
- Subscribe to message and mention events.
- Enable App Home messages for DMs.
- Start the gateway.
Example config
json5
{
channels: {
slack: {
enabled: true,
mode: "socket",
appToken: "xapp-...",
botToken: "xoxb-...",
},
},
}Common policy settings
dmPolicy:pairing,allowlist,open, ordisabledgroupPolicy:open,allowlist, ordisabledchannels.slack.channels: stable Slack channel IDs for allowlistsrequireMention: keep it on for shared channels, turn it off only in trusted spaces
Verify
bash
openclaw channels status --probe
openclaw logs --follow
openclaw pairing list slackReference source: https://docs.openclaw.ai/channels/slack