> For the complete documentation index, see [llms.txt](https://docs.rapidbott.com/help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rapidbott.com/help-center/mini-apps/mini-app-2.0/flows.md).

# Flows

The flows section is where you manage your subflows in the mini-app.

![mini-app2](https://docs.uchat.com.au/assets/img/app2-63.5ac31723.png)

{% hint style="info" %}
TIP

When bot users first talk to your bot, the main flow is run. But here in the Mini-App system, the main flow doesn't have any special meaning. It's just like any other mini-app subflow.
{% endhint %}

Folders can be used to manage and group subflows.

For subflow type:

<figure><img src="/files/6NbVQ3AlOnWA1iytA2a8" alt=""><figcaption></figcaption></figure>

In the chatbot system, normal subflow runs in the front end and workflow run at the backend but in the Mini-App system, they are all run in the back since there is no **Send Message Step** or **Question Step** in mini-apps.

While function flow is where you can put repetitive tasks and call them anywhere in other subflows.

For how to use function flow, check [how does it work in chatbot](/help-center/flow-builder/sub-flows.md) for reference.
