Using Merge Fields in Logic

Back to Help Center

When building a GetFeedback survey, you can set up specific rules for the survey to follow based on the respondent's information and answers using the GetFeedback logic branching tool. Using merge fields in logic requires some familiarity with merge fields -  so we recommend learning about merge fields before you dive in here. 

Getting Started

When building logic in your GetFeedback survey, you’ll choose to base the logic on a response, merge field or other response attribute - like response language. With logic branching based on merge fields, you can create a rule based on any merge field pulled in. 

To make GetFeedback aware of the merge fields you’re using in your survey, you must submit at least one complete survey response with the merge fields included to have your merge fields available to select, and use as building blocks in your logic builder. A URL with merge field values filled in may look like -

https://getfeedback.com/r/xxxxxxxx?Name=Emily&Tier=Premier&Customer_Type=New

To speed things up, you can manually enter your survey URL in your browser window and complete the survey response. Be sure to Submit the survey response, so GetFeedback will count the response as completed.

Once you've run through the survey once, your merge fields should appear within the GetFeedback response table. Now GetFeedback is aware that the merge fields exist, and you can use them in your survey logic, setting up actions, and in your custom mappings as well. 

ZYkf1M

Adding Logic to a Survey

  • Hover over the tile for the survey question in the survey outline, and click the Logic icon.

  • On the logic builder page, click + Add Logic to this Question to continue.

MergeFieldLogic01

Build a Logic Rule

Choose if you’d like your logic rules to run before or after a question is displayed.

  • Before - run logic rules before showing a question if you’d like to use logic to skip over a question.  

  • After - run logic rules based on the response provided by the customer to send them to a follow up question.

MergeFieldLogic02
  • To base the logic rule on a merge field, select +New Rule and choose Merge field from the dropdown. Then select which merge field you’ll use to set this condition up. 

  • Set up multiple conditions for a logic rule by clicking the + button on the right of the logic rule card to add another condition for the rule. Then choose if you’d like the rule to be a Match All or Match Any condition. 

  • Logic branching allows you to create rules based on a mix of responses and merge fields as desired.

  • Delete a logic rule by clicking the X button  in the top right corner of the logic rule card.

Finishing Up

  • Save your logic rules.

  • Once you’re done setting up your logic rules, as always, we recommend testing them before publishing your survey and sharing it with the world.