Remove "blank space" from email trigger | XM Community
Question

Remove "blank space" from email trigger

  • 22 June 2020
  • 3 replies
  • 44 views

We are sending out an email based on user's response using embedded. In the email we have a table with two embedded data fields per question. Certain embedded data fields won't be "called" if the user doesn't see the question. As a result we have blank rows in the table, is there any way to "hide" or "remove" the blank spaces? Photos below for clarity.
---------------------
Email Result with the "blank space" / blank rows
image.pngEmail Trigger Format
image.png
Survey flow logic for reference
image.png


3 replies

Userlevel 7
Badge +22

Construct the email body under branch logic itself, using HTML tags i.e. create an embedded data and update its value based on branch logic and pipe only this embedded data in the email trigger body.

Appreciate the quick response - if I understand your suggestion correctly, my concern with that approach is that we have a total of 53 'Yes' or 'No' questions and each question (depending on the response) prompts a different "response" that is being set as embedded-data currently.

Let me know if I'm misunderstanding your suggestion.

Userlevel 7
Badge +22

Okay got your point, but can't we just keep on updating single embedded data in each branch logic. So the embedded data assignment/ update would be like below:
Finalanswer = ${e://Field/Finalanswer}

Currently accesing in .IDE.......

Leave a Reply