StyloDocs
Workflow blocks

Send Slack Message

Send a message to a Slack channel

View as Markdown

slack/send-message — Send a message to a Slack channel.

Where it appears

The Send Slack Message block lives in the Integrations group of the Workflow Builder. Connect the Slack integration before adding it.

Fields

FieldTypeRequiredDefaultDescription
slackChanneltext (supports references)YesTarget Slack channel, given as a #channel-name or a channel ID (e.g. C01234567). Use literal text or <StepName.field>.
slackMessagetext (multi-line, supports references)YesText of the Slack message to post. Supports Slack mrkdwn formatting. Use literal text or <StepName.field> to reference upstream content.

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <Send Slack Message.field>.

NameTypeDescription
successbooleanWhether message was sent successfully
tsstringTimestamp of the message
channelstringChannel where message was sent
errorstringError message if sending failed

Example

A minimal configuration for this block:

{
  "type": "slack/send-message",
  "config": {
    "slackChannel": "<PreviousStep.field>",
    "slackMessage": "<PreviousStep.field>"
  }
}

Limits and failure modes

  • Requires a connected Slack integration. Calls fail if that integration is disconnected or its authorization has expired.
  • Required fields (slackChannel, slackMessage) must be set, or the block fails validation before it runs.
  • On failure the error output is populated; downstream blocks that reference other outputs may not receive values.

On this page