# Building a flow

There are two ways to build a flow:

1. Recording actions
2. Adding commands manually

## Recording Actions

The easiest way to build a flow is by recording your actions. You can start recording recording your actions by clicking "Add Command" and selecting "Start Recording":

![](/files/-Mfj338kekmVqe9u5ENw)

When recording, Browserflow will automatically detect all actions performed in the active tab and add them as Browserflow commands.

These actions are currently not automatically detected in recording mode and must be added manually:

* Hover

### Select Element

Clicking "Select Element" in recording mode allows you to select an element and choose between common actions that may be performed on that element.

![](/files/-Mfj5kXUrTbIniky-dXw)

This makes it easy to extract data from many elements on the page compared to adding `Get Element Text` and `Get Link URL` commands individually.

### Select List

Clicking "Select List" in recording mode allows you to select a list of common elements and perform actions on each of them inside a loop.

![](/files/-Mfj6JhVId1M1Q1CfmDG)

## Adding Commands Manually

Commands can be added manually by clicking the plus button at the bottom of the flow or between commands:

![](/files/-Mfj7MXMHtVcno2tyM7G)


---

# 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.browserflow.app/guides/building-a-flow.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.
