Survey logic makes creating various paths for respondents easy by skipping specific questions based on previous responses.
You can design the survey experience by adding a customized question flow and segmenting users based on their feedback.
In this article, you'll learn how to set up Survey logic in a Text answer question. If you want to set it up for different question types, visit one of the links below:
If you want to learn how logic works for Intercom Messenger and Mobile app surveys, check the dedicated guide.
How to add logic
Step 1. Once you've started creating your survey and added a text answer question, as well as the other survey questions, head over to the Logic tab of the question and click on + Add new logic.
In Mobile surveys, please go to Settings ➡️ Survey Experience and enable the Enhanced survey logic toggle to be able to set up Logic as described in this article.
Otherwise, by default, the Mobile survey will continue to have basic Logic settings available.
Step 2. Here, you'll see the If condition, letting you decide when to apply logic.
You can choose to apply logic if the answer contains, answer doesn't contain, answer has any value, question is answered, or when question is not answered.
💡Let's take a look at what the above possibilities mean:
answer contains - this logic will work for all the respondents whose answers will include the word you selected here. You can add multiple words and phrases here. Please note that this condition works on the exact match basis. It means that if a respondent makes a typo or an error in the word you have specified, the logic will not work for them. However, it’s not case-sensitive (will work regardless of upper-case or lower-case).
answer doesn't contain - this logic will work for all the respondents whose answers will not include the word you selected here. You can add multiple words and phrases here. Please note that this condition works on the exact match basis. It means that if a respondent makes a typo or an error in the word you have specified, the logic will not work for them. However, it’s not case-sensitive (will work regardless of upper-case or lower-case).
answer has any value - this logic will work regardless of what answer the respondent provides (if you set this question as non-mandatory, this logic will work even if a respondent skips the question without providing any answer).
question is answered - this logic will work for all the respondents who have answered this question.
question is not answered - this logic will work for all the respondents who haven’t answered this question (in case this question is not mandatory).
Step 3. For this example, let's choose answer contains.
Type the words you'd like to see in the open-text response and decide between the and/or operator.
What you'll see as the next step is the possibility of selecting one or several answers.
Step 4. Now, you can decide what question the respondent should see next.
In the then option, choose the next step, whether it's another question or the end of the survey.
Step 5. You successfully added a new logic to your survey 🚀.
If you'd like to add another one to the same question, click on + Add new logic again and repeat the above steps.
If you changed your mind and would rather delete the logic, simply click on the ⊖ button.
Please note that if there is a conflict in your multiple logic settings, the survey behavior will be determined by the first true logic condition.
Set up survey logic separately for each question in your survey
Without survey logic, the questions will be shown one after the other.
You can test the logic flow on the right side of the Create tab in the preview.
Include respondent attributes in the survey questions for a better survey experience
Find out here how to make your surveys more respondent-friendly by customizing them with personal information.
Learn more about survey logic here: