How do I place data from loop and merge questions into an email event? | XM Community
Skip to main content

I would like to display in an email the answers from a loop and merge block in my survey. I only want to show the loops that were gone through and there corresponding answers. I could pipe text from each loop in the email. but that would leave a bunch of blank spaces, I was wondering if there was a way to use embedded data to collect and display only the loops that were answered.

you can use embedded variables to pipe in email. In survey flow set embedded field (like maximum loop respondent can see) for example you have loop 10 times but all user see random 2 so set variable 2 times and punch values.


Thank you for responding to my inquiry, I think I am confused as to you explanation. Are you saying to have an embedded variable based on the loop count?


Still not solved in 2024...


@wernerNL,

You can add JS to a question in your loop that appends the answer value for the current loop to an embedded data field as html. Then pipe the embedded data field into your email.


Leave a Reply