Slack Message Block

Convert markdown to Slack message format

The Slack Message block is designed to convert markdown text into a format that is compatible with Slack messages. This functionality is particularly useful for integrating formatted text into Slack channels directly from Scout workflows.

Configuration (Required)

Markdown
codeRequired

The markdown parameter is a string input that defines the markdown text to be converted into Slack message format. This input supports Jinja templating, allowing dynamic insertion of variables and state data into the markdown text.

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

Outputs

The block outputs the formatted Slack message as a string, ready to be sent to a Slack channel.

Usage Context

Use this block when you need to format messages for Slack, ensuring they are styled correctly according to Slack’s requirements.

Best Practices

  • Ensure the markdown input is correctly formatted to achieve the desired Slack message styling.
  • Utilize Jinja templating to dynamically generate message content based on workflow state.