Creating a bot integration with the Slack channel

You can deploy a chatbot on IBM RPA on premises. Learn how to create a bot integration with the Slack™ channel.

Before you begin

  1. Create a chatbot instance. See Creating a chatbot instance for instructions.
  2. Create a chat mapping for your IBM RPA chatbot script. See Creating a chat mapping for instructions.


Create a bot in the Slack

  1. Login or sign in to your Slack account External link.
  2. Create an Slack application External link.
    1. From the Create an app, click From scratch.
    2. Enter the Slack application name.
    3. Select the name of your development team.
  3. Add a redirect URL. See Add a new redirect URL External link for instructions.
  4. From the Features menu, click App Home at the Slack™ API page.
    1. Click Edit to edit the app display name. Use the bot handle equal to the chosen to create the chatbot instance in the Default username field.
    2. Click the Save button.
    3. Select Always Show My Bot as Online to On.
  5. Add events subscriptions to the bot. See Subscribe to Bot Events External link for instructions. Use the Bot handle you provided as the default username previously.
  6. Optional: Add Slack-specific functionalities to the bot. See Add and configure interactive messages External link for instructions.
  7. Get and save the Client ID, Client Secret, and Signing Secret data. See Copy your app information External link for instructions.

Configure your bot in Azure

  1. Open the Azure™ portal External link.
  2. Go to your resources and click the Azure Bot you want.
  3. From the Settings menu, click Channels > Slack button.
  4. Enter the following data in the displayed fields:
    • Client ID
    • Client Secret
    • Signing Secret
    • Optional: Landing Page URL

What to do next

Test your Slack™ bot integration:

  1. Log in to the Slack workspace, for example, http://<YOUR_WORKSPACE>
  2. See the bot listed under the Apps section.
  3. Write a message and send it to the bot.