Slash Command

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. See Slash commands.

This event should be paired with Respond to Command actions.

Output

  • Command

    • Slash Command: The command that was sent to the Slack bot.

    • Text: The user-entered content after the command.

    • Response URL: The URL for the command response.

    • Team ID: The team ID of the user who sent the command.

    • Team Domain: The user's team domain name.

    • Channel ID: The ID of the channel where the command was sent.

    • Channel Name: The name of the channel where the command was sent.

    • User ID: The user's unique Slack user ID.

    • User Name: The user's Slack username.

See also