What is Zapier, and how can you use it with Simply Static Pro

Just a quick heads-up!

This article is more than 24 months old and might contain outdated information.
If you want to learn the latest about Simply Static, visit our documentation or watch our video course.

If you’re running a WordPress static site, you might need a way to automate different tasks. For instance, if you work with lots of clients or sell products, you might need a way to add contacts to a CRM like Pipedrive. Similarly, you might need to enter data in a Google Sheet or send a message to Slack.

Instead of writing code, you can use Zapier with your static website. Zapier lets you integrate the different web applications you use to automate tasks. This means that you can integrate your WordPress static site with just about any Zapier-supported application.

In this tutorial, we’ll take a closer look at what Zapier is and how you can use it with Simply Static Pro to run automations.

What is Zapier?

Zapier is essentially an automation tool that lets you create all sorts of workflows that involve the web apps and services you use. It’s based on a simple trigger and action system that you can use to create commands similar to IFTTT’s if this happens then do that.

The key benefit of using Zapier is that you don’t have to build integrations yourself. You can use Zapier’s zaps to create commands and automate different tasks. Here are some examples:

  • Share new Twitter mentions in Slack.
  • Create Trello cards from new rows on Google Sheets.
  • Add new Zoom meetings to your Google Calendar.

Zapier supports over 3,000 apps including Google Sheets, Slack, WordPress, Pipedrive, and Mailchimp with new options added regularly. 

Why you might need to use Zapier for your static site

You probably already know that static websites are displayed in the end user’s web browser exactly as they’re stored on the server. A static site is simply a series of HTML files served by an HTTP server where each HTML file represents an individual page of the static site.

The easiest way to build a WordPress static site is by using a plugin like Simply Static. It lets you create a static site directly from the WordPress admin. Once that’s done, you can deploy it to a directory on your hosting server.

Since static sites don’t have dynamic back-ends the way WordPress does, you need a tool like Zapier to trigger automations. Let’s look at some examples of automations you might want to run:

  • Add information to a Google Sheet when a user submits feedback.
  • Add contact to Pipedrive when a user fills out a form on your static site.
  • Send a message to Slack whenever a prospective client requests a quote.

These are just some of the different things you can do with a Simply Static Pro and Zapier integration. Next, we’ll show you how to use Zapier with Simply Static Pro to connect to different web apps.

How to use Zapier with Simply Static Pro

For this tutorial, we’re using the Simply Static Pro plugin to generate a static site. The static site is hosted on Netlify.

You can check out our roundup of 7 Easy Services for Static Hosting for more hosting platforms.

Step #1: Create a new zap

Create a Zap and choose Webhooks by Zapier → Catch Hook as its trigger. Copy the webhook URL from the trigger setup. Check that your plan supports Webhooks by Zapier. Set up the Zapier trigger.

Step #2: Set the trigger

The browser sends this form to its configured endpoint. Put an HTTPS form handler you control in front of any automation URL that contains a private key. The handler should validate the submission and forward the accepted fields to the automation from the server.

Set your server-side form handler to forward approved submissions to the Catch Hook URL. In Simply Static → Forms → Form Connections, choose the form, select Webhook and enter the public handler URL. Save, publish the form page and send a test entry. Select Test trigger in Zapier and confirm that the expected fields appear.

Form connection with submission method and form ID

Step #3: Set the action

In Google Sheets, give the first row a heading for each field, such as Name, Email and Message. In Zapier, add Google Sheets → Create Spreadsheet Row. Connect an account with edit access, choose the spreadsheet and worksheet, then map a field from the trigger sample to each column.

Step #4: Test the zap

Run the action test and open the worksheet. Check that the sample submission created a new row and that each value landed in the intended column. Publish the Zap, send a second submission from the static page and look for its row in the same worksheet.

Bonus: Use Zapier with Simply Static Pro to add a contact to Pipedrive

Use the same Catch Hook trigger. Add a Pipedrive → Create Person action and connect your account. Map the name and email from your sample submission. Run a test, open the person in Pipedrive and check the mapped fields before publishing the Zap.

Bonus: Use Zapier with Simply Static Pro to send a message to Slack

For a team notification, connect Slack and choose Send Channel Message. Select the intended channel and compose a message with the form fields the team needs. Test with sample data, check the message in that channel and publish the Zap.

Conclusion

Zapier lets you do so much more with your WordPress static site that would be pretty difficult to achieve otherwise. We showed you how you can:

  • Add information to a Google Sheet.
  • Create a new person in Pipedrive.
  • Send a message to Slack.

There are tons of other zaps you can create depending on your specific use case scenario.

Also, be sure to check out our tutorial on how to use IFTTT with Simply Static Pro.

START WITH YOUR OWN WEBSITE

See whether static fits your next project.

Run the free compatibility check first, or try a private copy in Simply Static Studio.