Slack Message Post Block

Post messages to Slack channels or threads from Scout workflows

The Slack Message Post block enables users to send messages to specified Slack channels or threads within Scout workflows. This integration facilitates seamless communication and updates within Slack directly from Scout workflows. Users can customize the message content, specify the channel or thread, and set the username and icon for the message post.

Configuration (Required)

Slack Integration
string

Select which Slack workspace to post to. This field fetches available options from the integration service.

Channel ID
stringRequired

The ID of the channel to post the message to. This field supports Jinja templating for dynamic channel selection.

Thread ID
string

The ID of the thread to post the message to. If not specified, the message will be posted as a new thread. This field supports Jinja templating for dynamic thread selection.

Slack Message
stringRequired

The content of the message to be posted. This field supports Jinja templating for dynamic message content.

Username
string

The username to post the message as. Default is “Scout”. This field supports Jinja templating for dynamic username customization.

Icon URL
string

The URL of the icon to post the message as. Default is an empty string. This field supports Jinja templating for dynamic icon customization.

See Workflow Logic & State > State Management for details on using dynamic variables in this block.

Outputs

The block outputs the response from Slack after posting the message, in JSON format. This response includes details about the posted message, such as its timestamp and channel ID.

Usage Context

Use this block to send messages to Slack channels or threads for notifications, alerts, or updates from within your Scout workflows.

Best Practices

  • Ensure the channel ID and integration details are correct to avoid posting errors.
  • Utilize Jinja templating for dynamic message content, channel, and thread IDs.
  • Customize the username and icon URL to align with your organization’s branding.
Built with