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 Slack-formatted message as a string, ready to be sent to a Slack channel.

Usage Context

Use this block to convert markdown text into a format that can be sent and correctly rendered in Slack messages. This is particularly useful when automating Slack notifications or messages that require specific formatting.

Best Practices

  • Ensure that the markdown text is correctly formatted to achieve the desired Slack message appearance.
  • Use Jinja templating to dynamically populate the markdown content with workflow state data.