💼

Slack Integration

Connect OpenClaw to Slack and have your AI assistant help your team.

TL;DR

  • Create a Slack App at api.slack.com
  • Enable Bot Token Scopes and install to workspace
  • Add bot token to openclaw.json
  • Time: ~10 minutes

Setup Steps

Step 1: Create a Slack App

  1. Go to api.slack.com/apps
  2. Click "Create New App" → "From scratch"
  3. Name your app (e.g., "OpenClaw AI")
  4. Select your Slack workspace

Step 2: Configure Bot Permissions

  1. Go to "OAuth & Permissions" in the sidebar
  2. Add these Bot Token Scopes:
    • channels:read
    • chat:write
    • groups:read
    • im:read
    • mpim:read
    • users:read
  3. Click "Install to Workspace"
  4. Copy the Bot User OAuth Token (starts with xoxb-)

Step 3: Configure openclaw.json

{
  "channels": {
    "slack": {
      "enabled": true,
      "botToken": "xoxb-your-token-here",
      "appToken": "xapp-your-app-token" // optional, for Socket Mode
    }
  }
}

Step 4: Start OpenClaw

openclaw start

Your Slack bot is now active! Mention @your-bot in a channel or send a DM to start chatting.

Features

Channel Support

Respond in channels, DMs, and group messages.

File Handling

Process and analyze file uploads from Slack.

Thread Replies

Continue conversations in threads.

Mention Triggers

Respond when mentioned in messages.