Submit Hook

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 652 times 🤘

Demo

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.

We will not send you any spam! All we send is this email 😇

Our usecase

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.

Documentation

1. Post to Submit Hook

Submit Hook works by you defining submithook.com as the action of your normal HTML form, make sure the method is post.

2. Define what webhook we should call

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.

3. Define redirect URL

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.

4. Add all the fields you wish

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:

Delivered by Legal Monster.