Skip to main content
A quiz is a survey that keeps a running score and routes to a different ending depending on it. Everything it needs — a variable, conditional logic and multiple endings — is already in the editor.

What you will build

A trivia quiz that adds a point per correct answer and finishes on a pass or a fail card.

1. Create the questions

Open Surveys, click New Survey and choose Start from scratch. Leave the type as Link survey. Add one select-single question per quiz question, each with one correct choice among the options.

2. Add a score variable

Scroll to Variables below the question list and add a number variable called score, starting at 0. The Variables section with a score variable

3. Add a point per correct answer

This is the part the old version of this page got wrong, so it is worth being precise: conditional logic belongs to a block, not to a question. Scroll to the foot of the block, under the question list, and you will find Conditional Logic and an Add logic + button. Add one rule per question: A rule adding one to the score when the answer is correct Read it as a sentence: when the answer equals the correct choice, then calculate score Add + 1.
A Calculate action can add, subtract, multiply, divide or assign. A quiz normally wants Add + on a number variable — see Conditional Logic for the full set of conditions and actions.

4. Show the score and branch on it

Add two endings — a fail card and a pass card. In either card’s text, type @ to recall the score, exactly as you would recall an answer. See Recall Data. Then add a final rule that routes on the total: when score is greater than or equal to your pass mark, then jump to the pass ending.
Order matters. Put the fail card above the pass card. Endings are reached in order, so anything that does not match the pass rule falls through to the card above — which is what you want the failing case to hit.

5. Publish

Publish, then share the link like any other link survey.
A quiz makes a good lead magnet: add a contact info question before the ending and the score arrives attached to an email address.