# How automatic assignment works

How dimmi chooses the next teammate in Round robin or Balanced mode, respects capacity, and handles waiting queues.

When an inbox uses **Round robin** or **Balanced** mode, dimmi assigns unassigned conversations to available teammates automatically so new chats never sit untouched. Turn on a mode in [Inboxes and assignment](/inbox/inboxes-and-assignment/).

## When dimmi runs assignment

dimmi looks for an available teammate whenever an unassigned conversation:

- Starts from a new customer message
- Reopens after being closed
- Moves to a different team
- Leaves a teammate whose status is **Away and reassigning**

dimmi skips chats that are closed, snoozed, spam, deleted, or from a blocked customer, as well as threads the **dimmi agent** or a **workflow** is still handling.

## Who can receive a conversation

First, dimmi builds the candidate pool from the conversation's team. If no team is set, it uses the inbox's **Default team** (or every active teammate if the inbox has no default team).

A teammate in that pool can take the conversation when all three are true:

- **Available:** their status is **Active** (or **Away** when the inbox turns on **Include away teammates**).
- **Under capacity:** they hold fewer open chats than their personal limit (or the inbox's **Capacity** limit).
- **Under channel cap:** they are below any limit set for that specific channel.

Only **open** conversations count toward capacity. Snoozed, closed, spam, and deleted threads do not take up a slot.

## How dimmi picks between teammates

- **Round robin:** picks the next available teammate after whoever received the last automatic assignment, moving in a steady rotation.
- **Balanced:** picks the available teammate with the fewest open chats. If two teammates tie, the one who has waited longest since their last automatic assignment gets it.

## When everyone is busy

If nobody in the main pool can take the conversation right now:

1. **Try overflow once:** dimmi checks the inbox's **Overflow team** using the same availability and capacity rules.
2. **Hold in the queue:** if nobody there is free either, the conversation stays with its team and waits. Its timeline notes why it is waiting.
3. **Retry automatically:** dimmi tries again whenever a teammate closes, snoozes, deletes, or hands off a chat, switches back to **Active**, and once every minute.

Waiting conversations are handed out in the inbox's **Queue order**. Any teammate can still pick up or assign a waiting chat by hand at any time.

---

Index of all dimmi docs: https://trydimmi.com/llms.txt (full text: https://trydimmi.com/llms-full.txt)
