Piping in previous answers or respondent information

This is currently an α alpha feature. Have you got any suggestions for how we can improve the optimiser? We are always looking for feedback, so feel free to get in touch!

Conjointly makes piping in answers to previous questions, GET variables, and respondent information effortlessly with the easy-to-use pipe-in formulas. This allows you to create responsive and customised surveys for each respondent, ensuring a more personalised and enjoyable survey experience.

Using the pipe-in formulas

The pipe-in formulas can be used in any field that uses Conjointly’s text editor, including:

  • Question texts
  • Question options
  • Conjoint questions
  • Conjoint level attributes
  • Survey flow controls
  • Redirect URLs

Follow these steps to set up the pipe-in formula:

  1. In the text editor, click on the f(x) to add the pipe-in formula. You can also highlight some text and press f(x) to convert that text to a formula.
  2. The editor automatically shows the full list of available formulas. Alternatively, type : in the editor to call out the formula list.
  3. When you hover over each formula, a tooltip will appear to tell you what the formula does, the required inputs, and examples.
  4. Select the formula you want to add, and the editor will autofill the formula.
  5. Press the tab key on your keyboard to see the available inputs.
  6. Click to add your desired input.
Adding formula to text editor

List of information and variables available for piping

Fields that support being piped in include:

Want to learn more about these and other functions used on the Conjointly platform? Check out the guide to formulas in Conjointly.

Example 1: Piping answers from previous questions

Piping in respondent answers from a previous question allows you to ask respondents follow-up questions on the answers given. Depending on the piping question type, different answer functions may be used.

In the following example, the case company is interested to find out if respondents are still willing to recommend their new car model if their top three most important features are not offered. The company first asked respondents to rank the features according to importance, and used piping to import the top 3 choices in the next Net Promoter Score question with the formula:

top(question_id, 3)

Ranking question as previous question
Followed up by Net Promoter Score question

Respondents will see their answers to the ranking question piped in the NPS question:

Respondent view 1

Respondent view 2

Respondent view 1 of piped questions
Respondent view 2 of piped questions

For questions that require multiple items and options set up, you may import items used in previous experiments or questions without having to input them again.

Example 2: Piping GET Variables

GET variables are effective in recording respondent data through custom survey links. You can also pipe in these variables in your survey to help engage survey participants and make them feel truly valued.

One common application is piping in GET variables to set up customised intro text to welcome respondents.

In the following example, the intro text is set up to welcome respondents with GETvariable('occupation')=='hcp'.

Customised intro text

The pipe-in formula entered:

if(GETvariable('occupation')=='hcp', 'Hello, healthcare practitioners! ',)

HCP respondents

Other respondents

Intro text for HCP respondents
Intro text for other respondents

Example 3: Piping respondent information

Conjointly records and saves respondent information for your data analyses. You can also pipe in this information for URL redirects to redirect respondents to different websites upon survey completion.

The following example features a survey that set to redirect respondents that completed Spanish surveys to the Conjointly’s Spanish website, while the others to be redirected to the Conjointly’s homepage.

Customised redirects using piping and formulas

The pipe-in formula entered:


Redirect Spanish respondents to the Spanish website

Redirect other respondents to the main website

URL redirect of en-US respondents
URL redirect of other respondents

Learn how you can set up a global survey with our informative guide on multilingual studies.