WebService inside Service JSON | XM Community
Question

WebService inside Service JSON

  • 22 January 2024
  • 3 replies
  • 25 views

Badge +1

I am try to integrate Microsfts Azure Translator as a WebService into my survey to translate survey responses in real-time. Unfortunately, the request composition in Azure requires a JSON list, which is not possible inside the webservice of Qualtrics as it does not allow for free text. Is there a way around it? I got it working as a normal Web Service Task inside Qualtrics.


3 replies

Userlevel 6
Badge +27

You can try to call the API from a hidden question JS using jQuery request.

Badge +1

You can try to call the API from a hidden question JS using jQuery request.

Thanks for the answer, this sounds workable! Can I then use the response body as embedded data in a later part of the survey?

Userlevel 6
Badge +27

You can try to call the API from a hidden question JS using jQuery request.

Thanks for the answer, this sounds workable! Can I then use the response body as embedded data in a later part of the survey?

Yes we can use Qualtrics.SurveyEngine.setEmbeddedData("<Embedded Data Name>", "<Value>"); function to store the data in an embedded data.

Leave a Reply