How to set up an action and use Qualtrics API to create contacts? | XM Community

How to set up an action and use Qualtrics API to create contacts?

  • 1 August 2019
  • 1 reply
  • 21 views

Hi.

I am just starting to figure out how to trigger survey action using web service; The first thing I want to try out is to setup a web service action that uses Qualtric's API to create contacts based on an email field in the survey.

Can anyone help me figure out how to configure this? I know there is the contact list trigger, but I'd love to try it out with Q's API.

!

1 reply

Userlevel 7
Badge +27
Usually, API calls are made from an intermediary script, which offers unlimited flexibility.

To call directly from an action, you first need to add headers for X-API-TOKEN and Content-Type. See: https://api.qualtrics.com/reference#create-recipient-contact. I think you'll only be able to specify top level data in the action (i.e., you won't be able to add Embedded Data unless you've already formatted all the embedded fields into one json string).

Leave a Reply