Integrate ChatBot with a Slack channel

Image of an author
Sylwia Kocur
5 min read
updated: Oct 28, 2024

Slack is a teamwork app for coordinating projects, organizing your office, and planning meetings. ChatBot can help you with that, automate repetitive tasks, answer the most common questions, and much more!

Key features:

  • Automate your daily tasks, and let the bot do the work for you.

  • Start your chat whenever you want, or call @ChatBot to begin a conversation.

  • The integration supports direct messages.

  • Your bot always replies in a thread.

How to integrate your bot with the Slack channelLink icon

The Slack integration needs to be activated from both sides - you must start in the ChatBot bot builder view and continue in the Slack application.

The integration does not support the typing indicator, delay, and welcome interaction, so you must remember to put the User input block at the beginning.

Check what Keywords/Machine Learning phrases you have in the User input block at the start of your bot flow - you need to use them correctly for the bot to start the chat later. You can also create an attribute with the Any validation type.

The integration does not support the typing indicator, delay, and welcome interaction, so you must remember to put the User input block at the beginning.

Check what Keywords/Machine Learning phrases you have in the User input block at the start of your bot flow - you need to use them correctly for the bot to start the chat later. You can also create an attribute with the Any validation type.

  1. Go to the bot. Choose Slack integration from the Integrations menu. Choose the Connect with Slack button.

  2. Sign in to the workspace in the pop-up window. Allow the bot to access the workspace.

  3. Disable the Mention a chatbot field (1) if you want the bot to answer all messages. Search for the channel (2) from your workspace. Click the Add integration button.

Mention a chatbot field is marked as active by default. If you leave this option, the bot will answer when you mention it. You can mention the bot using the “@ChatBot” command.
Mention a chatbot field is marked as active by default. If you leave this option, the bot will answer when you mention it. You can mention the bot using the “@ChatBot” command.

Our app might only fetch part of the list if you have many Slack channels. If you can’t find your channel on the list, you can just manually enter its ID.

Find the channel ID after you click on the channel’s name at the top of the window. The channel ID is at the bottom of the pop-up window.

Our app might only fetch part of the list if you have many Slack channels. If you can’t find your channel on the list, you can just manually enter its ID.

Find the channel ID after you click on the channel’s name at the top of the window. The channel ID is at the bottom of the pop-up window.

How to connect the bot to Direct MessageLink icon

Ensure the Mention field is disabled (1) for the bot to work with Direct Messages - the bot will be active for every message in this configuration. Choose the Direct Message (2) option from the channels list.

Click the Add integration button. The Direct Message channel will appear like any other channel on the list.

How to add the bot in the Slack appLink icon

Once the integration is active in the ChatBot app, you must add the bot to the Slack channel. To do so, you must use the list of applications available for your workspace.

The process of adding the bot to a Direct Message in Slack app is the same as adding the bot to a regular channel.
The process of adding the bot to a Direct Message in Slack app is the same as adding the bot to a regular channel.
  1. Go to your workspace, and enter the correct channel (1). Add the bot by clicking on the Members list (2) in the window’s upper right corner. Choose the Integrations section (3) and click the Add an app button (4).

  2. Click the Add button next to the ChatBot app. You will see the mention that ChatBot joined the channel.

  3. Test the bot. Remember to use @ChatBot mention if you left this field enabled in the configuration.

The bot will answer in the thread. We count each new message you send in the channel as a new chat. The bot will respond in the thread as a part of a single chat.
The bot will answer in the thread. We count each new message you send in the channel as a new chat. The bot will respond in the thread as a part of a single chat.

How to disable the Slack integrationLink icon

To disable the bot without erasing it completely from your Slack workspace, go to the Slack integration and switch the integration toggle to the off position.

How to delete the Slack integrationLink icon

To delete the integration from your workspace, go to the Slack integration and click the delete button under the channel list.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products