> ## Documentation Index
> Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Flow Tab

> See your whole survey flow on one outline: the rules before the first question, every block, the rules that run after it, where everyone else goes, and the endings. Add and edit logic where you see it.

The **Flow** tab sits next to **Questions** in the survey editor. It shows the path respondents take through your survey on one outline, so you can check every jump and calculation at a glance instead of opening each block.

The Flow tab is there in every survey, including surveys created in CX mode.

## Reading the outline

Read the outline from top to bottom. That is the order a respondent moves through the survey.

![The Flow tab of a fees survey: three rules before the first question, then each block with its questions, its Show question if… and Show options if… columns, its rules and Otherwise go to, next to the preview](https://mintcdn.com/formbricks/zBoX1TaNg8EWd53N/images/surveys/general-features/flow-tab/outline.webp?fit=max\&auto=format\&n=zBoX1TaNg8EWd53N\&q=85\&s=1eee6e65a5e8f41f14fa41198a527298)

* **Blocks.** Each block is one page of the survey. Its row shows its number, its name (or **Untitled**), and how many questions and rules it has. Hover a folded block and click **Add logic** to open it and add a rule.
* **Questions.** An open block lists its questions in a table: each with its type icon, its text and its question code, the name rules and expressions use.
* **Show if.** A block shown only to some respondents carries a **Show block if …** badge that reads its condition; a question shows its condition in the **Show question if…** column. See [Show If](https://formbricks.com/docs/surveys/general-features/show-if.md).
* **Options.** The **Show options if…** column says how many of a question's options are shown only to some respondents (**N options**) and how many are Hidden (**N hidden**). Click it, or **Add condition** on a question with options, to edit them. See [Show if on options](https://formbricks.com/docs/surveys/general-features/show-if.md#show-if-on-options).
* **Rules.** The rows indented under a block run after the respondent submits that block. Each row reads as a sentence on one line, for example *If “services” includes one of Apple TV+ → Require an answer to “apple\_reason”*. Hover a row cut short to read the whole sentence.
  * Each kind of rule has its own colour and icon, the same on its row, in **Add logic** and in the rule's action list: **blue** for Jump to, **green** for Set value, which changes a calculated [Embedded Data](https://formbricks.com/docs/surveys/general-features/variables.md) field, **violet** for Require answer and **orange** for Mark response as Low quality, for example *If “hours” > 112 → Mark response as Low quality*.
  * A rule with several kinds of action takes the colour of its first action.
  * A rule with several actions shows the first one and **+N** for the others, and where it jumps comes last, as a pill: *score + 10 +1 Block 4*. Open the row to see every action.
* **Everyone else.** A block's last line, **Otherwise go to**, says where respondents go when none of the rules jumped. It is the next block unless you choose another block or an ending.
* **Jumps that land elsewhere.** A jump, or an **Otherwise go to**, into a block whose show-if reads only questions the jump passes gets a warning under it, such as *Block 3 will always be skipped on this path: its show-if reads “services”, which this jump skips.* Those questions have no answer on that path, so the show-if never matches and respondents go to the block after it. Jump to an earlier block, or change the show-if.
* **Endings.** The endings are listed last, each with a pink icon. A redirect ending shows the address it sends respondents to.

![A rule before the first question that jumps to the Savings block when channel equals savings-campaign, with the warning that Savings will always be skipped on this path because its show-if reads accounts, which the jump skips](https://mintcdn.com/formbricks/zBoX1TaNg8EWd53N/images/surveys/general-features/flow-tab/always-skipped-jump.webp?fit=max\&auto=format\&n=zBoX1TaNg8EWd53N\&q=85\&s=91a328d576bfb3f75b49294a6ffb940f)

The Flow tab opens with every block folded down to its row. Click a block's row to open or fold just that block, or use **Expand** to open them all; once all are open, the same button reads **Collapse**. Switching to another tab and back keeps the blocks you opened. The header also counts your blocks and endings, and its (i) explains how to read the outline.

## Editing logic

Click any rule row to open its settings right there on the outline. The rule editor is the same one described in [Conditional Logic](https://formbricks.com/docs/surveys/general-features/conditional-logic.md), and reads like the row: **If** what to test, an operator and a value, **Then** one or more actions.

The buttons at the right of a rule's row, as on a question card, let you:

* **Move up** and **Move down**, because rules are checked from top to bottom and the first jump that matches wins.
* **Duplicate** it, with the copy placed right below it.
* **Delete** it. Deleting a block's last rule also resets where everyone else goes, back to the next block.

To add a rule, use **Add logic** under a block:

![The Add logic menu under a block: Jump to, Set value, Mark response as Low quality and Show block if…](https://mintcdn.com/formbricks/zBoX1TaNg8EWd53N/images/surveys/general-features/flow-tab/add-logic.webp?fit=max\&auto=format\&n=zBoX1TaNg8EWd53N\&q=85\&s=22a30a651f614032e1eb1170c4266cec)

* **Jump to** starts a rule that sends respondents to a later block or an ending.
* **Set value** starts a step that sets a calculated field from an expression. It always runs until you give it a condition with **Add a condition**. See [Set Value and Expressions](https://formbricks.com/docs/surveys/general-features/set-value.md).
* **Mark response as Low quality** starts a rule that marks the response Low quality when it matches. The respondent sees nothing. See [Mark as low quality](https://formbricks.com/docs/surveys/general-features/conditional-logic.md#mark-as-low-quality).
* **Show block if…** shows the block only to the respondents a condition matches. An open block also shows **Show block if…** in its header, and **Show question if…** next to each question, to show a single question only to some respondents. See [Show If](https://formbricks.com/docs/surveys/general-features/show-if.md).

You can switch any action of a rule between Jump to, Set value, Require answer and Mark response as Low quality, and add more actions to the same rule. A rule jumps at most once and marks a response at most once.

Changes on the Flow tab are part of your survey draft, like changes on the Questions tab. They are kept when you save or publish the survey.

An ending's text and button are edited on the **Questions** tab.

## Rules before the first question

The outline starts with **Before the first question**. Rules here run as soon as the survey loads, before the welcome card, so you can screen respondents or route them before they answer anything. They also run when a respondent opens the survey through a [start-at link](https://formbricks.com/docs/surveys/link-surveys/start-at-block.md), so a screener can't be skipped that way.

![Three rules before the first question: screen out anyone without a customer\_id, set tenure\_days from the opened\_on parameter, and set segment for branch customers](https://mintcdn.com/formbricks/zBoX1TaNg8EWd53N/images/surveys/general-features/flow-tab/before-first-question.webp?fit=max\&auto=format\&n=zBoX1TaNg8EWd53N\&q=85\&s=55c072aeb9adf70a54133ae6ec01eb22)

Nobody has answered anything yet, so these rules read only:

* [URL parameters and hidden fields](https://formbricks.com/docs/surveys/general-features/hidden-fields.md), for example a `panel_id` your panel provider adds to the link
* calculated [Embedded Data](https://formbricks.com/docs/surveys/general-features/variables.md) fields
* response details the browser knows, such as the page URL or the survey language

And they can only:

* **Screen out**: jump to an ending. The respondent sees only that ending, not the welcome card or any question.
* **Jump to a block**: start the respondent on a later block. With a welcome card, the welcome card still shows first and leads to that block. A jump also takes priority over a start-at link.
* **Set value**: change a calculated field. Its value is saved with the response when the respondent submits the first page.
* **Mark response as Low quality**: flag the response, for example for a panel source you don't trust, while the respondent answers as usual. The response is marked when the respondent submits the first page, or straight away when another rule screens them out. See [Mark as low quality](https://formbricks.com/docs/surveys/general-features/conditional-logic.md#mark-as-low-quality).

Rules are checked from top to bottom: the first jump that matches wins, and every matching Set value or Mark response as Low quality step runs. When no rule jumps, the survey starts as it always does. Use **Add logic before first question** to add a **Jump to**, **Set value** or **Mark response as Low quality** rule.

### What a screen-out records

A screen-out leaves a finished response straight away, even though no question was answered. It holds the ending the respondent was sent to, the URL parameters and hidden fields that caused it, and any values the rules set, so you can check your screener in the responses.

> [!NOTE]
>
> For now, a screened-out response counts as **Completed**: it appears in your completed responses and counts toward **Close survey after N responses**. Keep this in mind when you set a response limit on a survey with a screener.

When spam protection is on, the survey runs its reCAPTCHA check before it records a screen-out, as it does before the first answer.

### Trying a screener in the preview

The editor preview has a **Test values** button next to **Restart**. Enter values for the survey's URL parameters and hidden fields, then click **Restart with these values**: the preview starts over as if the link had carried them, so you see exactly where a respondent with those values goes. **Clear** removes them. The values only affect the preview.

When a rule or a show-if reads the page URL, **Test values** also has a `url` field: the preview runs as if the survey were shown on that page, instead of on the editor's own address. It isn't offered when a hidden field or URL parameter of the survey is itself named `url`.

![The Test values popover, with a field for each of the survey's URL parameters and hidden fields, and Clear and Restart with these values buttons](https://mintcdn.com/formbricks/zBoX1TaNg8EWd53N/images/surveys/general-features/flow-tab/test-values.webp?fit=max\&auto=format\&n=zBoX1TaNg8EWd53N\&q=85\&s=0d5134546f9270ac909ad58d6381cb65)

While test values are set, a strip under the preview's header lists them, with its own **Clear**, and the **Test values** button shows how many there are.

![The preview restarted with test values: a strip reads Previewing with customer\_id = C-104871 and channel = branch, above the survey's welcome card](https://mintcdn.com/formbricks/zBoX1TaNg8EWd53N/images/surveys/general-features/flow-tab/test-values-preview.webp?fit=max\&auto=format\&n=zBoX1TaNg8EWd53N\&q=85\&s=8ffdcc16375b403a190104c90094a5ac)

You can also open the survey's link with the parameters added, for example `?panel_id=12345`, as before.

## When something is wrong

If a rule is incomplete or points at something that no longer exists, saving or publishing the survey opens the Flow tab, opens the block and the rule the error message names, scrolls to it and outlines it in red. A folded block with a flagged rule is outlined in red too. The red outline goes away as soon as the rule is fixed.

## Logic written through the API

Surveys built through the [Management API](https://formbricks.com/docs/api-v3-reference/introduction.md) or [MCP](https://formbricks.com/docs/platform/mcp/overview.md) can carry logic too. Everything a survey holds shows up on the outline, so you can check what an AI or an integration wrote before you publish.

A row marked **Read-only** holds something the Flow tab can show but cannot edit yet. Its other rules stay editable.

## Where logic used to be

Logic used to sit at the foot of each block on the Questions tab, under **Conditional Logic**. It has moved to the Flow tab, and your existing rules appear there with nothing for you to do.

The first time you open the editor after the change, the Questions tab shows a **Logic has moved to the Flow tab** notice with an **Open Flow** button. Once you have opened the Flow tab, the notice no longer shows in that browser.

![The Logic has moved to the Flow tab notice at the top of the Questions tab, with an Open Flow button](https://mintcdn.com/formbricks/zBoX1TaNg8EWd53N/images/surveys/general-features/flow-tab/logic-moved.webp?fit=max\&auto=format\&n=zBoX1TaNg8EWd53N\&q=85\&s=5f5bbf04effac9696b9a4c43f0a1f120)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.