Introduction to webhooks
Last updated
Last updated
Webhooks are a system of automated notifications indicating that an event has occurred on your website. Rather than requiring you to pull information via our API, webhooks push information to your destination when important events occur.
If you use Zapier, this could be an alternative method for your automation and marketing efforts.
Where to find your webhook application: Go to Settings > Applications > Add application > Connect webhook
Select your trigger that you want to use.
For example: You want to trigger an action based on 'New orders'
Fill the destination URL to call when one or more of the events below. That's it - on one of the selected events, we'll make a POST request to your destination URL with the details of the event.
Your destination URL should acknowledge the request was accepted by returning a status code HTTP 200. Failing to return a code in the 2xx range will be considered a failed request and an email will be sent to the owner of the website notifying for the error.
Optionally, use the webhook secret to ensure that each request to your destination URL is sent by us.
Upon event trigger for the selected events, we'll make a POST request to your destination URL with the details of the event.
Your destination URL should acknowledge the request was accepted by returning a status code HTTP 200. Failing to return a code in the 2xx range will be considered a failed request and an email will be sent to the owner of the website notifying for the error.
Optionally, use the webhook secret to ensure that each request to your destination URL is sent by us.
Let's take you through an example:
1, We want to capture peoples information when they fill a form out on the website. For this instance we are using an amazing integration automation software called Make
2, With the information collected, we want to update a Google sheet with that information.
Firstly: Create a form in your website.
When creating your scenario in Make > Select add > name it > then a url will display. Copy and paste this URL in your webhook url destination in your website builder settings.
Once you have added the destination url in your website builder. Click 'Run' in Make. Then fill out your form. This will start collecting information from your form so you can add to Google sheets.
As shown below, we have already ran a test to start inserting data into Make
Name
Email address
Form name
Now that you have the information in the Google sheet tab in Make Run another test to ensure the information is pushed across to the Google sheet correctly.
As shown below, all information required has been added correctly.
Getting started with Make is very easy and free. If you have any questions about using Make for your automations, reach out to us via the website support chat and we can help with your integrations.
We have users who wanted a Printful and ship station integrations developing, so we helped them with those scenarios.
We look forward to seeing your automations using webhooks too.
Take a look at Make here