Submit Hook lets you send content from a form on a static website to a webhook as JSON and redirect the user to a page afterwards. We have done this 2357 times 🤘
Take Submit Hook for a spin to see how it works. This will trigger a webhook to Zapier that will send you an email. You can setup your own Zapier here or use an entirely different service.
At Legal Monster, we needed a way to capture data from forms on our static website, check for GDPR consent, do lead scoring on the person and the post the information to our CRM.
We could have solved this by writing a reasonably significant process in code, but processes like this are relatively complex to code, and they change often making them a considerable pain to maintain.
We are, like you correctly guessed, big fans of Zapier, all we needed to tie a form together with a complex Zapier flow was Submit hook, so we spend a weekend on it 😃
In our use case we have a straightforward signup form, when that form gets submitted we run the Zapier flow on the left. First it will hit a Zapier webhook, then it will filter out people that did not give consent to process their data, then it will use Zapiers lead scoring to find more information on the person before it submits the data to our CRM, Close. In the end, our CRO Anthony will be notified so he can reach out to the prospect.
Submit Hook works by you defining submithook.com as the action of your normal HTML form, make sure the method is post.
The URL for the webhook is defined as a hidden filed within the form. It needs to be a valid webhook URL that can accept JSON in the body.
This defines what URL your user should be redirected to after the form has ben submitted. It's important that this is the full URL.
Now you can add all the input fields you wish to! Every field will be pushed to the defined webhook and they will be defined as URL parramaters on your redirect page. We don't support file uploads.
The finished implementation looks like this: