Trigger a flow when someone sends a slash command to a Slack bot. 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. For additional information, view the Slack API documentation.

This event should be paired with Respond to Command actions.

Output

  • Command
    • Slash Command: command that was sent to the Slack bot
    • Text: user-entered content after the command
    • Response URL: URL for command response
    • Team ID: team ID of the user who sent the command
    • Team Domain: user’s team domain name
    • Channel ID: ID of the channel where the command was sent
    • Channel Name: name of the channel where the command was sent
    • User ID: user’s unique Slack user ID
    • User Name: user’s Slack username