Skip to main content
All CollectionsCreate surveysSurvey logic
Survey logic in a Text answer question
Survey logic in a Text answer question

Provide a personalized survey experience by directing your respondents to different follow-up questions

Agnieszka avatar
Written by Agnieszka
Updated over 2 weeks ago

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:

💡This feature is available for Email or Shareable link, Website or in-product, and Mobile surveys (starting from the SDK version 3.0.0) and is included in all of our plans!

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.

📌 Any answer option not selected in the If condition will direct the respondents to the next question.

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.

It's not possible to use Survey logic to direct the respondent to a previous question. To select the next step in the survey's path, it needs to be placed after the question in which you're currently setting up logic.

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.

❗️Also, if you delete a question that is used in any logic settings in a survey, all the settings where it was used will be removed because they become invalid.

The same applies to the situation when you move a question above some other questions that have it in their logic settings - the logic becomes invalid and that's why we remove all logic settings that included the re-ordered question.

📌 Please remember that if you enable Enhanced Logic in your Mobile surveys, the survey will only appear in your mobile application if the SDK version you're using is not older than 3.0.0.

Troubleshooting

I can't see the Logic tab in my question
Make sure you are not looking at the last question of your survey. There has to be at least one following question to see the Logic tab and set up the logic for this question.

Best practices

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:

📞 If you have any questions or need help setting question logic, please contact our team at support@survicate.com or initiate a chat conversation

Net Promoter, NPS, and the NPS - related emoticons are registered U.S. trademarks, and Net Promoter Score and Net Promoter System are service marks, of Bain & Company, Inc., Satmetrix Systems, Inc. and Fred Reichheld.

Did this answer your question?