Enabling Slack in a chatbot application - Documentation for BMC Helix Virtual Agent 21.05

Task 3: Subscribe to Slack event and configure interactive components

You must subscribe to events in Slack to receive notifications for these events, such as when the end user posts a message. You also configure the interactive components in Slack such as buttons, menus, and date pickers. 

  1. Subscribe to Slack events. 

    1. Navigate to the application that you created in Slack.
    2. In the left pane, under the Features menu, select Event Subscriptions.
    3. In the Enable Events section, select the Enable Events toggle button.
    4. In Request URL, enter the webhook URL that you copied earlier.
    5. Click Subscribe to bot events and add message.im.
    6. In Subscribe to events on behalf of users, ensure that you have not added any Workspace event.

    The following image shows the bot event that you must subscribe:

  2. Configure the interactive components. 

    1. Navigate to the application that you created in Slack.
    2. In the left pane, under the Features menu , select Interactivity & Shortcuts.
    3. In Interactivity, select the Interactivity toggle button.
    4. In Request URL, specify the webhook URL that you copied earlier, and save the changes.
    5. Reinstall the app.

  3. (If you are using Slack Enterprise Grid), under Features, select App Home
  4. In the Show Tabs section, select Allow users to send Slash commands and messages from the messages tab

    The following image shows the Show Tabs section:


You have now configured Slack to work with BMC Helix Virtual Agent.

You Might Also Like