Add branching logic
Send people to different questions or end screens depending on how they answer, using rules in the Workflow tab.
Before you start
You will have a survey or quiz where people follow different paths: answer one question, and the next screen depends on what they chose. Use it to skip questions that do not apply, or to send different people to different end screens.
Without rules, everyone sees the screens in the order of the list in the Content tab. A rule changes where a question leads next. Add your questions first: see Add and arrange blocks.
Example
This article builds a small survey with four screens:
- Did you attend the event? (Yes/no)
- What did you enjoy most? (Short text)
- What stopped you from attending? (Short text)
- An end screen
People who answer Yes should see question 2, people who answer No should see question 3, and both should finish at the end screen.
Send people to different questions
- In the top bar, click the Workflow tab. The project appears as a flow chart: every question and end screen is a box, numbered in order, joined by arrows.
- If some boxes are off screen, click the fit button, the third of the four small buttons at the bottom left of the chart.
- Click the box of the question that decides the path, here Did you attend the event?. The Edit branching logic panel opens on the right, with the question's name at the top. Check it is the question you meant.
- Click + Add Rule. A rule appears: If the answer to the question Is equal to its first answer, here A1 - Yes.
- Under Then go to, click Select... and choose where those people go next, here Q2 - What did you enjoy most?.
- Under All other cases go to, click Select... and choose where everyone else goes, here Q3 - What stopped you from attending?.
- Click Save. The message "Question updated successfully" appears and the panel closes.
The chart now shows an arrow from question 1 to each of the two questions. The arrow to question 2 is labeled "is equal to Yes".
To change what the rule checks, use the menus in it. For a multiple choice question the comparison can be is equal to, is not equal to, is blank or is not blank. Click Delete Rule to remove a rule.
Send everyone to the same place
A question with no rule has one setting, Always go to. Without a choice, it leads to the next screen in the list. Here that would send people who answered Yes from question 2 on to question 3, so give question 2 its own exit.
- In the chart, click the box of What did you enjoy most?.
- Under Always go to, click Select... and choose the end screen, here End screen 1 - Thank you for your feedback.
- Click Save.
Question 3 is last before the end screen, so it already leads there.
Tip
In the Select... menus the question you are editing is not offered, and the end screens are listed after the questions. The Content tab's screen menu (the three dots) also has a Logic item that opens the Workflow tab. Always check the question named at the top of the panel before you change a rule.
What happens next
People whose answer matches a rule go where the rule says, and everyone else goes where All other cases go to says. Try each path yourself before you share the project: see Share a link and a QR code. To see how the screens fit together, see Tour of the editor.
Related articles
- Add and arrange blocks
Add questions and other blocks to a project, put them in the order you want, and copy or delete them in the Content tab.
- Tour of the editor
What each editor tab is for - Content, Workflow, Connect, Share and Results - and what you find on each one.
:quality(92))
:quality(92))