Tutorial

OpenClaw + Slack Integration Guide

February 14, 20266 min readReviewed March 8, 2026

Bring AI assistance to your Slack workspace. OpenClaw can respond to mentions, DMs, and integrate with Slack workflows.

Prerequisites

  • OpenClaw installed and configured
  • Slack workspace admin access
  • Your LLM API key (Anthropic Claude or OpenAI)

Step 1: Create Slack App

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

Step 2: Configure OAuth Scopes

Under "OAuth & Permissions", add these scopes:

  • Bot Token Scopes:
    • chat:write - Send messages
    • channels:read - View public channels
    • groups:read - View private channels
    • im:read - View DMs
    • im:write - Send DMs
    • reactions:write - Add reactions

Step 3: Install App to Workspace

  1. Scroll to "OAuth Tokens for Your Workspace"
  2. Click "Install to Workspace"
  3. Slack will show permissions; click "Allow"
  4. Copy the Bot User OAuth Token (xoxb-...)
Save your token: Store it securely. You'll need it for OpenClaw configuration.

Step 4: Enable Events (Optional)

To receive real-time message events:

  1. Go to "Event Subscriptions" in your app
  2. Enable events: message.channels, message.groups, message.im
  3. Set the Request URL to your OpenClaw webhook endpoint

Step 5: Configure OpenClaw

# ~/.config/openclaw/config.yaml integrations: slack: enabled: true botToken: "xoxb-your-bot-token-here" signingSecret: "your-signing-secret" # Optional, for webhooks

Step 6: Start OpenClaw

# Start the daemon openclaw daemon start # Check status openclaw integrations status slack

Using OpenClaw in Slack

Direct Messages

Open the app and DM your bot. Any message will trigger an AI response.

Channel Mentions

In any channel, mention the bot:

@OpenClawBot help me understand this code

Thread Replies

The bot can reply in threads for contextual conversations:

# config.yaml integrations: slack: replyInThread: true

Advanced Configuration

Channel Filtering

# Only respond in specific channels integrations: slack: allowedChannels: - "ai-help" - "general" blockedChannels: - "announcements"

Custom Bot Name

# Override display name integrations: slack: displayName: "ClawBot" iconEmoji: ":claw:"

Troubleshooting

Bot Not Responding

  • Verify bot token in config is correct
  • Check bot is invited to the channel
  • Ensure daemon is running
  • Review logs: openclaw daemon logs

Webhook URL Verification Fails

  • Ensure URL is publicly accessible
  • Use ngrok for local testing: ngrok http 3000
  • Verify firewall allows incoming connections

Use Cases

  • Team Support: AI answers common questions in support channels
  • Code Review: AI provides feedback on posted code snippets
  • Knowledge Base: Query documentation from Slack
  • Task Management: Create and update tickets via conversation

Related Articles


References

  1. OpenClaw Official Documentation - https://docs.openclaw.ai/ - Accessed February 2026
  2. OpenClaw GitHub Repository - https://github.com/openclaw/openclaw - Accessed February 2026
  3. Slack API Documentation - https://api.slack.com/ - Accessed February 2026
  4. Slack App Manifest Guide - App Configuration - Accessed February 2026

Boost your Slack workspace

Add AI capabilities to your team's Slack today.

Get Started

Reference Trail

External sources surfaced from the underlying article content

  1. api.slack.com/appsapi.slack.com
  2. https://docs.openclaw.ai/docs.openclaw.ai
  3. https://github.com/openclaw/openclawgithub.com
  4. https://api.slack.com/api.slack.com
  5. App Configurationapi.slack.com
Back to ArchiveMore: TutorialsNext: OpenClaw Plugins & Extensions Guide