Create a Slack app
Create the app
Go to api.slack.com/apps and click Create New App → From scratch.Name it (e.g. “Mike”) and select your workspace.
Set OAuth scopes
In the sidebar, click OAuth & Permissions → Scopes → Bot Token Scopes.Add these scopes:
app_mentions:readchannels:historychannels:readchat:writeim:historyim:readim:writeusers:read
Enable Event Subscriptions
Go to Event Subscriptions and toggle it on.Set the Request URL to:
https://your-clawhq-domain.com/api/channels/slack/eventsSubscribe to these bot events:app_mentionmessage.im
Install to workspace
Go to OAuth & Permissions and click Install to Workspace.Copy the Bot User OAuth Token (starts with
xoxb-).Talk to your agent
Mention your bot in any channel:Troubleshooting
Events not arriving- Verify your ClawHQ URL is publicly accessible (not localhost)
- Check the Event Subscriptions page for delivery errors
- Ensure all required scopes are added and the app is reinstalled
- Your token may have expired — reinstall the app to get a fresh token