After my respondents complete a one-page survey they go to a brief “thank you” page, which triggers an HTTPConnect action that sends all the parameters / values that they entered to a webhook on my web server.
My web server then assigns a unique id to that data, and I would then like to redirect those visitors to a new URL, for example:
I see that my webhook can return a value — it just isn’t clear to me that I can return a redirect.
I also see that I can set a delay, and then redirect the user — but, I’m not sure how to pass the unique_id back to SurveyGizmo and have you use it in the redirect. (And, it seems non-ideal because if I set the delay too short, I might not have enough time to return the unique_id, and if I set it too long the user might navigate away from SurveyGizmo.
Does that make sense?
You can definitely send values from SurveyGizmo via a URL redirect:
It’s a matter of passing a value into SurveyGizmo (typically via URL variable). The value can be captured on the survey in a Hidden Value action:
I’m not sure how this all plays into your web-hook but perhaps this information is helpful..
Thank you Dominic, that solved my problem. I just needed to think about this as a redirect to my webhook, rather than as a sub-request using HTTPConnect.
As an aside, for anyone else in this situation: I’m not sure why SurveyGizmo won’t let you do a redirect after a 1-page form (survey) — but, you can work around this by creating a 2nd page that just displays a “Please wait a moment while we process your information” message, and then do a 0 second redirect to your website.