Documentation Index
Fetch the complete documentation index at: https://docs.wednesdayai.dev/llms.txt
Use this file to discover all available pages before exploring further.
Slack
WednesdayAI connects to Slack via a Slack app integration. The default mode is Socket Mode (uses an outbound WebSocket from the gateway — no inbound webhook URL needed). HTTP Events API mode is also supported for server setups.Quick setup (Socket Mode)
1. Create a Slack app:- Go to api.slack.com/apps → Create New App → From scratch
- Under Settings → Socket Mode: enable Socket Mode, generate an App Token with
connections:writescope → copy thexapp-...token - Under OAuth & Permissions: install the app to your workspace → copy the Bot Token (
xoxb-...) - Under Event Subscriptions: enable Events API and subscribe to these bot events:
app_mention,message.channels,message.groups,message.im,message.mpimreaction_added,reaction_removed
- Under App Home: enable the Messages Tab for DMs
SLACK_APP_TOKEN and SLACK_BOT_TOKEN.
3. Start the gateway:
HTTP Events API mode
https://your-gateway-host/slack/events. Multi-account HTTP setups need distinct webhookPath per account.
Access control
DM policy
Channel policy
C... part.
Slash commands
Native slash command auto-mode is off for Slack (unlike Discord/Telegram). Enable explicitly:/status — the gateway registers /agentstatus instead.
Live streaming
- Agents and AI Apps feature enabled in the Slack app settings
assistant:writescope for the bot- A reply thread available (follows
replyToMode)
Reply threading
Required Slack app scopes
Bot Token Scopes (required):chat:write, channels:history, channels:read, groups:history, im:history, im:read, im:write, mpim:history, mpim:read, mpim:write, users:read, app_mentions:read, assistant:write, reactions:read, reactions:write, pins:read, pins:write, emoji:read, commands, files:read, files:write
Troubleshooting
Bot not responding in channels
Bot not responding in channels
- Check
groupPolicy— if"allowlist", the channel must be inchannelsmap - Check
requireMention— by default the bot must be@mentionedin channels - Check
usersin the channel config — sender must be in the list (if set) - Run
openclaw channels status --probeto verify connectivity
Socket Mode not connecting
Socket Mode not connecting
Verify both the
xapp-... (App Token) and xoxb-... (Bot Token) are correct and that Socket Mode is enabled in the Slack app settings.DM messages ignored
DM messages ignored
Check
dm.enabled (default: true) and dmPolicy. If "pairing", approve pending requests: openclaw pairing list slack.