> For the complete documentation index, see [llms.txt](https://docs.opendialog.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.opendialog.ai/opendialog-platform/conversation-designer/conversation-design/conversational-patterns/transfer/example-dialog.md).

# Example dialog

Transfers commonly happen when a bot is unable to complete a required task, or when a user asks to talk to a human.

`Bot: Unfortunately, I don’t know the details of their menu, but I can call them for you if you’d like to ask directly. Shall I do that?`

`User: Yes please.`

`Bot: Sure thing, one second.`

**`Transfer`**

`[Phone rings at Bella Italia, human-human conversation clarifying the user’s question, then the call ends, bot picks up]`

`Bot: Were they able to help you?`

`User: Yes, thank you.`

**`Closing (Pre-Closing)`**

`Bot: Is there anything else I can help you with?`

In this sequence, the user asks the bot a question the bot recognizes well enough to know it doesn’t know the answer and that a transfer to the restaurant may be the appropriate next step. The handoff trigger is a question the bot cannot handle on its own. The bot offers to call the restaurant for the user, which the user accepts.

In this sequence, the bot is put on hold while the user has a traditional phone conversation with the restaurant. When the call is complete, the bot takes over again and asks if the user’s need was met. After the user says it was, the bot moves on to the next step of the conversation, in this case a last topic check as part of a pre-closing.


---

# 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.opendialog.ai/opendialog-platform/conversation-designer/conversation-design/conversational-patterns/transfer/example-dialog.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.
