Use branching logic to set embedded data in an API import project? | XM Community
Skip to main content
Solved

Use branching logic to set embedded data in an API import project?

  • April 4, 2022
  • 2 replies
  • 68 views

Forum|alt.badge.img

Hi,
I'm importing data via the API into a blank survey project.
The fields coming through are mapped as embedded data, and working fine.
But I need to assign additional embedded data fields using branching logic. (If "Queue" contains "ABC" then set "Brand" as "CDE") I have it set up exactly the same as a live survey, but nothing is being assigned in my import project.
Has anyone successfully added conditional embedded data within Qualtrics to an API import project before? Or do I need to ask my developer to add the fields upstream?
Thanks!

Best answer by Aanurag_QC

The branch logic won't work in the survey flow, as you're importing responses that skip the entire survey flow, and hence the branch logic would skip as well. You would need to pass the value directly in the import and use if-else logic outside of Qualtrics.

2 replies

Aanurag_QC
QPN Level 5 ●●●●●
Forum|alt.badge.img+31
  • Answer
  • April 7, 2022

The branch logic won't work in the survey flow, as you're importing responses that skip the entire survey flow, and hence the branch logic would skip as well. You would need to pass the value directly in the import and use if-else logic outside of Qualtrics.


Forum|alt.badge.img

Thanks for confirming Aanurag!