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 Klyntos agents to any Slack channel
- Create webhook endpoints: Configure Slack bots as webhooks to trigger Klyntos 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 Klyntos, 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 Klyntos 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β
Integrate Slack into the workflow. Can send messages, create canvases, and read messages. Requires OAuth. Can be used in trigger mode to trigger a workflow when a message is sent to a channel.
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 |
channel | string | Yes | Target Slack channel (e.g., #general) |
text | string | Yes | Message text to send (supports Slack mrkdwn formatting) |
Outputβ
Parameter | Type | Description |
---|---|---|
ts | string | Message timestamp |
channel | string | Channel ID where message was sent |
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 |
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 | Description |
---|---|---|
canvas_id | string | ID of the created canvas |
channel | string | Channel where canvas was created |
title | string | Title of the canvas |
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 |
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 | Description |
---|---|---|
messages | array | Array of message objects from the channel |
Notesβ
- Category:
tools
- Type:
slack