---
title: "Departments"
description: "Create departments in an environment, add agents, choose an assignment mode, and connect the department with a rule."
---

# Departments

> Create departments in an environment, add agents, choose an assignment mode, and connect the department with a rule.

## Introduction

Departments group the teams of your environment by function, such as Support or Sales. They give
structure to how you manage conversations. Each conversation goes to the agents best suited for it,
for a smoother workflow and better customer service.

## Create a department

To use departments, add them to your environment. Departments segment your teams by their roles
or functions. Go to your environment, then go to **Departments** and select **Create**.

### Configuration

- Name
- [Assignment modes](#assignment-modes)
- Members

### Add agents to department

Assign agents to specific departments, so that agents receive the conversations that match their
area of expertise.

1. Go to the department settings.
2. Select the department you want to manage.
3. Add agents to the department by selecting from your team list.

### Assignment modes

A department uses an assignment mode to distribute conversations among its agents. The modes make
the work more efficient and distribute the workload fairly.

1. **Manual Assignment**: Agents or supervisors manually assign conversations to specific agents
   within a department.
2. **Balanced Assignment**: The system automatically assigns conversations to agents based on their
   current workload, ensuring a balanced distribution.
3. **Round Robin**: The system assigns conversations to agents in turn, so each agent receives an
   equal number of conversations over time.

To limit how many conversations the system assigns to each agent, change the default number in the
[environment settings](https://docs.moveo.ai/docs/environments/environments-overview.md).

## Connect the department

To activate the department, select **Connect**. Moveo opens the rules section. Select the rule
that you want to change, or create a rule, and add the **Assign department** action.

To assign the department when the AI agent hands over a conversation, use a rule with the **After
the AI agent replies** trigger and a **Tag** condition. See
[Route a handover to a department](https://docs.moveo.ai/docs/environments/environments-rules.md#route-a-handover-to-a-department).

## Next steps

- [Human agents](https://docs.moveo.ai/docs/chat/human-agents.md)
- [Conversation routing and queues](https://docs.moveo.ai/docs/chat/chat-routing-and-queues.md)
- [Handover](https://docs.moveo.ai/docs/ai-agents/operations/handover.md)
