Slack
Integrating OpenClaw with Slack.
Overview
Connect OpenClaw to your Slack workspace:
- Direct messages
- Channel mentions
- Slash commands
Setup
1. Create Slack App
- Visit api.slack.com/apps
- Click "Create New App"
- Choose "From scratch"
- Name your app and select workspace
2. Configure Permissions
Add OAuth scopes:
chat:writeapp_mentions:readchannels:historyim:history
3. Install to Workspace
Click "Install to Workspace" and authorize.
4. Configure OpenClaw
bash
openclaw channels setup slack
# Enter Bot Token when promptedOr manually:
json5
{
channels: {
slack: {
enabled: true,
botToken: "xoxb-...",
appToken: "xapp-..." // For Socket Mode
}
}
}Features
| Feature | Support |
|---|---|
| Direct Messages | ✓ |
| Channel Mentions | ✓ |
| Threads | ✓ |
| File Sharing | ✓ |
| Slash Commands | ✓ |
Activation
By default, the bot responds when:
- Mentioned with
@bot-name - In direct messages