> For the complete documentation index, see [llms.txt](https://docs.bird.com/applications/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bird.com/applications/automation/flows/how-to/how-to-setup-distribution-flow.md).

# How to setup distribution flow

For an incoming call to be handled by an Agent or Team or Queue you must setup a distribution flow.

#### Prerequisites

* Incoming number must have a healthy channel
* Option "Make calls via Inbox" for that channel must be enabled
* Agent or Team or Queue must be present

#### Setting up the Agent

First create a Team via left bottom -> Admin console -> Support -> Agents & Teams -> Teams -> Create a new team Then create an Agent via left bottom -> Admin console -> Support -> Agents & Teams -> Agent -> Invite new agent and link the Agent to the Team

#### Setting up the distribution flow

Select the number via left bottom -> Admin console -> Support -> Contact Center -> Numbers On the right a popup will appear where you can create a distribution flow for that number

![](https://lh7-rt.googleusercontent.com/docsz/AD_4nXclgcK2gtTpAEtiP42jakUuFwtt3MQB4lglUFQh7JuhACIOYqqeMvE4TVr_QgKoXDtokIn1IB0Y2AaNcJUeqB3-5xDzijEbPTN_TDpIErDy79YFLlTiddMoM9YoMd8lqY2CBOsEtA?key=gWTEqAiKdtkOpH8oehKeYg)

#### **Clone Edit this Draft**

Add step Ring to and select Agent, Agent ID and set duration of ringing. Next and Skip test

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXfdVy6hUB2puZSQ1QXUhdcsIS5fCeBkzKz63wlbW4k_eLCmfwpoQSudOu_jcIxbOPbTKTxm_qx14c3XdPxkT4yq1lvAKWJBN716uv1zNiQYpmctsefITEP-MXdNRbuWp0HI_th9rA?key=gWTEqAiKdtkOpH8oehKeYg" alt=""><figcaption></figcaption></figure>

#### Publish Draft


---

# 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://docs.bird.com/applications/automation/flows/how-to/how-to-setup-distribution-flow.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.
