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.
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:
-
Place a Respond to Command - Real Time action card at the beginning of your flow, preferably as the first card.
-
Set the Respond to Command - Real Time card to run within three seconds of the start of the flow.
-
On the Respond to Command - Real Time card, in the Response Type dropdown, select Visible to Channel.
-
On the Respond to Command - Real Time card, don't add any values to the Message Text and Attachments fields .
-
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. |
Text |
FALSE |
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 |