Embedded data | XM Community
Skip to main content

Hello,
I would like to create embedded data for my survey questions. Ultimately, I would like to create an API that accepts the data from Qualtrics.

I have a rank question that has 4 options. Is there a way to use logic for those responses? Something like...If="1" then [priority_one]

The SQL fields are priority_one, priority_two etc.

Thank you for your help!

We can save the response which was ranked 1dt, 2nd so on in flow or via JS. And then that could be added via API to directory.


CLM ,
This function that saves ranks to embedded variables may be of interest.


How would I save the responses in flow?


You will need to write a JS to get the rank values in and then set it using "setEmbeddedData" function.
First call this function in onPageSubmit and then set the values. For setting the values just get the text version of the first text. For example:
jQuery('ul li').eq(0).text()


Leave a Reply