We need a way to invalidate specific survey links, such as when a customer has been invited by mistake. In such cases, it is essential that the customer cannot use the survey link, as this could lead to reporting inaccuracies caused by data that should not have been collected in the first place.
It is important to note that we do not want to deactivate the entire survey project or stop the response collection altogether. Instead, we only want to deactivate individual links.
Currently, we manage this issue using one of the following manual methods:
-
Waiting for Expiration: We wait until the survey link naturally expires, then manually check whether a response has been submitted by the relevant customer. If a response exists, we delete it from the reporting.
-
Manual Completion and Deletion: Alternatively, we quickly complete the survey ourselves and immediately delete the resulting data.
We are looking for a way to automate this process. After reviewing the available APIs, one potential solution could involve initiating a survey session and then deleting it without saving the data. This process could be based on the distribution and recipient ID. But what if the session was already started? How to get the session ID?
Ideally, we would like to use the personalized survey link itself as input. However, the link only contains the Q_DL parameter, which does not seem sufficient to initiate the API process.
Q_DL: This distribution link element is what links the response to the contact list. It is formatted by the distribution id, survey id, and contact lookup id.
Is there any feasible way to automate the deactivation of individual survey links using the available APIs or other methods? Any guidance would be greatly appreciated.