A very powerful way of integrating calculator submissions with other tools is to use webhooks. The beauty of webhooks is that you don't have to poll data (like the way Zapier connects tools). Instead, we send an HTTP request to whatever service you use whenever a calculator form is submitted.
Creating a Webhook
It's super easy to create a new webhook:
- Select button: in the calculator builder, select the button that should include the Webhook
- Add the Webhook action to the button: in the button panel, add the action "Add data to Webhook"
- Configure the Webhook: enter the URL of the service you want to connect with. This is probably an API endpoint or a lambda function.
Everything is set up correctly. Whenever there is a calculator form submission, an HTTP request will be sent to this endpoint.
Event Types
submissions.created
Right now, we only support one event type, namely submissions.created
. The submissions.created
event occurs every time someone submits a calculator form. This is the object we send to your URL on submission: