How can I customize the loop and merge block to get the data from a CSV? | XM Community
Skip to main content
Question

How can I customize the loop and merge block to get the data from a CSV?

  • January 26, 2024
  • 2 replies
  • 210 views

Forum|alt.badge.img

I have a CSV file containing each manager and the direct reports under them. The idea is to create a loop of questions depending on the number of direct reports they have and ask them 2 questions for each direct report. So for example if Manager A has three direct reports, he will have 2 sets of question for each direct report, up to a total of 6 questions. I will automate this list through uploading it to the contacts directory and feed it to the embedded data but I am unsure on how I can pull off adding the questions for each direct report.

2 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • 2050 replies
  • January 28, 2024

You could upload the csv file to the Qualtrics library and use a web service request inside the survey to pull the data. This data can then be used to populate the loop and merge block.


Forum|alt.badge.img
  • 1 reply
  • March 12, 2024

You could upload the csv file to the Qualtrics library and use a web service request inside the survey to pull the data. This data can then be used to populate the loop and merge block.

Could elaborate on how to connect the csv file in the Qualtrics library with the web service? Thanks!