Resources/Surveys & Feedback/Logic & branching

Logic & branching

Route respondents to different questions — or straight to a tailored thank-you screen — based on their answers.

Branching keeps a survey short for everyone. Instead of asking all fifteen questions of all respondents, you ask the three that are relevant to each of them. Build the rules on the Logic tab.

Logic tab with a branching rule

How a rule works

Each rule reads: when this question's answer meets this condition, go to this target.

  1. Pick the question the rule watches.
  2. Choose an operator and the value(s) to compare against.
  3. Choose the target — another question, or a thank-you screen that ends the survey there.

Rules are evaluated after the question is answered. If none match, the survey simply advances to the next question.

Operators

OperatorMatches when the answer…
is any ofmatches at least one value in your list
is none ofmatches none of the values in your list
equalsexactly equals one value
does not equalis anything other than that value
containscontains the text you specify
greater than / less thanis above or below a number — for rating and scale questions

is any of and is none of take a list of values, which is what makes them the right choice for multiple-choice questions. One rule covering four options is far easier to maintain than four near-identical rules.

Ending on a specific thank-you screen

A rule can finish the survey instead of jumping to another question. That lets you close differently for different people: a detractor sees an apology and a support link, a promoter sees a review request.

  • Target the Default thank-you screen to end on the standard closing message.
  • Target an alternate thank-you screen that you've added on the Build tab for a tailored ending.

A rule ends the survey or jumps to a question — never both.

A worked example

Question 1 is "How likely are you to recommend us?" on a 1–10 scale.

  • less than 7 → jump to "What went wrong?"
  • greater than 8 → end on the "Would you leave us a review?" thank-you screen.
  • Anything else (7 or 8) falls through to the next question normally.

Practical notes

  • Preview before publishing. The live preview follows your rules, so click through each path — including the one where no rule matches.
  • Deleting a target is safe. If you remove a question a rule points at, the rule is ignored and the survey advances normally rather than getting stuck. It won't error, but it also won't do what you intended — check your rules after reordering or deleting questions.
  • Branching changes what "completed" means. A respondent routed to an early thank-you screen has completed the survey, even though they saw fewer questions. Keep that in mind when reading the drop-off funnel.
  • Keep the rule set small. Two or three branches make a survey feel personal; a dozen make it unmaintainable and nearly impossible to analyse.

Put this to work on your own site.

Heatmaps, session replays, funnels and experiments in one platform. Set it up in minutes, no credit card needed, and early-access members earn exclusive rewards.