How Slack Message works
Slack Message sends a message to a Slack channel from your agent. The agent can determine content at runtime and pick the target channel when configured to do so. Messages are composed using a rich content payload that supports variables, dynamic text, and structured formatting — allowing the agent to craft contextual notifications without hardcoding copy. This makes Slack Message ideal for real-time alerts, status updates, and cross-functional communication triggered by upstream agent decisions.Configuration
Outputs
enum
required
Run outcome for the message send.
Values:
success, errorstring
required
Destination channel used for delivery.
string
required
Slack timestamp identifier for the posted message. Can be used to thread follow-up replies.
string
required
The ID of the Slack workspace where the message was posted.
enum
required
The sender type that was used to post the message.
string
The sender identity used, if one was configured.
string
Error details when sending fails. Empty on success.
Use Cases
Escalation AlertBest Practices
Message Content- Use dynamic variables to inject account-specific context (company name, health score, owner) rather than generic text.
- Keep messages concise — include a clear subject line and actionable next step so recipients can triage quickly.
- Leverage structured formatting (bold, bullet points) to improve readability in busy channels.
- Use dedicated channels per function (e.g.,
#escalations,#sales-assist) to avoid noise in general channels. - When the agent selects the channel dynamically, constrain choices in the prompt to a known set of channel IDs.
- Pair channel selection with the
from_typesetting so messages appear from the right persona in each context.
- Monitor the
statusoutput to detect delivery failures and trigger fallback actions (e.g., email notification). - Validate that the target channel exists and the bot has posting permissions before enabling live runs.
- Use
message_tsto thread follow-up messages and avoid flooding a channel with separate top-level posts.