Logic Basics

Back to Help Center

GetFeedback survey logic lets you create different paths through a survey. If you'd like to show a set of questions to some (but not all) of your survey takers, you can use survey branching logic to segment your respondents. Sending the right folks to your follow up questions, and everyone else to your Thank You page.

Adding Logic to a Survey

To add Logic to your survey, hover over the question to apply it to, and click the Logic icon

MergeFieldLogic01

Apply a rule before displaying a question

To apply a rule before displaying this question click +New Rule at the top of the page:

LogicNewRule

Then you’ll set the conditions for the first rule:

  • choose “the answer to” if the rule is based on a previous survey answer

  • choose "response language" if the rule is based on the language of the survey response

  • choose “merge field” if the rule is based on the value of a merge field

If you choose “the answer to,” you’ll be able to select any question that precedes the one you’re working on.

Next, set the remaining options and choose the question your respondent should be sent to instead of the current question:

LogicRunBefore

If the conditions you chose are met, the question this Logic has been applied to won’t be shown to the respondent. They’ll instead be rerouted to the question you specified in the rule.

Apply a rule after displaying a question

You can set up logic to run after a question is answered, using the steps above, just select the option "Run these rules after this question is answered" shown below.

Follow the same steps as above for setting the conditions that apply to this question or any earlier question.

LogicRunAfter
  • If none of your conditions are met your respondents will be sent to the question specified in the Otherwise... box. The next question is chosen by default, but you can choose any question after that one, too.

  • Click Save Changes when you’re done adding or modifying rules.

OtherwiseSaveChangesbuttonvis

Please note:  Logic rules aren't supported on Ranking, Multiple Choice grid, Rating grid, or Key Driver questions.

Using Merge Fields in Logic

If you choose merge field in the logic edit, you can create a rule based off any merge field that you've pulled into your survey. For a full breakdown on merge fields in logic - take a peek at this article.

Once you've decided which merge fields you'd like to use in your survey, you'll want to run through your survey once completely, before adding in your logic. You'll do this so that we can register the merge fields that you'll be using, and allow for you to select them in the builder. For example, your URL might look something like:

https://getfeedback.com/r/GqBH8YtU?Email=support@getfeedback.com&Name=Support

Once you've run through the survey once, you can then go into the logic builder and select your fields, and create your rules.

MergeFieldLogic02

Running multiple rules

To run more than one rule before or after one of your questions, click +New Rule again. GetFeedback will run your rules in order before proceeding to the question. Use the arrow icons to drag your rules into the proper order.

LogicMultipleRules

Adding more than one condition

Add multiple conditions to a single rule. Click the + button on the right of the first condition to add a new one, and check or uncheck the box below to choose whether the rule must match all of the conditions or match any of the conditions. Click the X button on the left of the logic card to delete a condition.

LogicMultipleConditions

Video - Building Your Survey With Basic Logic