> For the complete documentation index, see [llms.txt](https://docs.chatlayer.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chatlayer.ai/buildabot/tips-and-best-practices/frequently-asked-questions.md).

# Connect two bots to each other

## Is it possible to connect two bots to each other?

In general, our advice is to try to centralize as much information within one bot, as long as the target audience & broad use case for that bot remains the same.

However, if for whichever reason, it is important of having two bots talking to the user within the same conversation, there are a few possibilities for achieving this.

* If you use the chatlayer web widget you could send an 'event' to the web application to indicate that the user should be connected to another bot. This is only possible with the Web & Webhook channel.&#x20;
* Option 2 is to use the Webhook channel, however this requires some custom implementation. In this case you could host a proxy service that feeds messages from the different channels to Chatlayer.ai. In this proxy service you can decide per incoming message at which bot you want to ask for an answer. Option 2 is a more advanced use case, and therefore not very common, but there are some bots within our platform that work this way. There is currently no out of the box solution that allows cross-channel switching between bots.


---

# 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.chatlayer.ai/buildabot/tips-and-best-practices/frequently-asked-questions.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.
