Workflow task : Load XM Directory Contact Detail | XM Community
Skip to main content

Hi Community,

I'm trying to find is a contact exists in my XM directory based on an email provided by a respondant in an anonymous survey.
The "Load XM Directory Contact Detail" task seems to be the one to implement but it requires a contactID witch is like "CID_09ceIzM6caOZPTw"
No chance to get this ID in a survey without piping it in from Directory (and in this case, the task is useless !

Does anyone have any experience with this task or any idea to resolve my issue ?

Here is an example of the task configuration window :
User: Thanks,
Élie D

ElieD
I believe if you just need to find if a contact exists in XM Directory you can use Authenticator in survey flow and based on email which you are getting you can fetch the required details.
Also, yes you would not be able to get ContactID via a metadata in survey flow . You can add a feature request if needed.
Hope it helps!


You can use a Web service to call the search directory contacts API with a filter on the email.
See https://api.qualtrics.com/c79e78a949572-search-directory-contacts

image.png


Thanks,
The webservice is what I need !


vgayraud Thank you so much for providing a solution and great use of Web Service! ElieD Thank you for confirming the solution! 👏


@vgayraud, I’m trying to do something similar but with the webservice task in workflows instead of survey flow.

Do you have any advice on how to set this up in workflows? 

 


Hi @K_Watts 

It would be very similar if you’re looking to do the same :

The value for your filter would be :

{"filterType": "email","comparison": "eq","value": "${q://QID1/QuestionText}"}

where ${q://QID1/QuestionText} would be the piped text from your question or embedded data containing the email.


@vgayraud , thank you so much! 


Leave a Reply