We have set up a survey where we display a clients contact information for them to confirm or update their information. For this survey we have created personalized links for each client which we have embedded in a Iframe of a splash page they see when they log into their client portals. We are pulling results automatically via an API call that brings the submissions into our internal database, compares the data to what we have on file and then sends a confirmation email if anything has changed.
We ran into a issue where partial responses were closing after a weeks time and bringing unsubmitted data into our systems, shooting off confirmation emails to clients who never submitted anything. Since the survey is embedded into a splash page that the client hits upon entering their client portal, all of the clients who log in will automatically have "started" their survey even if the client next enters anything and bypasses. Right now I have partial responses to delete after one week to alleviate the issue of the emails automatically sending of. However, I was informed today that this option also will make those personal urls inactive once the partial response is deleted. This causes an issue as we want to display the splash page again if a client bypasses it without having to generate new urls each time someone doesn't complete the survey the first time seeing it.
An idea I had was to set the partial responses to record after a long period of time and delete them prior to that time frame passing so they don't record. However, so we don't have to keep track of time frames for thousands of clients and manually delete them I was wondering if there is a way to utilize the API call to delete partial responses after a certain period of time? This could allow us to keep the survey open longer than one week without concern that the response will eventually close without the client submitting, triggering the automatic emails. For examples we set partial responses to record after 5 months of the last activity but utilize the API call to delete partial responses after 4 months of inactivity.
If the theory above is not possibly, is it possible let those partial responses record but then set up the API call to only pull results who have a Progress value of 100% and a Finished value of True?
Any help would be greatly appreciated!
Best answer by JasonHill
View original