Slack Bot Integration via Decisions

Prev Next

Overview

A Slack Bot integration can be created in Decisions (available in version v9.17 and above) to allow communication between Slack and Decisions Flows. When a user mentions the bot in Slack, the message, channel, and user details are passed into Decisions, where a Flow processes the information and returns a response.

This enables automation and interaction with Decisions directly from Slack, such as triggering workflows or retrieving data through chat commands.


Prerequisite:

  • Slack Module installed and added as a project dependency.
  • App Level Token and Bot Token obtained from the Slack application (already configured on the Slack side).

Example

  1. Navigate to System > Integrations > Bots.
  2. Click CREATE SLACK BOT.
  3. On the Slack Bot Configuration window, provide a Bot Name and the required credentials:
    • App Level Token (scoped for connections:write)
    • Bot Token (OAuth token generated for the Slack Bot)
    • Under the Response Typesetting, select how the bot should reply:
      • Channel – sends the response in the channel.
      • Thread – sends the response in a message thread.
  4. Under the Handler Flow setting, select a Flow that uses the SlackBot Message Handler behavior.
    This Flow processes the incoming message and defines the bot’s response.
  5. Click SAVE to save the configuration.

Once the bot is created, add it to a Slack channel. When the bot is mentioned (for example, @YourBotName), the configured Flow in Decisions will execute and respond according to the logic defined in the Handler Flow (e.g., displaying a pop-up, sending a message, or triggering another process).

Example: Slack Bot responding to a user mention in a channel.


For further information on Integrations, visit the Decisions Forum.