How to Connect OpenClaw to Slack in 2026
Connect OpenClaw to Slack in 2026. Full guide covering Slack app creation, OAuth scopes, event subscriptions, and deploying your AI agent to a Slack workspace.
OpenClaw Slack integration brings your AI agent directly into your team's workspace. Whether you're using it as a personal productivity tool, a shared team assistant, or an automated workflow trigger, running OpenClaw as a Slack bot is remarkably powerful. This guide covers the complete 2026 setup process.
Step 1: Create a Slack App
- Visit api.slack.com/apps and click Create New App
- Choose From scratch
- Name your app (e.g., "OpenClaw Agent") and select your workspace
- You're now in the Slack app configuration dashboard
Step 2: Configure OAuth Scopes
Navigate to OAuth & Permissions → Scopes → Bot Token Scopes and add:
channels:history— read messages in channelschannels:read— list channelschat:write— send messagesim:history— read direct messagesim:read— list DM conversationsapp_mentions:read— receive @mentionsusers:read— look up user info
Step 3: Enable Event Subscriptions
Navigate to Event Subscriptions and toggle it on. Your Request URL should be your OpenClaw instance's public URL followed by /webhook/slack (e.g., https://yourdomain.com/webhook/slack).
Subscribe to these bot events:
message.im— direct messagesapp_mention— @mentions in channels
Step 4: Install the App
Navigate to OAuth & Permissions → Install to Workspace. After installing, copy the Bot User OAuth Token (starts with xoxb-).
Step 5: Configure OpenClaw
{
"channels": {
"slack": {
"enabled": true,
"bot_token": "xoxb-your-token-here",
"signing_secret": "your-signing-secret",
"webhook_path": "/webhook/slack"
}
}
}
The signing secret is found in Basic Information → App Credentials.
Step 6: Test Your Integration
Restart OpenClaw and send a DM to your bot in Slack. You can also @mention it in any channel where it's been added.
Team Workspace Usage
Add your OpenClaw bot to specific Slack channels by inviting it: /invite @YourBotName. The bot responds to direct messages automatically and to @mentions in channels.
Security Note
Slack's signing secret verification ensures that webhook events actually come from Slack, preventing spoofed requests from triggering your agent. OpenClaw validates this automatically using the signing_secret.
Frequently Asked Questions
Can OpenClaw post proactively to Slack channels?
Yes. Your agent can post scheduled updates or alerts to any channel it's a member of, using the Slack Web API chat.postMessage method. This is configured via the scheduler in openclaw.json.
Does OpenClaw work with Slack Connect (cross-workspace channels)?
Yes, with the same event subscriptions. Slack Connect channels appear identically to regular channels from the bot's perspective.
What's the difference between Socket Mode and HTTP webhooks for Slack?
Socket Mode doesn't require a public URL — it's useful for local development. HTTP webhooks (covered in this guide) are required for production deployments. nacre.sh automatically configures HTTP webhooks for your instance.
nacre.sh
Run OpenClaw without the server headaches
Dedicated instance, automatic TLS, nightly backups, and 290+ LLM integrations. Live in under 90 seconds from $12/month.
Deploy your agent →