Using Pipe Text in Questions

Using Pipe Text in Questions

Overview

Pipe Text allows users to dynamically insert data into survey questions while building surveys. Instead of manually typing repetitive information, users can pull values directly from previously answered survey questions, contact properties, survey metadata, and enrichment properties.

This helps create more personalized and contextual survey experiences. Users can also define fallback text for situations where the selected value is unavailable or use Conditional Pipe Text to display different text based on specified conditions.

Pipe Text can be used with:

  • Survey Questions

  • Contact Properties

  • Survey Metadata

  • Enrichment Properties

When to use it: Use Pipe Text when you want to personalize survey questions, reuse earlier responses, or dynamically display respondent-specific information.

IdeaUse Pipe Text in follow-up questions to create more conversational and personalized surveys.

Key Use Cases

  • Personalize survey questions dynamically

  • Reuse answers from previous questions

  • Insert contact information into surveys

  • Display metadata and enrichment-based information

  • Display different text based on conditions

  • Provide fallback text when a dynamic value is unavailable

Using Pipe Text

Access Pipe Text

  1. Open the Survey Builder.

  2. Select the question where you want to add Pipe Text.

  3. While editing the question text, click the {A} Pipe Text icon in the toolbar.


A menu will appear with the available data sources and the Conditional Pipe Text option.

Available Pipe Text Sources

Users can select the required source depending on the information they want to display.

Survey Questions: Pull responses from previously asked survey questions.

Contact Properties: Insert saved contact information, such as customer name, region, or department.

Metadata: Display contextual information passed through survey metadata, such as campaign or location details.

Enrichment Properties: Insert values from the selected enrichment list to personalize the survey using additional respondent data.

InfoEnrichment Properties appear only when "Enrich this survey with data" is enabled and an enrichment list is selected under Survey Settings.

Insert Pipe Text with Fallback Text

When you select a question, contact property, metadata field, or enrichment property, the Pipe Text configuration window opens.

In this window, you can:

  • Piped Value: Select the value you want to insert.

  • Fallback: Optionally enter static text to display when the selected value is unavailable.


Click Insert Pipe Text to add the selected value to the question.

For example, if you insert the respondent's name and set the fallback text to Customer, the survey can display the available name or use Customer when the name is unavailable.

Use Pipe Text from Survey Questions

Pipe Text can pull responses from previously asked survey questions.

To insert a previous response:

  1. Click the {A} Pipe Text icon.

  2. Select Survey Question.

  3. Choose the required question.

  4. Select the value to insert and optionally provide fallback text.

  5. Click Insert Pipe Text.

For example, a question can display: How satisfied are you with [Product Name]?

The placeholder is replaced with the respondent's actual answer during survey collection.

NotesOnly previously asked survey questions can be used as Pipe Text sources.

Use Pipe Text from Contact Properties, Metadata, and Enrichment Properties

To insert a value from one of these sources:

  1. Click the {A} Pipe Text icon.

  2. Select Contact Property, Metadata, or Enrichment Property.

  3. Choose the required property.

  4. Select the piped value and optionally enter fallback text.

  5. Click Insert Pipe Text.

The selected value appears as a dynamic placeholder within the question and is populated using the available respondent or survey data.

Use Conditional Pipe Text

Conditional Pipe Text allows users to display different text depending on whether specified conditions are met.

To configure it:

  1. Click the {A} Pipe Text icon in the question editor.

  2. Select Conditional Pipe Text.

  3. Enter a Condition Name to identify the configuration.

  4. In Show Text, enter the text to display when the rule's conditions are met. You can also insert supported dynamic values using the Pipe Text icon.

  5. Configure the conditions by selecting the relevant property, operator, and value.

  6. Use Add Condition to add conditions within a rule, Add Group to create a condition group, or Add Rule to define another rule.

  7. Optionally configure Otherwise Show to specify the text displayed when none of the rules match.

  8. Click Insert Pipe Text to add the configuration to the question.


For example, you could display different messages depending on a respondent's contact property, metadata value, or enrichment property. If none of the configured rules match, the text specified under Otherwise Show is displayed, when provided.

How Pipe Text Appears in the Builder

After insertion, Pipe Text appears as a highlighted placeholder or chip within the question text. Conditional Pipe Text is also represented in the builder so users can identify the inserted configuration.

During survey response collection, respondents see the resolved text or value rather than the configuration placeholder.

Editing or Removing Pipe Text

Pipe Text can be managed directly from the question editor. Users can remove an inserted Pipe Text value using its × option, replace it with another value, or edit the surrounding question text.

Best Practices for Using Pipe Text

  • Use Pipe Text only when the dynamic value is relevant to the question.

  • Ensure referenced survey questions appear before the question that uses their responses.

  • Add fallback text when a value may not be available.

  • Use Conditional Pipe Text when the displayed wording needs to change according to respondent data or specified conditions.

  • Verify that the selected contact, metadata, or enrichment properties contain the expected values before publishing the survey.

Warning
 If a Pipe Text value is unavailable and no fallback text is configured, no value will be shown in that case. Always preview the survey to verify the dynamic text and conditional rules before publishing.