Executing SmartFlows Using Slack Slash Commands

Prerequisites

Creating the Slack App

Slack apps provide the packing for any functionality you wish to implement through Slack.

  1. Create a Slack workspace.
  2. Click your workspace name and select Settings & Administration -> Manage apps from the drop-down menu.

  1. Select Build from the menu options on the top right side of the slack app directory.
  2. Under Your Apps, click Create an App.
  3. In the Create a Slack App pop-up, enter a name for your app and select your workspace from the Development Slack Workspace drop-down list.

  1. Click Create App, and you will be brought to your application’s Settings Basic Information section.
  2. Under the Add Features and Functionality section, click Slash Commands (or select Slash Commands from the menu on the left).

  1. Click Create New Command.

  1. Configure the command:
    • Command: The command you enter to execute the SmartFlow.
    • Request URL: The URL of your Lambda function.
    • Short Description: A description that appears as a hint to the purpose of the function.
    • Usage Hint: When using parameters, this helps guide how to format the request.
  2. Click Save.