> For the complete documentation index, see [llms.txt](https://guide.tiledesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.tiledesk.com/manage-your-workspace/setting-up-chat-routing.md).

# Setting up Chat Routing

The routing default rules are enabled once the project has been created (Note: The default routings rules will be ignored if at least one [department](/ai-chatbots-and-automation/actions-explained/change-department.md) exists).

You can setting up routing rules by clicking **Settings** **>** **Routing & Depts** in the left panel of the dashboard. To edit your default department, click on the ✏️.

<figure><img src="https://1328774413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVguk6y5OMn3pAaHZSiwU%2Fuploads%2F8n2vBKPByMu97VmR7fkn%2F1ur5fm-image.png?alt=media&amp;token=fe8fa149-2b46-4fbe-a4a3-b35928c34746" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1328774413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVguk6y5OMn3pAaHZSiwU%2Fuploads%2FE7oMUeoiX4WnbNXiPFTY%2F1ur594-image.png?alt=media&amp;token=37e8ab8f-8d31-49ca-991c-a456b3e6a2b5" alt=""><figcaption></figcaption></figure>

#### **Routing rules** <a href="#routing-rules" id="routing-rules"></a>

**Bot**

Select a bot that responds to visitor requests prior to the agent’s engagement, or by selecting the “bot only” option. With this option the bot will never forword the request to the agent.

<figure><img src="https://1328774413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVguk6y5OMn3pAaHZSiwU%2Fuploads%2FEKquOYhHjfGjc4JGV2qP%2Fimages%20(10).png?alt=media&amp;token=afb8ff82-7a77-4f51-9ce9-8fafc3fa91e6" alt=""><figcaption></figcaption></figure>

The agents commitment options are:

**Assigned**

Assigned chats help maintain an even workload distribution, especially for larger teams. Chats are evenly automatically assigned amongst all agents or only to those of a group.

<figure><img src="https://1328774413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVguk6y5OMn3pAaHZSiwU%2Fuploads%2F2FdD3v21uyrDLpdh5TMd%2Fimages%20(11).png?alt=media&amp;token=292db800-af83-4c4b-a6d1-1304f4221d1e" alt=""><figcaption></figcaption></figure>

**Pooled**

Pooled chats give agents more autonomy, allowing them to work at their own pace. With the “Pooled” option, requests are not directly assigned but are listed in the **Unassigned conversations** list under the **Conversations** page of the dashboard. Depending on the option chosen, the requests will be displayed by all the agents or by the selected group.

<figure><img src="https://1328774413-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVguk6y5OMn3pAaHZSiwU%2Fuploads%2FE1zvi08rbissU4Eg1qF7%2Fimages%20(12).png?alt=media&amp;token=c031b4ab-0b44-4e01-9e62-b24d2c8d4c16" alt=""><figcaption></figcaption></figure>

For any feedback or issue, feel free to pop in on our[ Discord channel](https://discord.gg/nERZEZ7SmG) 📣

For more info on who we are, what we do, or what is our shtick, visit[ Tiledesk.com](https://tiledesk.com/) 👩‍🚀


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guide.tiledesk.com/manage-your-workspace/setting-up-chat-routing.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
