Slack Integration
The Slack integration lets AI agents post messages, read channel history, react to messages, and look up user information — all through AgentBridge's unified execute endpoint.
Connecting Slack #
Go to Dashboard → Tools → Slack and click Connect. Complete the Slack OAuth flow and select the workspace you want to authorise.
Available Tools #
| Tool name | Description | Auth scope |
|---|---|---|
slack_post_message | Post a message to a channel or DM | write |
slack_get_channel_history | Retrieve recent messages from a channel | read |
slack_add_reaction | Add an emoji reaction to a message | write |
slack_list_channels | List public channels in the workspace | read |
slack_get_user | Look up a user by ID or email | read |
Example — Post a Message #
typescript
const result = await agentbridge.execute({
tool: 'slack_post_message',
input: {
channel: '#engineering',
text: 'Deployment to production completed ✅',
blocks: [
{
type: 'section',
text: { type: 'mrkdwn', text: '*Deployment complete* — v2.4.1 is live.' },
},
],
},
});
Was this page helpful?