Slack
Connect DOSClaw AI agents to your enterprise Slack workspaces. Deploy internal knowledge base assistants, automated triage bots, incident response monitors, and productivity tools.
Capabilities
Channel Mentions: Mention
@AgentNamein any public or private channel to trigger an answer.Direct Messages: 1-on-1 conversations with employees for private tasks, HR inquiries, or IT helpdesk.
Threaded Replies: Keeps channel conversations neat by replying directly in the message thread.
Block Kit UI: Structured visual messages, action buttons, dropdown menus, and modal dialogs.
Multi-Tenant OAuth: Single-click authorization for your entire workspace or enterprise grid.
Prerequisites
Administrative or App Installation permissions in your target Slack workspace.
A Slack account associated with your organization.
Connection Guide
Option 1: 1-Click Slack App Installation (Recommended)
In the DOS.AI Dashboard, open your Agent $\rightarrow$ Channels $\rightarrow$ Slack.
Click Add to Slack.
You will be redirected to Slack's official authorization screen.
Select your target Slack Workspace from the top-right corner.
Review the requested permissions:
app_mentions:read: Listen to@agentmentions in channels.chat:write: Send messages and replies.im:history&im:write: Send and receive direct messages.channels:history&groups:history: Contextual thread continuity.
Click Allow. The app will automatically register webhooks and secure credentials in the DOS-Me Vault.
Option 2: Custom Slack App (Enterprise / Internal App)
For enterprises requiring custom internal Slack App credentials:
Create an app on api.slack.com/apps.
Set the Request URL for Event Subscriptions to:
Subscribe to bot events:
app_mention,message.im.Install the app to your workspace and copy the Bot User OAuth Token (
xoxb-...) and Signing Secret.Paste these credentials into the custom fields in the DOS.AI Dashboard.
Channel Setup in Slack
Once installed:
In any Slack channel, type
/invite @YourAgentNameto add the bot to the channel.Tag the bot in a message:
The bot will automatically respond in a threaded reply, maintaining thread context for follow-up questions.
Security & Access Control
Internal Data Protection: Bot interactions adhere to organization-level tenant boundaries.
Channel Whitelist: Restrict bot operation to specific Slack channels (e.g.
#help-it,#ask-marketing).Prompt Injection Defense: Default Scope Guard filters prevent external manipulation when bots interact with mixed channel audiences.
Troubleshooting
"dispatch_failed" on mention
Bot not invited to channel
Run /invite @AgentName in the channel.
URL Verification failed
Webhook endpoint mismatch
Ensure you used https://api.dos.ai/v1/channels/slack/events.
Bot doesn't reply in DMs
message.im event missing
Verify message.im is checked under Event Subscriptions in Slack App settings.
Last updated