Channel Capabilities

Feature Supported Notes
Direct Messages ✓ Full support for 1:1 conversations
Group Chats ✓ Participate in group conversations
Media Messages ✓ Send and receive images, files
Voice Messages — Not available
Reactions ✓ React to messages with emoji
Threads ✓ Threaded conversation support
Native Commands ✓ Platform-specific slash commands

Access Control Policies

DM Policies

Control who can send direct messages to your bot:

allowlist

Only senders in the allowFrom list can interact with the bot.

pairing

Unknown senders receive a pairing code that admin must approve before access is granted.

open

All direct messages are processed (requires allowFrom: ["*"]).

Group Policies

Control which groups your bot participates in:

allowlist

Only groups in groupAllowFrom are processed.

open

Bot responds in all groups it is added to.

Setup Guide

  1. Create a Slack app at api.slack.com/apps
  2. Enable Socket Mode and create app token
  3. Add bot token scopes and install to workspace
  4. Set SLACK_BOT_TOKEN and SLACK_APP_TOKEN environment variables
  5. Configure slack in openclaw.json

Configuration Example

{
  "channels": {
    "slack": {
      "botToken": "${SLACK_BOT_TOKEN}",
      "appToken": "${SLACK_APP_TOKEN}",
      "dmPolicy": "allowlist"
    }
  }
}

Use Slack with AI Providers

Connect Slack to your preferred AI model provider:

Frequently Asked Questions

How do I set up Slack with OpenClaw?
To set up Slack: Create a Slack app at api.slack.com/apps. Enable Socket Mode and create app token. Add bot token scopes and install to workspace. Full configuration options are available in the openclaw.json file.
How do I control who can message my Slack bot?
Slack supports allowlist, pairing, open for DM access control and allowlist, open for groups. Use allowlists for maximum security or pairing mode for easy onboarding.
Does Slack support media messages?
Slack supports media including images, audio, video, documents. Maximum media size is configurable via mediaMaxMb setting (default: 4MB).
Can I use OpenClaw in Slack groups?
Slack supports group chats with configurable access policies. Groups and DMs are supported.