StyloDocs
Workflow blocks

Reply to Slack Command

Reply to the Slack slash command that started this workflow

View as Markdown

slack/reply-to-command — Reply to the Slack slash command that started this workflow.

Where it appears

The Reply to Slack Command block lives in the Integrations group of the Workflow Builder.

Fields

FieldTypeRequiredDefaultDescription
texttext (multi-line, supports references)No—Reply text. Supports Slack mrkdwn. When you also send blocks, this is the notification and screen-reader fallback. Use literal text or <StepName.field>.
responseTypeselectNoephemeralWho sees the reply. Slack posts in-channel replies as a normal message in the channel the command was run in. Options: ephemeral, in_channel.
blockscodeNo—Optional Block Kit blocks for a richer layout, as a JSON array (at most 50). Design them in Slack's Block Kit Builder.
replaceOriginaltoggleNofalseReplace this workflow's previous reply to the command instead of adding a new message. Slack never replaces the user's own command.
responseUrltext (supports references)No—Leave blank to reply to the command that started this workflow. A response URL accepts at most 5 replies within 30 minutes of the command.

Inputs and outputs

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

Outputs

Reference an output downstream with <Reply To Slack Command.field>.

NameTypeDescription
successbooleanWhether Slack accepted the reply
responseTypestringVisibility the reply was sent with

Example

A minimal configuration for this block:

{
  "type": "slack/reply-to-command",
  "config": {
    "responseType": "ephemeral",
    "replaceOriginal": false
  }
}

On this page