---
title: "Show different questions depending on an answer"
description: "Use survey logic to send people to different questions or endings depending on how they answer or who they are."
url: https://help.gleap.ai/en/articles/16751960-show-different-questions-depending-on-an-answer
collection: "Campaigns"
updated: 2026-11-05
language: en
---

# Show different questions depending on an answer

Use survey logic to send people to different questions or endings depending on how they answer or who they are.

Surveys can branch. A low score can get a “what went wrong?” follow-up, while a high score skips straight to the thank-you screen.

### Add logic to a question

1.  Go to **Outreach → Surveys** and create or open a survey. Surveys made before Surveys 2.0 show **Upgrade to the new editor** first.
    
2.  Select a question and open its **Logic** tab.
    
3.  Under **If the answer is…**, pick where each answer goes: a later question or an ending. NPS groups 0–6, 7–8 and 9–10. Choice and yes/no questions list each option. Rating, CSAT and scale questions list each value, or Low, Middle and High on a long scale.
    
4.  Set **All other cases go to** for everyone else. By default that's the next question.
    
5.  Optionally, add **Conditions on the person**: a **Contact property** (for example the plan), a **Hidden field**, or the **Page URL**. They're checked before the answer rules, top to bottom.
    

![Survey Logic tab with answer destinations and conditions in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/kHcLsKpXPsSuhLXIWslffKSGdyiXo2Q43nQby5n7hXsxmqgpkEJZrwGoQdWTg9mPW0tFCjOr7dj.png)

### Example: follow up on low scores

1.  Question 1: Net Promoter Score.
    
2.  Question 2: Long text, “What went wrong?”.
    
3.  Question 3: Long text, “What would make it a 10?”.
    
4.  On question 1's Logic tab: 0–6 goes to question 2, 7–8 goes to question 3, 9–10 goes to a Thank-you ending.
    

### What can't branch

-   Statements: they have no answer to branch on.
    
-   Required text, email, number, date, file upload and consent questions: you only pick where everyone goes next.
    
-   If one of those questions is optional, it can branch on **Answered** or **Skipped**.
    

Jumps only go forward, so a survey can't loop. Before you publish, Gleap checks that every question can be reached and every path ends.

### End paths differently

Add more than one ending. Each can have its own text, button, redirect or contact tag, so promoters can be sent to a review page while detractors are tagged for follow-up.

### Related

-   [Run a survey](https://help.gleap.ai/en/articles/323-run-a-survey.md)
    
-   [Identify users and send attributes and events](https://help.gleap.ai/en/articles/230-identify-users-and-send-attributes-and-events.md)
    
-   [How outbound messaging works](https://help.gleap.ai/en/articles/320-how-outbound-messaging-works.md)
