Articles on: Snapshots

Webhooks

InstaWP allows you to connect any platform that supports webhook calls with shared snapshots, enabling seamless automation and data collection. In this example, we are connecting Shared snapshots using Make (an automation platform) with Google Sheets, so that every time a new demo site is spawned, a new row with details is added to Google Sheets.


In this documentation, we will explore the steps to connect the webhook to the shared snapshot and collect sandbox spinups in a Google Sheet with the help of Make (an automation platform) with the following steps:


Let’s get started πŸš€



Step 1: Configure Make (Add webhook)


Log in to your Make account, create a new scenario, and include a webhook.


Step 1: Click Create a new scenario from the Make dashboard.



Step 2: Select Webhooks from the list.



Step 3: Click Custom Webhook from the options.



Step 4: Hit Create a webhook button.


Step 5: Provide a name and click Save.




Step 6: Once saved, copy the generated URL.






Step 2: Configure InstaWP


Step 1: Go to the shared snapshot's Sharing Options > Integrations, and paste the webhook URL into the webhook field. Set the Webhook request type as json, then click Save.



Step 2: Now, click the Preview button from the top right corner.



Step 3: Click Launch demo to create a new site.




Step 4: Now click Proceed after providing the email address.



Step 5: The demo site will be ready within a minute.






This will test the webhook URL by creating and verifying a new site on the Make's interface, once done click Save.




Step 3: Create & Configure Google Sheet


Create an empty Google Sheet with the following headers:


  • Email
  • Snapshot
  • Checkbox
  • WP URL





Go to the Make dashboard and connect the webhook module with a new Google Sheet module, choose the Action as Add Row.


πŸ‘‰ Note: Ensure the user is logged in with the same Google Mail ID for integrating webhooks, or they will need to create a new Google Sheets connection by signing in with a different Google ID.



Once you have selected the Path type > My drive > Spreadsheet & Sheet ID, then you need to map the Google sheet headers with the available headers from InstaWP as follows.


Google Sheet Headers

Available Headers

Email

email

Snapshot

snapshot_slug

Checkbox

marketing_option

WP URL

site_url


Note: If users don't find text strings for Google Sheet headers for mapping under the "Table contains headers" section, they can type {{1.email}} on the Email field, {{1.snapshot_slug}} on the Snapshot field, and so on.



Step 4: Testing


Go to the shared snapshot and try to create a new site from your snapshot shared link.


Step 1: Click on the Preview button from the top right corner of your screen.



Step 2: Click the Launch Demo button to create a new site.




Step 3: Now click Proceed after providing the email address.


The demo site will be ready within a minute.






This will update the Google sheet with the email address, snapshot name, and site URL.




We send the following parameters in the webhook:



Webhook URL


In webhook, we send the following information:


  • Email
  • Name (if Name collection is enabled)
  • Site URL (demo site's URL)
  • Site ID
  • Admin Username
  • Admin Password
  • Auto Login Hash (which can append to https://app.instawp.io/wordpress-auto-login?site=)
  • Extend Lifetime Hash (which you can append to https://app.instawp.io/wordpress-extend-site-life?site=)


πŸ’‘ 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: 30/05/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!