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 Agent Forge agents to any Slack channel

  • Create webhook endpoints: Configure Slack bots as webhooks to trigger Agent Forge 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 Agent Forge, 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 markdown 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.

The Agent Forge Slack integration allows for powerful automation scenarios by sending notifications, alerts, updates, and reports directly to your team's communication hub. Your agents can deliver timely information, share process results, 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 Agent Forge with Slack, you can create agents that keep your team updated, enhance collaboration by automatically sharing insights, and reduce manual status updates, all within your existing Slack workspace.

Usage Instructions

Comprehensive Slack integration with OAuth authentication. Send formatted messages using Slack's markdown syntax.

Tools

slack_message

Send messages to Slack channels or users through the Slack API. Supports Slack markdown 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 markdown formatting)

Output

Parameter
Type
Description

ts

string

Message timestamp

channel

string

Channel identifier

canvas_id

string

Canvas identifier

title

string

Canvas title

messages

json

Message data

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
Description

ts

string

Message timestamp

channel

string

Channel identifier

canvas_id

string

Canvas identifier

title

string

Canvas title

messages

json

Message data

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
Description

ts

string

Message timestamp

channel

string

Channel identifier

canvas_id

string

Canvas identifier

title

string

Canvas title

messages

json

Message data

Notes

  • Category: tools

  • Type: slack

Was this helpful?