---
generated_by: surveylegend-page-markdown
title: What Is a Survey Logic Flow? | SurveyLegend
description: This guide defines a survey logic flow and explains how IF
  conditions and THEN consequences control what respondents see or do next.
canonical: https://www.surveylegend.com/user-guide/survey-logic-flow/
---

How can we help?

Search our guides, features and best practices.

Search User Guide articles

Popular searches

![SurveyLegend mascot helping a new user learn how the online survey tool works](https://www.surveylegend.com/user-guide-media/hero/surveylegend-user-guide-help-mascot.avif)

# What is a survey logic flow

A logic flow is a set of one or more rules that you design for your survey, form, or questionnaire. Generally speaking, these rules define what should happen under special circumstances.

For example, if you create a health survey which includes gender-specific questions, you can design a logic flow that automatically hides questions that are relevant only for another respondent group.

![SurveyLegend logic flows start with an IF section for rules and a THEN section for consequences.](https://www.surveylegend.com/wordpress/wp-content/themes/sage/resources/images/img/modal/upgrade-3-logic-flows.png)

Logic flows always start with an IF section where you define rules, and a THEN section where you define the consequences.

This is just a simple example to explain the concept of logic flows. SurveyLegend empowers you to create powerful and advanced survey logic flows by combining several rules and consequences based on respondents answers, location, and other information.

**Note**

Other online survey tools may call similar features survey logic, question logic, skip logic, branching, piping, survey rules, or form rules. SurveyLegend uses Logic Flows to keep this smart behavior easy to understand and manage.

## What is a logic flow made of

A logic flow has two major sections: IF and THEN. The IF part defines the conditions required for an action to happen. The THEN part defines the action that should happen as a result.

**Health survey logic**

1. IF answer to the following question

   What is your gender?

   is any of the following

   - Male
   - Female
   - N/A

2. THEN hide Page with questions for another respondent group

In this example, when the IF condition is met, the THEN consequence changes which part of the survey the respondent sees.

[**NEXT:&#x20;**&#x45;nabling survey logics](https://www.surveylegend.com/user-guide/enabling-survey-logics/)
