> For the complete documentation index, see [llms.txt](https://docs.sprinthub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sprinthub.com/en/topics/convert/chatbot/chatbot-common-questions/chatbot-transferring-to-a-human-agent-with-chatgpt.md).

# Chatbot - Transferring to a human agent with ChatGPT

How to use the early exit condition to transfer a support case.

## Configuring the chatbot with the GPT model

For example, a chatbot was developed with the following configuration:

1. An initial message is sent to the lead;
2. The GPT Model is triggered, observing and responding to the lead based on its [training](/en/topics/artificial-intelligence/ai-agents/legacy-ai-agents-notice/chatgpt-models/chatgpt-models-website-and-text.md). If the early exit condition is identified, the agent will be terminated, and the flow will proceed to the negative output located below the block;
3. The lead will receive a message informing them that the support will be transferred;
4. The support will then be transferred through an action, and can be directed to a specific user or someone within the desired department.

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2F06FrhQjdXWi9eMWmLU7q%2Fartigo-ia-1.png?alt=media&amp;token=bb418cbc-69a4-4089-8d29-1602f1d0fb74" alt=""><figcaption><p><em>Chatbot configuration.</em></p></figcaption></figure>

### Example of interaction with the AI agent

<figure><img src="https://684109703-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9FzUKkagBNy5uQ7AtGNa%2Fuploads%2FunE0VGraMlSYe3I1Xr8j%2Fartigo-ia-2.png?alt=media&amp;token=64568ab7-0866-4f02-b918-7e53943bb5f0" alt=""><figcaption><p><em>Example of interaction.</em></p></figcaption></figure>
