# Chatbot - Transferindo para um atendente humano com o ChatGPT

## Configurando o chatbot com o modelo GPT

Para exemplificar, foi desenvolvido um chatbot com a seguinte configuração:

1. Uma mensagem inicial é enviada ao lead;
2. O Modelo GPT é acionado, observando e respondendo ao lead com base em seu [treinamento](/topicos/inteligencia-artificial/agentes-de-ia/agentes-de-i.a-legado-aviso/modelos-chatgpt/modelos-chatgpt-website-e-texto.md). Caso a condição de saída antecipada seja identificada, o agente será finalizado, e o fluxo seguirá para a saída negativa localizada abaixo do bloco;
3. O lead receberá uma mensagem informando que o atendimento será transferido;
4. O atendimento será então transferido através de uma ação, podendo ser direcionado a um usuário específico ou algum que esteja dentro do departamento desejado.

<figure><img src="/files/8iWv5RapWVhfm5a4mvPK" alt=""><figcaption><p><em>Configuração do chatbot.</em></p></figcaption></figure>

### Exemplo de interação com o agente de IA

<figure><img src="/files/vJjpWcPJsVQdIkIiuL4D" alt=""><figcaption><p><em>Exemplo de interação.</em></p></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://docs.sprinthub.com/topicos/converter/chatbot/chatbot-duvidas-comuns/chatbot-transferindo-para-um-atendente-humano-com-o-chatgpt.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
