Delete contact or update survey response depending on embedded data | XM Community
Skip to main content

I was wondering if it is possible to delete a contact or update survey responses depending on embedded data. This means that I would like to flag either a contact or a survey response with some embedded data (like FlaggedForDeletion or FlaggedForAnonymization).
After setting the FlaggedForDeletion embedded data of a contact to 'X' or setting the FlaggedForAnonymization embedded data of a survey response to 'X', I would like to automate some action. The action should either be directly triggered if a contact or a survey response was flagged or it should check daily if something was flagged. Is it possible to set up this condition somehow? Based on this I would then schedule the follow-up tasks (WebService calls) to either delete the contact or anonymize (clear personal data from response) a response.
Thanks for your expertise.

Long story short: 

meanwhile, there are central configurations available to anonymize or delete responses and contacts after a specific time. Using this would be the easiest way but might not solve your actual requirement. 

If you want to take action once some response was “flagged” with an embedded data, you could set up a workflow and define the relevant trigger as well as some condition (e.g., only executed if the flag is set). The trigger can either be a recorded response but meanwhile it is also possible to trigger the execution once the response was updated via API (in case the response is flagged via API). 

Best
Christian


Leave a Reply