Embedded Data in Create Survey Distribution API | XM Community
Skip to main content
Hello,

I have a question regarding the Create Survey Distribution API. When I send fields and values as embeddedData, how can I use these values in the Survey Flow? E.g. I want to show in the Survey introduction section an activity number sent in the embedded Data.

And where can I see these values in the platform? The Get Distribution API returns the correct values of the embedded data, but I can't find them in the platform.

Many thanks in advance!

Gaspar
In survey flow at start you can add new element as embedded data and name your embedded variable that you are passing in API using webservice. This embedded variable you can pipe in survey introduction.



you can also refer below:-

https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/advanced-elements/web-service/
Hi Bansal,

So I added the new field as a new element in the embedded data with the same name as in the API request:

!



And then I piped it in the Survey Introduction:

!



But when I take the Survey, it is not displaying the activityId value.

!



Do you know if I am missing any step?

Thanks,

Gaspar
Hi @GTissera ,



please add as per below link you have to add webservice too:-



https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/advanced-elements/web-service/
Hello Bansal,

So you mean that the embedded data can't be accessed from within the distribution instance and instead I should request the GET method of distribution API to retrieve the desired embedded Data?

Thanks

Gaspar
Yes, we cant directly access it when creating with api.
But this distribution was already created with API and I cannot access it directly in the distribution:

!

Thanks,

Gaspar
Can you try adding the embedded data in "contact list" for that specific contacts? and remove it from this distribution API.
hello @GTissera

Follow this Link https://api.qualtrics.com/docs/insert-embedded-data-fields
@Mohammedali_Rajapakar_Ugam No, because it should on the distribution level and not on the contact level. There is a case of a Contact with more than one activityId's.

@sankeshkumar This API seems to be useful to add embedded data on the Survey on design activities, but not to add values to a specific distributionId.



I'm still looking for advice on this.

Thanks,

Gaspar
@GTissera,



The following note is on the create survey distribution doc page:



!



So that data is not intended to be used in the survey as you are trying to do. Personally, I think Qualtrics should have named it something other than 'embeddedData' because it is misleading.
@TomG I definitely agree with you. Is it somehow possible that this request reaches the Qualtrics dev team? Maybe they have an answer for this.



Thanks.
@GTissera , you have to open ticlet with support team:

https://www.qualtrics.com/support-center/?Product=survey-platform
Hi @TomG and @GTissera! Feel free to post this in our Product Ideas category, as it is a feature not already developed by our team. Be sure to review the How to Write a Good Product Idea template and our Ideation Guidelines before you post your idea! 🙂

Leave a Reply