# 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.


---

# Agent Instructions: 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:

```
GET https://docs.rapidbott.com/help-center/mini-apps/mini-app-2.0/flows.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
