Dynamic Form Submission Redirect

I’m building a calculator tool and want to show users their results on a personalized web page instead of just emailing them. The redirect page will have customized marketing resources based on their specific results.

Here’s my current setup: User submits the form, Zapier processes their data and results, then creates a new CMS item in Webflow with their personalized page. I want the form to redirect users directly to their personalized CMS page.

The issue is timing - the form submission and CMS page creation happen simultaneously, so there’s no easy way for the redirect to know the new page URL before it needs to send the user somewhere. The Zap creates the page, but by the time it’s done, the user has already been redirected elsewhere.

Any ideas on how to bridge this gap between the form submission and getting the user to their newly created CMS page?

1 Like

This is one of the reasons I don’t use Zapier- it doesn’t support webhook responses. Make does, n8n does, pretty much any other solution does.

Ideally, you’d have JS handle the submit to the action ( the automation webhook ), wait for a response, and then have the slug needed to form the redirect.

Given that you took a different path, I’d probably so something like this;

  • Pre-determine the slug. You manufacture it client-side, can be a UUID or MUID or one-way-crypto email hash, whatever. Pass that to the webhook.
  • Redirect the user to a /loading page with a Please wait animation. Pass your unique token on the querystring. Run a script that forms the path from that token, and pings it every 500ms to see if the page exists yet. Once you get a 200, redirect the user there.

Or use an email flow-

  • Require the user’s email in the form
  • Pass it to the automation, have the automation also send an email to the user
  • On submit, you thank them tell them to check their email for the link