Webhooks
InstaWP allows you to connect any platform which supports webhook calls with shared templates.
In this documentation, we will explore the concept of webhook (in shared templates) with an example of how you can collect sandbox spinups in a Google Sheet with the help of Make as the automation platform.
To get started, create a free Make.com account and obtain a webhook.
In this example, we are connecting Make to Google Sheet, so that every time a new template site is spawned, a new row with details is added to Google Sheet.
Create a new Scenario - Add Webhook as the first step.
Provide a name to your Webhook
Copy URL
Now open the template Sharing Option > Integrations, and paste the webhook URL into the webhook field.
Test the webhook URL by creating a new site and verifying it on the Make's interface.
Next, create an empty Google Sheet with following headers:
Go to Make's dashboard and connect webhook module with a new Google Sheet module, choose the Action as "Add Row".
Now, map the Google sheet headers with the available headers from InstaWP.
Try to create a new site from your template shared link.
You will see the email address appearing in your Google Sheet.
We send following parameters in the webhook
💡 Did you know - You can call WaaS webhooks to generate one-time use checkout links to create a new website for the user. Learn about Webhooks for new WaaS.
In this documentation, we will explore the concept of webhook (in shared templates) with an example of how you can collect sandbox spinups in a Google Sheet with the help of Make as the automation platform.
Make + Google Sheet
To get started, create a free Make.com account and obtain a webhook.
In this example, we are connecting Make to Google Sheet, so that every time a new template site is spawned, a new row with details is added to Google Sheet.
Configure Make
Create a new Scenario - Add Webhook as the first step.
Provide a name to your Webhook
Copy URL
Configure InstaWP
Now open the template Sharing Option > Integrations, and paste the webhook URL into the webhook field.
Test the webhook URL by creating a new site and verifying it on the Make's interface.
Google Sheet
Next, create an empty Google Sheet with following headers:
Go to Make's dashboard and connect webhook module with a new Google Sheet module, choose the Action as "Add Row".
Now, map the Google sheet headers with the available headers from InstaWP.
Testing
Try to create a new site from your template shared link.
You will see the email address appearing in your Google Sheet.
Parameters in the webhook
We send following parameters in the webhook
💡 Did you know - You can call WaaS webhooks to generate one-time use checkout links to create a new website for the user. Learn about Webhooks for new WaaS.
Updated on: 09/04/2024
Thank you!