> For the complete documentation index, see [llms.txt](https://help.cosmobots.io/help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.cosmobots.io/help/bot-builder/fluxo-da-conversa/pessoa-no-chat.md).

# Controle Humano

O controle humano pode ser utilizado em diversos cenários, por exemplo, caso bot esteja tendo dificuldades para atender os usuários, para atendimento de suporte técnico, atendimento comercial após o lead passar por determinadas fases do bot, entre outros.

{% embed url="<https://drive.google.com/file/d/1jgfJOMMY1esOWfdRrlOBcQPbkU0cPz-f/view?usp=sharing>" %}

Neste artigo você terá o passo a passo de todas as configurações necessárias para utilizar o atendimento humano.&#x20;

Os passos necessários  são:&#x20;

**1º** Colocar as pessoas que realizarão o atendimento como Suporte Agente;

**2º** Criar a fila de atendimento e inserir os agentes;

**3º** Colocar a etapa de atendimento humano no final do fluxo do bot;

**4º** Configurar os horários da fila de atendimento.

Vamos lá!

## Cadastrando os usuários que farão parte da fila

&#x20; 1- Após  logar na ferramenta, clique em Configurações e em minha conta:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374288/original/xaUhxWFPzvbu2_Rcfnhn5LqVe7tSgMGYsg.gif?1588617625)

2- Clique em novo usuário e preencha os dados principais do usuário:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374304/original/0G0ndnRUkxmplaepgu8sNhSNId8LrThXQQ.gif?1588617659)

&#x20; 3- Em perfil do usuário defina o perfil que o atendente terá e salve:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374314/original/RH9dqbPjnqfMF_48UOdUrlL5pY23PoZhgw.gif?1588617683)

{% hint style="info" %}
Saiba mais em [<mark style="color:purple;">**Cadastrar Usuários**</mark>](https://help.cosmobots.io/help/configuracoes-1/cadastrar-usuarios)
{% endhint %}

## Fila de Atendimento

&#x20;  1- Clique no bot que terá o Atendimento Humano:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374514/original/4TqY22R8YNMfIxnupgcCpqgo7h1NoIoypA.gif?1588618374)

2- Clique em Cosmo Desk e depois clique e Configurações:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374526/original/51XZHsP6FXBmm-UDg-AAbE_L0GP6YJUwwQ.gif?1588618402)

3- Acesse Filas de Atendimento e clique em Nova Fila:

![Acessando Filas de Atendimento](/files/J1ajpRLMxDhLCjuwLB9z)

&#x20;   4- Defina o nome da sua fila, quais agentes farão parte dela e salve:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374532/original/darV74ai96vsgH8NkR7pLJQWpoYk4jqQng.gif?1588618453)

{% hint style="info" %}
Saiba mais em [<mark style="color:purple;">**Filas de Atendimento**</mark>](https://help.cosmobots.io/help/cosmo-desk/configuracoes/filas-de-atendimento)
{% endhint %}

## Controle Humano

&#x20;  1- Ao final do fluxo, crie uma etapa de atendimento humano:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374654/original/Z9R0LIkDGRbaqa-jLj92aL36dqo4hM_XKA.gif?1588618993)

{% hint style="info" %}
OBS #: Essa etapa só pode ser criada ao final do fluxo.
{% endhint %}

&#x20;  2- Defina a fila que esse fluxo irá direcionar:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374668/original/AfNPrguw86EK8NiK0TfLWYu1iOa5z9pDjw.gif?1588619039)

&#x20;  3- Defina o horário de funcionamento:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374685/original/Qx8vB8aecaKf2z6R7SP207n3R3U_YA2BPA.gif?1588619120)

{% hint style="info" %}
OBS#: Horário de funcionamento corresponde aos dias em que o agente estará disponível na fila para realizar o atendimento, se não for definido o agente não consegue entrar na fila para realizar os atendimentos.
{% endhint %}

&#x20;  4- Defina para qual fluxo e etapa o cliente deve ser direcionado quando o atendimento humano não estiver disponível.

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374697/original/SyrAkLkXfDTps3pLNR9-XyMGCPUx1m-2cA.gif?1588619186)

&#x20;  5- Defina para qual etapa do bot o cliente será direcionado  para finalizar a conversa após  o atendimento humano ser realizado:

![](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/61001374708/original/5rHCQtApxL2MGtIpbIgEmqrwF-oG8w0-EA.gif?1588619272)

Prontinho! Seu atendimento humano está configurado  **📞**💁.


---

# 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://help.cosmobots.io/help/bot-builder/fluxo-da-conversa/pessoa-no-chat.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.
