$cd ../tutorials/
πŸ’¬ Messagingv1.2+15 min setup
$ cat slack-integration.md

openclaw.connect('slack')

/** Your AI teammate available 24/7 in every Slack workspace channel */

// Real-world workflows teams use
/daily-standup
// Auto-generate standup from yesterday's messages
@openclaw summarize #sales
// Channel summary on demand
Mention in a thread
// Get a concise reply without leaving context
/openclaw draft PR for this feature
// Kick off long-form tasks from Slack
step_01_slack_app.md

## Step 1: Create a Slack App

1.
Go to api.slack.com/apps β†’ Create New App
Choose 'From scratch'. Name it and pick your workspace.
2.
OAuth & Permissions β†’ Add Bot Token Scopes
Required scopes: chat:write, channels:read, channels:history, im:history, commands
3.
Install App to Workspace
Click 'Install to Workspace' β†’ Authorize. Copy the Bot User OAuth Token (starts with xoxb-).
4.
Enable Event Subscriptions
Request URL: https://your-openclaw-server/slack/events. Subscribe to: message.channels, app_mention
5.
Add to your channels
In Slack: /invite @openclaw to any channel you want it active in.
step_02_config.yaml

## Step 2: Configure OpenClaw

# openclaw/config.yaml
channels:
slack:
enabled: true
bot_token: "xoxb-your-token-here"
signing_secret: "your-signing-secret"
listen_on: "0.0.0.0:3000"
respond_to:
mentions: true
direct_messages: true
slash_commands:
summarize: true
daily_standup: true

// πŸ’‘ Tip: If you don't have a public URL, use ngrok or Cloudflare Tunnel to expose port 3000

example_messages.log

πŸ’¬ Example Messages

sarah Β· #engineering 09:01
/daily-standup
OpenClaw Β· 09:01
πŸ“‹ Yesterday's standup (from #engineering):
β€’ @alice shipped the auth refactor β€” merged to main
β€’ @bob: DB migration tested, deploying at 2pm
β€’ @carlos: blocked on design review for new dashboard
⚠ Blocker: @carlos needs design sign-off before EOD
carlos Β· #engineering 09:15
@openclaw summarize our last 20 messages in this thread
OpenClaw Β· 09:15
Thread summary: Team is debating between Zustand and Jotai for global state. Alice prefers Zustand for familiarity, Bob wants Jotai for smaller bundle. No decision reached yet β€” needs a vote.
$ cd ../tutorials/* END_OF_TUTORIAL */