> 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.md).

# Tips & best practices

Creating an effective chatbot requires attention and best practices. By following these tips and best practices, you can create a robust and user-friendly chatbot.

Improve the **Not understood** block to handle unrecognized inputs gracefully.

{% content-ref url="/pages/gq4LI2rk9llIOsj8ED0B" %}
[Improve the Not understood block](/buildabot/tips-and-best-practices/improve-the-not-understood-block.md)
{% endcontent-ref %}

Go to the previous block for a more natural conversation.

{% content-ref url="/pages/-MX2OwZPCwidFI85F94D" %}
[Go to previous block](/buildabot/tips-and-best-practices/go-to-previous-bot-dialog.md)
{% endcontent-ref %}

Recognize returning users to provide a personalized experience.

{% content-ref url="/pages/-LRkkpUz5YrrlKHljw5W" %}
[Recognizing a returning user](/buildabot/tips-and-best-practices/how-to-recognize-a-returning-bot-user.md)
{% endcontent-ref %}

Consider skipping the introduction message for returning users to streamline interactions.

{% content-ref url="/pages/-Mkl5HtttYTNcsjqidDN" %}
[Skip introduction message](/buildabot/tips-and-best-practices/skip-introduction-message.md)
{% endcontent-ref %}

Adapt your flow based on the specific channel to enhance user experience, and reuse flows to maintain consistency and efficiency.

{% content-ref url="/pages/q6CE5ZzdCkvo4yltO2pL" %}
[Route your flow depending on the channel](/buildabot/tips-and-best-practices/route-your-flow-depending-on-the-channel.md)
{% endcontent-ref %}

Connect multiple bots to each other when necessary to expand functionality and provide seamless user interactions.

{% content-ref url="/pages/-MNgoDUOjjkufkFZn8Pp" %}
[Connect two bots to each other](/buildabot/tips-and-best-practices/frequently-asked-questions.md)
{% endcontent-ref %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.chatlayer.ai/buildabot/tips-and-best-practices.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
