Slack Integration for OpenClaw
Connect OpenClaw to your Slack workspace using Socket Mode for a secure, reliable connection without exposing public endpoints.
Slack App Setup
- Go to api.slack.com/apps and create a new app
- Enable Socket Mode under Settings
- Add Bot Token Scopes:
chat:write,app_mentions:read,im:history,im:read,im:write - Install the app to your workspace
- Copy the Bot Token and App-Level Token
OpenClaw Configuration
openclaw channel add slack
openclaw config set channels.slack.botToken "xoxb-YOUR-BOT-TOKEN"
openclaw config set channels.slack.appToken "xapp-YOUR-APP-TOKEN"
openclaw channel start slack
Channel vs DM Behavior
- Direct Messages: Agent responds to all messages
- Channels: Agent responds only when mentioned with
@YourBot - Threads: Agent can follow conversation threads and maintain context
Agent Marketplace
Deploy pre-configured AI agents ready to connect to any channel.