Respond to Command - Delayed

Send a delayed 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 also be added to your Flow and used within three seconds of the start of your Flow.

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

  1. Place a Respond to Command - Real Time action card at the beginning of your Flow, preferably as the first card.

  2. Set the Respond to Command - Real Time card to run within three seconds of the start of the Flow.

  3. On the Respond to Command - Real Time card, in the Response Type dropdown, select Visible to Channel.

  4. On the Respond to Command - Real Time card, don't add any values to the Message Text and Attachments fields .

  5. Place the Respond to Command - Delayed card in the Flow, and use this card for the message with which you will respond in the channel. The two Respond to Command cards don't need to be in adjacent positions in the Flow, but the Respond to Command - Delayed card cannot precede the Respond to Command - Real Time card.

If you want to respond to the command immediately, use the Respond to Command - Real Time card by itself in a Flow. See Respond to Command - Real Time.

Input

Field Definition Type Required
Command
Response URL URL for response String FALSE
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