# Using Teams in Chatflow

## Interactive Guide

{% embed url="<https://app.arcade.software/share/3akt51JQO5kfc5931SVp>" %}

***

### What is Assign Chat?

The Assign Chat block allows you to automatically distribute incoming conversations to the right team or department inside your BotPenguin workspace.

This ensures structured routing, balanced workload distribution, and faster response times without manual intervention.

You can configure assignment rules based on **Department** or **Team Members**, along with smart filters like business hours and agent availability.

**Navigation -** Bots > Select Bot > Edit Your Chat Flow > Assign Chat

***

### Benefits of Assign Chat

* ⚡ Automatically route chats to the right team.
* 🔄 Distribute workload evenly using Round Robin.
* 🏢 Assign conversations department-wise.
* 🕒 Filter assignments based on business hours.
* 🟢 Prevent chats from going to offline agents.

### How to Use Assign Chat

***

#### Configure Assign Chat Logic

1. Click on Bots.
2. Select a bot from your dashboard.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FIq7VKHd2GJL00nsOHV7m%2Fimage.png?alt=media&#x26;token=b6ca30b9-e0ed-4cc8-81af-ef2f08ba9498" alt=""><figcaption></figcaption></figure>

3. After selecting the bot then menu will be expanded.
4. Click on Chatflows.
5. Click on the flow name to select.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FtCQB0N5Amm6PAUReUqXy%2Fimage.png?alt=media&#x26;token=d23e2ec5-4224-4654-acd7-9efab986b1d4" alt=""><figcaption></figcaption></figure>

6. Inside the canvas, search for **“Assign Chat”** and Click on Assign Chat Component to drop it in the Chatflow.

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2Ft5JSCOa1fo2ejEDQxHEU%2Fimage.png?alt=media&#x26;token=a8719cda-8537-4253-91a9-3baa35c1552f" alt=""><figcaption></figcaption></figure>

7. Customize the **“Assign Chat”** block by selecting how you want to assign chats:

* Based on Department
* Based on Team Members

8. If assigning by department, select a Department from the dropdown.
9. Select Assignment Logic

Currently available option:

* **“Round Robin”**

{% hint style="info" %}
Round-robin is the method used to distribute incoming conversations across a team. It automatically assigns conversations to selected coworkers on a cyclical basis. It basically rotates incoming conversations in the order they are received.
{% endhint %}

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2FEzN7OKnh8avD9HdsRvAY%2Fimage.png?alt=media&#x26;token=4a2a7463-e620-4b73-8927-8d8549f93e00" alt=""><figcaption></figcaption></figure>

10. Select the relevant checkbox options to filter assignment rules:

* “Do not assign to offline agents”
* “Assign only in business hours”

<figure><img src="https://1745791824-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAPDb8cKQtGlIAfgHjcsQ%2Fuploads%2F0l0De7nPq5Yf0JGdOpEV%2Fimage.png?alt=media&#x26;token=42eaf3d8-4c65-4bcc-b815-a3c526c876c3" alt=""><figcaption></figcaption></figure>

11. Click on **“Go to Next Message”** to complete the configuration.

Your assignment logic is now successfully set up.

***

🎉 Congratulations, you have successfully completed this section!

***

#### Assign Chat FAQs

<details>

<summary>What happens if no agent is online?</summary>

If “Do not assign to offline agents” is enabled and no agents are online, the chat will not be assigned until an eligible agent becomes available.

</details>

<details>

<summary>What is Round Robin assignment?</summary>

Round Robin distributes incoming chats evenly among selected agents in rotation order, ensuring balanced workload distribution.

</details>

<details>

<summary>Can I assign chats directly to specific team members?</summary>

Yes, you can choose assignment based on Team Members instead of Department during configuration.

</details>

<details>

<summary>What does “Assign only in business hours” do?</summary>

When enabled, chats will only be assigned during configured business hours. Outside those hours, assignment rules will not execute.

</details>

<details>

<summary>Can I edit the assignment logic later?</summary>

Yes, you can revisit the bot’s chat flow and update the Assign Chat block anytime.

</details>

<details>

<summary>Is manual assignment still possible after using Assign Chat?</summary>

Yes, administrators or authorized users can manually reassign chats if needed.

</details>

If you still have questions for our team, write to us at [**support@botpenguin.com**](mailto:support@botpenguin.com). We’ll get back to you within 48 hours.
