All super-powers

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.

Step 1

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.

ApprovalsActivitySettings

Slack

Connect your Slack account to allow agents to read and post messages on your behalf.

Agent Slack Policies

#
Slack Policy — default

Rules for Slack channels and messages

Step 2

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.

Slackdefault

Rules are evaluated top-to-bottom within each capability. The first matching rule wins. When no rules match, the system requires approval.

channels.list

Always allow
Require approval
Always block

users.list

Always allow
Require approval
Always block

messages.search

PatternAction
* (default fallback)Require approval
+ Add rule

messages.post

PatternAction
* (default fallback)Require approval
+ Add rule

messages.reply

PatternAction
* (default fallback)Require approval
+ Add rule

files.read

Always allow
Require approval
Always block
Save all rules
Step 3

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.
Step 4

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-approved
Found 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 threads
I have enough context. Drafting standup summaries for both channels ...
Step 5

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.

AB
AgentBlocksAPP2:14 PM

Slack message request (ref: 4f7c2d03)

Agent: standup-bot
Workspace: Acme Corp
Action: send message
Channel: #engineering

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.

✓ Approved
Message sent to #engineering
Channel: #engineering
Timestamp: 1718722462.003200
Done. Now sending the #product summary for approval ...
Step 6

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.

Agent activity — daily standup summarystarted 2:00 PM
2:00

Connected to Slack workspace

Acme Corp — channels.read, chat.write scopes

AUTO
2:01

Listed channels

24 channels accessible — 8 public, 16 private

AUTO
2:02

Read last 50 messages in #engineering

Gathered context on recent discussions and blockers

AUTO
2:03

Read thread: deployment pipeline discussion

12 replies — parsed CI/CD status updates

AUTO
2:05

Searched messages: "payment retry"

Found 8 relevant messages across 3 channels

AUTO
2:12

Send message to #engineering

Daily Standup Summary — Wed 18 June

⏳ WAITING
2:12

Send message to #product

Weekly feature progress update

⏳ WAITING

⚡ 2 messages awaiting approval

Reading channels and searching messages is automatic — only sending messages requires your sign-off.

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