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.

Caution

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 String 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

About the elements of Okta Workflows

Slack API