> For the complete documentation index, see [llms.txt](https://partners.botpenguin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://partners.botpenguin.com/customer-platform-guidelines/teams/using-teams-in-chatflow.md).

# Using Teams in Chatflow

## Setting up Assign Chat logics

Step 1: Select a bot.

Step 2: Click on "Edit your Chat Flow".

Step 3: Inside canvas, search for "Assign Chat" and select the same to customize in your bot.

Step 4: Customize "Assign Chat" by selecting an option to assign chat based on Department or based on Team Members.

Step 5: Now select a department from the drop down.

Step 6: Now select an Assignment Logic according to which chat will be assigned. Currently we have one option which is "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 %}

Step 7: Select a checkbox which best suits you to filter out assignment rules. You can select "Do not assign to offline agents" and "Assign only in business hours".&#x20;

Step 8: Select "go to next message". And you are done setting up the assignment rules.

<figure><img src="/files/uZhfFTCZij45iF98KaaW" alt=""><figcaption><p>assign chat</p></figcaption></figure>

#### Need Help?

Please feel free to reach out to us at <mark style="color:$primary;"><support@botpenguin.com></mark>, in case of any questions or concerns.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://partners.botpenguin.com/customer-platform-guidelines/teams/using-teams-in-chatflow.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
