This is an advanced feature that requires some programming knowledge. Please note that we are unable to provide support for creating or troubleshooting custom code.
Webhooks are a way to instantly receive information from your widgets as soon as it's submitted. You specify the URL you want to receive the data to and Getsitecontrol will POST to that URL whenever a form is filled out on your website.
Webhooks allow you to receive real time data from your widgets. The way this data is processed on your side fully depends on your Webhooks handler.
First, you need to specify the URL you want to receive the data from the widget to. Here’s how you can do it: open your Getsitecontrol dashboard and click
Edit on the necessary widget. Switch to the Integrations tab and click the +Add webhook link.
Enter the URL you want Getsitecontrol to make HTTP POST requests to.
Now you need to map the widget fields to choose what data will be passed with your webhook notifications. Click the
Map widget fields button.
The fields on the left are the fields that Getsitecontrol can export. The ones on the right are the key values in the POST requests. You can change the names of these columns.
To get some extra details, you can add extra fields with the
+Add field button.
To learn more about field mapping, take a look at this guide.
OK to save the changes, and you’re all set! Now when webhooks are enabled all new submissions will be automatically POSTed to the specified URL.
Webhook notifications are sent via HTTP POST request, and the request body contains the data from the fields in your widget. The request data is sent in the
application/x-www-form-urlencoded format. For example, if you have two fields, email and name, in your widget, here’s what a request will look like: