Book a demo

How to Use Respondent Data to Personalize Survey Questions

Dec 3, 2026

A survey feels personal when it greets people by name and only asks about things that apply to them. In SurveySparrow you do this with respondent data you already have: contact details from your contact list and custom variables passed in the survey link. This guide shows how to pipe that data into question text and use it to decide which questions each person sees.

At a glance

Who it's forTeams that survey known customers, members or users and want one survey that adapts to each person
What you'll set upPiped contact details in question text, a custom variable passed in the survey link, and Display or Skip Logic that uses that data
Features usedVariables picker, Contact Detail Variables, Custom Variables, Display Logic, Skip Logic, Contacts, Preview
Before you startRespondent data you can supply: contacts with details such as first name, or a value your own system can add to the survey link

Two sources of respondent data

SourceWhat it holdsHow it reaches the surveyShows up in logic as
Contact detailsStandard fields such as first name, last name, email, phone, mobile and job title, plus any contact properties your team addsFrom the contact the survey is sent toContact
Custom variablesAny value you define, such as a plan, region, store or rebate status, as text, a number or a dateAdded to the survey link as a URL parameterParam

Step by step: personalize questions with respondent data

Step 1: Decide what to personalize

List the data you hold for each respondent and what it should change: a name in the greeting, a product or location in a question, or whole questions that only apply to some people (for example, rebate questions only for customers who were eligible for a rebate).

Step 2: Keep customer data on your contacts

Store respondent details as contacts in More › Data › Contacts, where you can manage contacts, create lists and target surveys to specific audiences. Standard fields such as first name and email are built in; add your own fields as contact properties in Settings › Property Settings › Contact Properties. Contact data fills in when you send the survey to those contacts.

Step 3: Pipe contact details into question text

Select a question, place the cursor where the data should appear and select the Variables icon (the $ symbol) next to the question text. Choose a field from Contact Details, such as $Contact_FirstName, and it is inserted into the question, for example “How satisfied are you with your recent visit, $Contact_FirstName?”. Each respondent sees their own value. Custom variables appear in the same picker under Variables.

Question text with $Contact_FirstName piped in and the Variables picker listing a custom variable and Contact Details
Question text › Variables: pipe in contact details and custom variables

Step 4: Create a custom variable for data in the link

For data that isn't stored on a contact, open the Variables panel from the builder's left rail and select Add a Custom Variable. Enter a Label (the API Identifier fills in automatically), an optional Description, and choose a Type: String, Number or Date. Select Save variable. The panel then shows the survey link with the variable added as a parameter, such as ?rebate_status=XXXX, so your own system can fill in each respondent's value when it sends the link.

Add New Variable form with Label, auto-filled API Identifier, Description and String, Number or Date type
Variables › Add a Custom Variable

Step 5: Show questions based on respondent data

Select the question that should only appear for some respondents, open its Logic tab and select Define next to Display Logic. Choose Param to use a custom variable, or Contact to use contact details, then pick the field, an operator and a value, and select Apply Logic. For a custom variable, operators include Equals, Not Equal To, Contains, Does not Contain, Starts With, Ends With, Less Than, Greater Than, Is Passed and Is Not Passed. For example, “Param › rebate_status › Equals › eligible” shows a rebate question only to eligible customers, and the Logic tab summarizes it as “Show this question if rebate_status equals eligible”.

Display Logic dialog showing the question only when the rebate_status parameter equals eligible
Logic › Display Logic: route by a custom variable

Step 6: Skip whole sections with the same data

To jump respondents past a group of questions, use Skip Logic on the question before them. Its conditions offer the same sources, Question, Contact, Channel, Param and Device Type, so you can screen people out or send them straight to the part of the survey that applies. For more branching patterns, see how to use survey branching and skip logic to personalize questions.

Step 7: Combine respondent data with answers

Select Add condition to combine rules; additional conditions are joined with AND by default. For example, show a follow-up only to eligible customers who also gave a low rating. For rating-based follow-ups, see how to ask follow-up questions only when a customer gives a low rating.

Step 8: Test with real values

Use Preview to check the flow, then send a test to a contact with known details and open the survey link with each variable value you expect, such as ?rebate_status=eligible and ?rebate_status=not_eligible. Confirm that names fill in and that each version shows the right questions.

 

Try custom variables and Display Logic free

TRUSTED BY BEST-IN-CLASS BRANDS

bacardicoheredhldubai-mediaflipkartgrant-thorntonieeemarshallsmeeshomiddlesex-universitynykaaoperaparagonpechangasamanasiemensunion-coopvolkwagen
bacardicoheredhldubai-mediaflipkartgrant-thorntonieeemarshallsmeeshomiddlesex-universitynykaaoperaparagonpechangasamanasiemensunion-coopvolkwagen

Tips and common mistakes

  • Plan for missing data. Write question text that still reads well if a field is empty, or use Is Passed and Is Not Passed to handle respondents without a value.
  • Keep variable values consistent. “eligible” and “Eligible” are different values to an Equals rule.
  • Use clear API identifiers. Short, lowercase names such as rebate_status are easier to add to links and read in logic.
  • Don't over-personalize. A name in the first question is welcoming; repeating it in every question can feel automated.
  • Avoid sensitive data in links. Values passed in a URL can be seen by anyone who has the link, so keep personal details on contacts instead.
  • Re-test after changes. Renaming a variable or editing contact properties can affect logic that refers to them.

FAQs

How do I show a respondent's name in a survey question?

Select the Variables icon next to the question text and choose $Contact_FirstName from Contact Details. It fills in from the contact the survey is sent to.

Can one survey show different questions based on customer data, such as rebate status?

Yes. Create a custom variable such as rebate_status, pass its value in the survey link, and add Display Logic with Param › rebate_status › Equals and the value that should see the question.

Can I personalize questions using data I upload?

Yes. Keep customer data on contacts and contact properties, then use it in question text through the Variables picker and in logic through the Contact condition.

Can I skip respondents past questions based on their data?

Yes. Skip Logic conditions can use Param and Contact as well as earlier answers, channel and device type.

What types can a custom variable be?

String, Number or Date. Number variables work well with Less Than and Greater Than rules.

Planning the wider program? See how to build a customer feedback program using NPS, CSAT and CES.

Personalization checklist

  • List the respondent data you have and what it should change
  • Store customer details as contacts and contact properties
  • Pipe contact details into question text with the Variables picker
  • Create custom variables for data passed in the survey link
  • Add Display Logic with Param or Contact conditions
  • Use Skip Logic to jump past sections that don't apply
  • Combine data and answers with Add condition
  • Test with real contacts and every variable value

Ready to personalize your surveys? Start with SurveySparrow and show every respondent questions that fit them.

Sources