Slack
Send messages to Slack
Slack is a business communication platform that offers teams a unified place for messaging, tools, and files.
With Slack, you can:
- Automate agent notifications: Send real-time updates from your Sim agents to any Slack channel
- Create webhook endpoints: Configure Slack bots as webhooks to trigger Sim workflows from Slack activities
- Enhance agent workflows: Integrate Slack messaging into your agents to deliver results, alerts, and status updates
- Create and share Slack canvases: Programmatically generate collaborative documents (canvases) in Slack channels
- Read messages from channels: Retrieve and process recent messages from any Slack channel for monitoring or workflow triggers
In Sim, the Slack integration enables your agents to programmatically interact with Slack in several ways as part of their workflows:
- Send messages: Agents can send formatted messages to any Slack channel or user, supporting Slack's mrkdwn syntax for rich formatting.
- Create canvases: Agents can create and share Slack canvases (collaborative documents) directly in channels, enabling richer content sharing and documentation.
- Read messages: Agents can read recent messages from channels, allowing for monitoring, reporting, or triggering further actions based on channel activity.
This allows for powerful automation scenarios such as sending notifications, alerts, updates, and reports directly to your team's communication hub, sharing structured documents, or monitoring conversations for workflow triggers. Your agents can deliver timely information, share results from processes they've completed, create collaborative documents, or alert team members when attention is needed. This integration bridges the gap between your AI workflows and your team's communication, ensuring everyone stays informed without manual intervention. By connecting Sim with Slack, you can create agents that keep your team updated with relevant information at the right time, enhance collaboration by sharing insights automatically, and reduce the need for manual status updates—all while leveraging your existing Slack workspace where your team already communicates.
Usage Instructions
Comprehensive Slack integration with OAuth authentication. Send formatted messages using Slack's mrkdwn syntax.
Tools
slack_message
Send messages to Slack channels or users through the Slack API. Supports Slack mrkdwn formatting.
Input
Parameter | Type | Required | Description |
---|---|---|---|
authMethod | string | No | Authentication method: oauth or bot_token |
botToken | string | No | Bot token for Custom Bot |
accessToken | string | No | OAuth access token or bot token for Slack API |
channel | string | Yes | Target Slack channel (e.g., #general) |
text | string | Yes | Message text to send (supports Slack mrkdwn formatting) |
Output
Parameter | Type |
---|---|
ts | string |
channel | string |
slack_canvas
Create and share Slack canvases in channels. Canvases are collaborative documents within Slack.
Input
Parameter | Type | Required | Description |
---|---|---|---|
authMethod | string | No | Authentication method: oauth or bot_token |
botToken | string | No | Bot token for Custom Bot |
accessToken | string | No | OAuth access token or bot token for Slack API |
channel | string | Yes | Target Slack channel (e.g., #general) |
title | string | Yes | Title of the canvas |
content | string | Yes | Canvas content in markdown format |
document_content | object | No | Structured canvas document content |
Output
Parameter | Type |
---|---|
canvas_id | string |
channel | string |
title | string |
slack_message_reader
Read the latest messages from Slack channels. Retrieve conversation history with filtering options.
Input
Parameter | Type | Required | Description |
---|---|---|---|
authMethod | string | No | Authentication method: oauth or bot_token |
botToken | string | No | Bot token for Custom Bot |
accessToken | string | No | OAuth access token or bot token for Slack API |
channel | string | Yes | Slack channel to read messages from (e.g., #general) |
limit | number | No | Number of messages to retrieve (default: 10, max: 100) |
oldest | string | No | Start of time range (timestamp) |
latest | string | No | End of time range (timestamp) |
Output
Parameter | Type |
---|---|
messages | string |
Block Configuration
Input
Parameter | Type | Required | Description |
---|---|---|---|
operation | string | Yes | Operation |
Outputs
Output | Type | Description |
---|---|---|
ts | string | ts output from the block |
channel | string | channel output from the block |
canvas_id | string | canvas_id output from the block |
title | string | title output from the block |
messages | json | messages output from the block |
Notes
- Category:
tools
- Type:
slack