Workflow blocks
Send Slack Message
Send a message to a Slack channel
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
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
slackChannel | text (supports references) | Yes | — | Target Slack channel, given as a #channel-name or a channel ID (e.g. C01234567). Use literal text or <StepName.field>. |
slackMessage | text (multi-line, supports references) | Yes | — | Text 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>.
| Name | Type | Description |
|---|---|---|
success | boolean | Whether message was sent successfully |
ts | string | Timestamp of the message |
channel | string | Channel where message was sent |
error | string | Error 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
erroroutput is populated; downstream blocks that reference other outputs may not receive values.