Send an immediate response to a user’s slash command. If your flow runtime is greater than three seconds, use the Respond to Command - Delayed action instead. Slash commands are submitted in the message box in Slack, though they are technically not messages. They cause a payload of data to be sent from Slack to an app.

This action should be paired with a Slash Command event.

Unless otherwise indicated, field types are text.

Input

  • Command
    • Response URL: URL for response
    • Message Text_: content of the message to send to the user
    • Response Type (drop-down): visibility of the response (Visible to Channel or Visible to User)
    • Attachments (object): JSON code formatted according to the Slack API documentation