---
title: How to set up your departments' bot
description: The departments' bot optimizes your clients' messaging experience by seamlessly directing them to the departments they request when they contact your business through chat.
---

[Skip to content](https://help.b2chat.io/en/how-to-set-up-your-departments-bot#main-content)

- [English](https://help.b2chat.io/en/how-to-set-up-your-departments-bot)
- [Español](https://help.b2chat.io/como-configurar-el-bot-de-departamentos)

English

Show submenu for translations

![Logo-B2Chat-Consola.png\]](https://help.b2chat.io/hs-fs/hubfs/Logo-B2Chat-Consola.png?height=40&name=Logo-B2Chat-Consola.png)

- [Default HubSpot Blog](https://blog.b2chat.io/blog)

Open main navigation

Close main navigation

- [Default HubSpot Blog](https://blog.b2chat.io/blog)
- - [English](https://help.b2chat.io/en/how-to-set-up-your-departments-bot)
    - [Español](https://help.b2chat.io/como-configurar-el-bot-de-departamentos)
  
  
  
  
  
  
  English
  
  Show submenu for translations
- [Go to www.b2chat.io](https://www.b2chat.io/en/)

[Go to www.b2chat.io](https://www.b2chat.io/en/)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.b2chat.io/en?hsLang=en)
2. [Admin Essentials](https://help.b2chat.io/en/admin-essentials?hsLang=en)
3. [Departments](https://help.b2chat.io/en/admin-essentials?hsLang=en#departments)

# How to set up your departments' bot

## The departments' bot optimizes your clients' messaging experience by seamlessly directing them to the departments they request when they contact your business through chat.

In B2chat, departments fulfill the function of grouping agents 👥 to provide specialized customer service through chat💬. When setting up the **departments' bot**, chats are received in the **inbox** 📥 associated with the department previously requested by your contact👤.

Below, we will show you how to set up the general aspects of the departments' 🤖 bot's functionality *(to know how to create and set up your departments, click on this link ➡️)*.

### Steps to set up your bot

**Step 1**. Click on **Departments** located in the menu on the left-hand side of the platform. Once there, look for the **icon**🔧 and click on it.

![departmentwrech](https://help.b2chat.io/hs-fs/hubfs/departmentwrech.png?width=688&name=departmentwrech.png)

If you do not have your departments activated yet, you can do so by clicking on the **Activated Departments** slider button that we've highlighted in the image:

![departmentsliderbuttonact](https://help.b2chat.io/hs-fs/hubfs/departmentsliderbuttonact.png?width=688&name=departmentsliderbuttonact.png)

**Step 2.** In **General Settings**, there are four empty text fields✍️ at your disposal to fill out:

- **Welcome message:** This is the welcome message your clients will see before the available departments are presented accordingly.
- **Invalid selection message: **Message your customers see when they select an invalid option or an option that is not in the menu.
- **Redirecting to agent message (because of too many invalid selections):** When the client reaches the maximum number of invalid selections, this message will go out before it is directed to an agent 👥.
- **Max. invalid selections before redirecting to agent: **Here you can indicate the number of invalid selections before the client is directed to an agent. This is useful so that users who are not familiar with chatbots do not get lost and are serviced accordingly.

**Step 3**. Once you finish filling in each of the fields, click **Save 💾** and you will be redirected to the initial **Departments** page.

                                 

                                           ***Perfect! You can now start using your bot 🤖.***

 

- [Getting Started](https://help.b2chat.io/en/getting-started?hsLang=en#main-content)
  
  
  
  
  
    - [Getting started](https://help.b2chat.io/en/getting-started?hsLang=en#getting-started)
- [Agent Essentials](https://help.b2chat.io/en/agent-essentials?hsLang=en#main-content)
  
  
  
  
  
    - [Console (Agents)](https://help.b2chat.io/en/agent-essentials?hsLang=en#console-agents)
- [Admin Essentials](https://help.b2chat.io/en/admin-essentials?hsLang=en#main-content)
  
  
  
  
  
    - [Audit](https://help.b2chat.io/en/admin-essentials?hsLang=en#audit)
    - [Service Rating Chatbot](https://help.b2chat.io/en/admin-essentials?hsLang=en#service-rating-chatbot)
    - [Channels](https://help.b2chat.io/en/admin-essentials?hsLang=en#channels)
    - [Departments](https://help.b2chat.io/en/admin-essentials?hsLang=en#departments)
    - [Reports](https://help.b2chat.io/en/admin-essentials?hsLang=en#reports)
    - [FAQ Chatbot](https://help.b2chat.io/en/admin-essentials?hsLang=en#faq-chatbot)
    - [General settings](https://help.b2chat.io/en/admin-essentials?hsLang=en#general-settings)
    - [Contacts](https://help.b2chat.io/en/admin-essentials?hsLang=en#contacts)
    - [Users](https://help.b2chat.io/en/admin-essentials?hsLang=en#users)
    - [Schedules](https://help.b2chat.io/en/admin-essentials?hsLang=en#schedules)
    - [Subscriptions](https://help.b2chat.io/en/admin-essentials?hsLang=en#subscriptions)
    - [Chats management](https://help.b2chat.io/en/admin-essentials?hsLang=en#chats-management)
    - [Send bulk messages Whatsapp](https://help.b2chat.io/en/admin-essentials?hsLang=en#send-bulk-messages-whatsapp)
    - [Tags](https://help.b2chat.io/en/admin-essentials?hsLang=en#tags)
- [FAQs](https://help.b2chat.io/en/faqs?hsLang=en#main-content)
  
  
  
  
  
    - [Users](https://help.b2chat.io/en/faqs?hsLang=en#users)

- [Default HubSpot Blog](https://blog.b2chat.io/blog)

[![Chill listening crop-3](https://help.b2chat.io/hs-fs/hubfs/logo-1.png?width=24&height=24&name=logo-1.png "Chill listening crop-3")](http://www.b2chat.io)

Help Center b2chat.io

Copyright © 2026, b2chat.io