Is it possible to have text blocks in email tasks based on response answers? | XM Community
Question

Is it possible to have text blocks in email tasks based on response answers?

  • 31 August 2020
  • 3 replies
  • 6 views

Say I have a link I want to display only if someone chooses a specific answer in question 1. Is that doable?


3 replies

Userlevel 7
Badge +27

There are two ways to approach this:

  1. You can have separate emails triggers for different conditions.

  2. You can set and embedded field to contain different text based upon the answer to a question in the survey flow, then pipe the embedded field into the email.

When trying to set an embedded field all I see is the ability to put the value of the selected responses into the embedded data. Say someone picks Housing in the example question below. I would need to include the housing website url.
Example Question:
1.     I would like to be connected to the resources in the following areas:

Coursework (How to study, time management, writing papers, tutoring services)  
Culture Centers (drop down appears if clicked on)
Dining
Diversity and Inclusion resources
Financial management techniques
Getting involved on campus
Getting involved in the Bloomington Community
Housing
International Student Services and Programming
Mental Health and Well-being
Religious Life
Safety
Other: 

Userlevel 7
Badge +27

In your survey flow you would have a branch and embedded data block that looks something like:
Embedded Data: housing_url = Housing
Then you can pipe ${e://Field/housing_url} into your email trigger. It will be blank if housing wasn't selected or a link to the url if it was selected.

Leave a Reply