In this guide, we explain how to create a test where the final result depends on which answer option the client selected the most times.
This is useful for:
identifying user preferences,
assessing candidates,
psychological or personality-based quizzes,
any scenario where the dominant choice matters.
How it works
Suppose you have 10 questions, each with 3 answer options (A, B, C). Your goal is to determine which option the client selected most frequently.
Once the test is complete, you check which variable has the highest value and show the corresponding result.
Step 1: Setting up variables
Before the test starts, create three variables that correspond to the three answer options:
selected A
selected B
selected C
Set each variable’s initial value to 0 using the Set Variable action.
This is done using the "Set variable" action. Before you start configuring this flow, we recommend that you read the instructions of this action.
This ensures that every time a user takes the test, all counters are reset.
Step 2: Updating variables when a client answers
For each question, where the client chooses one of the three options:
Create three answer buttons (e.g., A, B, C).
For each button, add Set variable → increase value by 1:
If user selects A → increase selected A
If user selects B → increase selected B
If user selects C → increase selected C
Important! In Telegram, always include the action Delete buttons after the answer, or in Instagram, use Text + Quick Reply.
In this case, when you click on one of the answer options, all the other buttons will disappear, which will not allow the user to select several options in one question at once.
Thus, during the test, each of these variables will increase by 1, depending on which answer the user has chosen. The mechanics are repeated until the end of the test:
Step 3: Determining the most frequently selected option
After the client answers all questions, you need to determine which variable has the highest value. Use the condition Variable Value to compare the results.
Below are examples depending on the number of questions and number of answer options.
Example 1: Even number of questions (10 questions) + 3 answer choices.
A dominant answer must have at least: 10 / 3 + 1 = 4 selections (more than 33%).
So the conditions are:
If selected A ≥ 4 → result is A
If selected B ≥ 4 → result is B
If selected C ≥ 4 → result is C
Example 2: Odd number of questions (15 questions) + 3 answer choices.
Dominant answer: 15 / 3 + 1 = 6 selections (more than 33%).
Conditions:
If selected A ≥ 6 → result is A
If selected B ≥ 6 → result is B
If selected C ≥ 6 → result is C
⚠️ With odd question counts and 3 options, a tie is possible. For example, 5 selections for A, B, and C each.
Example 3: Even number of questions (10 questions) + 2 answer choices.
A dominant answer requires: 10 / 2 + 1 = 6 selections (more than 50%).
Conditions:
If selected A ≥ 6 → result is A
If selected B ≥ 6 → result is B
⚠️ For this case, a tie is also possible: since this is an even number of questions and 2 possible answers, it may be that the user clicks on both options 5 times, it turns out that the user has equally all the answers:
Example 4: Odd number of questions (15 questions) + 2 answer choices.
Dominant answer: 15 / 2 + 1 = 8 selections (more than 50%)
Conditions:
If selected A ≥ 8 → result is A
If selected B ≥ 8 → result is B
Step 4: Showing the result
Once we determine which option was selected most frequently, we can display the result. Depending on which option was chosen most often, the corresponding result will be shown.
To identify the most frequently selected option, you can use the following formula:
Divide the total number of questions by the number of answer choices and add 1.
This tells you the minimum number of selections required for an option to be chosen more often than the others.
💡 Where this method is useful
Candidate assessment: Determine behavioral patterns or tendencies based on their dominant answer choices.
Customer preference testing: Understand what options, styles, or products users prefer.
Any quiz requiring a weighted or dominant result.
You may also find useful:








