Executing SmartFlows Using Slack Slash Commands

Prerequisites

Creating the Slack App

Slack apps provide the packing for any functionality you want 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.

The workspace name is selected and the menu options Settings & administration followed by Manage apps are highlighted

  1. From the menu options on the top right side of the Slack app directory, select Build.
  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.

A blank Create a Slack App pop-up window

  1. Click Create App. Your application’s Settings Basic Information section appears.
  2. Under the Add Features and Functionality section, click Slash Commands, or select Slash Commands from the menu on the left.

From the menu on the left side of the page the Slash Commands menu option is highlighted and on the Building Apps for Slack page in the middle of the screen the Slash Commands option is highlighted

  1. Click Create New Command.

A blank Create New Command pop-up window

  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.