sending survey results to web service - all at once | XM Community
Skip to main content
Question

sending survey results to web service - all at once

  • 26 June 2024
  • 1 reply
  • 21 views

Hi,

I’m creating a workflow that gets triggered for every new survey submission to send data (of that submission only) to an external service using the WebService task. This works fine using Piped Text in the json payload to the external service. But this way I have to extract each answer separately with a piped text statement.

Now I’m looking for a way to send all answers from a single survey submission at once, so that I don’t have to enter each field separately as a Piped Text item. For my use case, almost any json schema will do, as long as it contains the question IDs and corresponding answers.

Is there a way to do this? For example, is there a piped text statement that contains all survey data as a json blob? Or is there a way to iterate over all questions/answers in a javascript Code task so that I can construct a suitable javascript return object?

Cheers,
Mark
 

1 reply

Userlevel 7
Badge +27

@mark92672a - I think you could use this API: https://api.qualtrics.com/1179a68b7183c-retrieve-a-survey-response

Leave a Reply