> 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/~/changes/zWOY8fNiBBrqneKkuGvA/bot-answers/bot-canvas/how-to-organize-your-flows.md).

# How to organize your flows

It is unclear to you how to organize your flows with our new[ bot canvas](/~/changes/zWOY8fNiBBrqneKkuGvA/bot-answers/bot-canvas.md)? Check out our short video tutorial to know what to do 👇

{% embed url="<https://vimeo.com/814554124>" %}

You might encounter difficulties organizing your flows from all the overlapping path connections and bot dialogs.

One way to make your life easier is to structure your canvas in flows, i.e. different topics:

* make smaller, manageable flows that gather a piece of conversation about the same 'topic'
* bear in mind that an orange representation on the canvas means that your conversation will jump to something that lies in a different flow

### Subflows

To enhance readability and logic flexibility, you have the option to create subflows that break up a large flow into smaller, more manageable conversations. By doing so, you can improve the overall flow structure and make it easier for users to follow and understand.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FSKQdPcXISLdjbFwU3Mka%2FCopy%20of%20Conversation_Conversation%20list.gif?alt=media&amp;token=7a141203-5165-4da9-b2f7-1634938c7a76" alt=""><figcaption></figcaption></figure>

**Add a subflow**

Adding a subflow is easy. Simply click the three dots icon next to your main flow title, and you'll be presented with the option to add a sub flow.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FN7PKGR6bXDZrI0lmhPFA%2FConversation_Conversation%20list%20(1).gif?alt=media&amp;token=98788094-38fd-48d7-bbc8-822763b1e5a0" alt=""><figcaption><p>How to add sub flow</p></figcaption></figure>

**Move subflow between parent flows**&#x20;

Move subflows between main flows effortlessly with a few clicks. Click the three dots icon next to the subflow title, choose "edit," select the desired parent flow, and click "Update" to complete the move.

<figure><img src="https://2786867680-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LLTwFwbOqJj4dDhg8Ju%2Fuploads%2FUsoSBuJbEblUKiTNLID3%2FMove%20subflow%20to%20another%20flows%20(1).gif?alt=media&amp;token=5ac1d2ce-4eab-43d5-b8d2-ba95ed41dc3e" alt=""><figcaption></figcaption></figure>


---

# 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/~/changes/zWOY8fNiBBrqneKkuGvA/bot-answers/bot-canvas/how-to-organize-your-flows.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.
