Give your AI agent safe access to Slack
Your agent can read, search, and send messages in your Slack workspace. Every message flows through your approval rules before anything is posted — full control over what your agent says and where.
Connect your Slack workspace in the dashboard
Link your Slack workspace with one OAuth click inside the AgentBlocks dashboard. Your agent gets scoped access to read channels, search messages, and post with your approval. Revoke any time from your Slack admin settings.
Slack
Connect your Slack account to allow agents to read and post messages on your behalf.
Agent Slack Policies
Rules for Slack channels and messages
Configure your rules
Choose what your agent can do automatically, what needs your approval, and what's blocked. Reading channels can be automatic while posting messages always requires your sign-off.
Rules are evaluated top-to-bottom within each capability. The first matching rule wins. When no rules match, the system requires approval.
channels.list
users.list
messages.search
messages.post
messages.reply
files.read
Connect your workspace — one OAuth click
Authorise AgentBlocks to access your Slack workspace via Slack's standard OAuth flow. Your agent gets scoped permissions — read channels, search messages, and post with your approval. Revoke any time from your Slack admin settings.
❯ Set up AgentBlocks with Slack access. My API key is: sk-example_xxxxxxxxxxxxxxxxxxxxxxxx Docs: https://api.agentblocks.ai/agent-guide• Let me read the docs and discover my capabilities.• Slack capability is available. Checking connection ...$ curl -s -H "Authorization: Bearer sk_example_..." https://api.agentblocks.ai/v1/slack/status {"connected": true, "workspace": "Acme Corp", "scopes": ["channels:read", "chat:write", "search:read"]}Slack is connected to Acme Corp. I can read channels, search messages, and send messages with your approval.It reads channels and searches messages automatically
Listing channels, reading message history, following threads, and searching across your workspace are all auto-approved. Your agent gathers context from conversations without interrupting you.
❯ Read through #engineering and #product, then write a standup summary for each channel based on yesterday's activity.$ curl -s -H "Authorization: Bearer sk_example_..." https://api.agentblocks.ai/v1/slack/channels agentblocks: auto-approvedFound 24 accessible channels. Reading the relevant ones.• Reading #engineering — last 50 messages — auto-approved Found deployment discussion, 3 PR merges, and Sentry alert resolution• Following thread: deployment pipeline discussion — auto-approved 12 replies — CI/CD status updates parsed• Searching: "payment retry" — auto-approved 8 matches across #engineering, #incidents, #product• Reading #product — last 50 messages — auto-approved Feature launch updates, 2 customer feedback threadsI have enough context. Drafting standup summaries for both channels ...Sending messages requires your approval
When your agent wants to post a message, it drafts everything and waits. You see the target channel, the full message content, and can edit it before approving. Nothing is posted until you say so.
$ curl -X POST -H "Authorization: Bearer sk_example_..." -d '{"action": "send", "channel": "#engineering", "message": "Daily Standup Summary — Wed 18 June ..."}' https://api.agentblocks.ai/v1/slack/messages {"status": "pending_approval", "ref": "4f7c2d03"}▲ WAITING FOR APPROVAL ...Meanwhile ...
Get approval notifications on Slack, WhatsApp, via email, or wherever's convenient for you. See the full message and target channel before anything is posted. Edit the message in-line if you want to tweak the wording.
Slack message request (ref: 4f7c2d03)
Message preview:
Daily Standup Summary — Wed 18 June
Completed yesterday: Shipped payment retry logic (PR #482 merged), resolved 3 Sentry alerts in auth service.
Today: Load-test payment flow, start API rate-limiting design doc.
Blockers: None — staging deploy is green.
You approve, and the message is posted to #engineering instantly. Your agent moves on to the next channel.
✓ ApprovedMessage sent to #engineering Channel: #engineering Timestamp: 1718722462.003200Done. Now sending the #product summary for approval ...Then let it run
Your agent reads channels, follows threads, and searches your workspace for as long as it needs — all automatically. It only surfaces when there's a message to send. One tap to approve, and it keeps going.
Connected to Slack workspace
Acme Corp — channels.read, chat.write scopes
Listed channels
24 channels accessible — 8 public, 16 private
Read last 50 messages in #engineering
Gathered context on recent discussions and blockers
Read thread: deployment pipeline discussion
12 replies — parsed CI/CD status updates
Searched messages: "payment retry"
Found 8 relevant messages across 3 channels
Send message to #engineering
Daily Standup Summary — Wed 18 June
Send message to #product
Weekly feature progress update
⚡ 2 messages awaiting approval
Reading channels and searching messages is automatic — only sending messages requires your sign-off.
Explore other superpowers
Every integration works the same way — scoped access, approval controls, full audit trail.
Give your agent safe
Slack access today.
One OAuth click. One API key. Your agent handles the rest.
🦞 Works great with OpenClaw, Claude Cowork and Claude Code