Respond to Command - Real Time

Send an immediate response after you've entered a Slash Command in a Slack channel. This action should be paired with a Slash Command event card.

In order to avoid a timeout error, a Respond to Command - Real Time action card must be used within three seconds of the start of your flow.

If you want to respond to a Slash Command immediately:

  • Place this card at the beginning of your flow.

  • The card must run within three seconds of the start of your flow.

  • Don't place multiple Respond to Command - Real Time action cards in a flow; only the first card in a flow will run.

If you want a delay to the response to the Slash Command of more than three seconds after the start of your flow:

  • You must still use a Respond to Command - Real Time action at the beginning of your flow to avoid a timeout error.

  • Add a Respond to Command - Delayed action card later in the flow; see Respond to Command - Delayed.

Input

Field Definition Type Required

Command

Message Text Content of the message to send to the user.

Text

FALSE

Response Type Visibility of the response; options are Visible to Channel or Visible to User.

Dropdown

TRUE

Attachments JSON code formatted according to the Slack API documentation.

Object

FALSE

Related topics

Slack connector

Workflow elements

Slack API