How to create Zaps on WooCommerce?
In this guide, you will learn how to set up Zapier on your WooCommerce store through the WooCommerce Zapier plugin, so that you can create automated actions called Zaps based on events in WooCommerce, such as new orders, new customers, new subscriptions, changed order statuses and subscription renewals.
If you are more of a visual learner, feel free to instead follow along with my video tutorial below, where I outline everything described below.
Let’s jump into it!
Table of Contents
How To Set Up Zapier on WooCommerce
- Download, Install and Activate the Zapier Plugin
- Create a Zap
- Add a Zapier Feed in Your WooCommerce Site
- Complete and Test Your Zap
Step 1: Download, Install and Activate the Zapier Plugin
The first thing that you need to do is purchase and download the WooCommerce Zapier plugin.
Once you’ve downloaded the plugin, go to your WordPress Dashboard and select the Plugins option and click Add Plugin.
Then, from the Add Plugin page, click the Upload Plugin button and select the file that you just downloaded. When this file displays on the page, click the Install Now button beside it.
Finally, you must activate the plugin by clicking the Activate Plugin button.
Step 2: Create a Zap
Now that you have added and activated the plugin in WooCommerce, you are ready to create your first Zap. To do this, open a new tab in your web browser and go to www.zapier.com. If you have not yet created an account there, do this now. Otherwise, log into your account.
Once you’ve logged in, click on the + button to add a new Zap. The next thing that you will have to do is choose an app for this Zap. In the search bar, start typing “WooCommerce” until you see its app icon display. Then, click the icon.
You afterward must select a trigger event, which is what will cause an action to run. In the example that we will use in this guide, which assumes that you have installed WooCommerce Subscriptions, we are going to choose Subscription Created from the Choose Trigger Event dropdown list. But there are many other types of triggers that you can choose, which are associated with common events that occur during the running of your site.
After clicking the Continue button, you next have to grab the WooCommerce webhook, which you will use when adding a Zapier feed in your WooCommerce site. You do this by clicking the Copy button next to the webhook URL.
Step 3: Add a Zapier Feed in Your WooCommerce Site
Once you have copied the WooCommerce webhook to your clipboard, return to the browser tab with your WordPress Dashboard. There select WooCommerce and click Zapier Feeds. From the Zapier Feeds page, then click the Add Feed button, which will take you to the Add Zapier Feed page.
In the Trigger field, you should choose the trigger event that you selected for your Zap. In our example, we will select Subscription Created.
In the Webhook URL field, paste the contents of your clipboard.
Finally, you will also want to give this feed a title. In this example, we will enter “new subscription order” in the Title field.
Step 4: Complete and Test Your Zap
Now, you are ready to finish and test your Zap. So, go back to the browser tab with the Zap editor. There click the Continue button.
Next, we will test a connection between the Zap and your WooCommerce site. To do this, click Test & Continue.
Then, select your trigger. In this case, it is 1. Subscription Created in WooCommerce. This will fill in both the Choose App & Event and the Set Up Webhook fields. In the Find Data field, you should see a list of subscription records that you have created in your WooCommerce site.
Select a test record and click the Done Editing button.
Now, you have to choose an action that you want taken when a subscription gets created. In a real-world situation, you might want to have an invoice created in your cloud-based accounting system or something similar. But in this example, we are going to do something really simple: create a worksheet in a Google Sheets file when a subscription is created.
To do this, click 2. Do this … Then, in the Choose App & Event field type “Google Sheets” until its app icon displays. After selecting this icon, from the Choose Action Event dropdown list, select “Create Worksheet” and click the Continue button.
You will then have to sign into your Google account after clicking on Sign in to Google Sheets.
Once you have signed in, click the Continue button.
Now, you need to customize the worksheet. You do this by providing Zapier with a set of information. First, select the Google Drive where the spreadsheet exists in the Drive field. Then, choose the spreadsheet in the Spreadsheet field. In the Title and Header fields, select the title of the worksheet and the data that you want to add to it. Finally, specify whether or not you want the worksheet overwritten in the Overwrite? field.
After clicking the Continue button, next click the Test & Continue button, which will send test data to the spreadsheet. Once this has completed, if you go to the spreadsheet, you should see the test record that you added.
This means that you haven’t purchased and installed the plugin. Please read Zapier’s troubleshooting tips here: https://om4.io/woocommerce-zapier-documentation/troubleshooting/.
Zapier requires a secure HTTPS connection. If your site does not support HTTPS, contact your web host or website developer so that they can add this. If your site does support HTTPS, make sure that you are connecting to it using HTTPS. This means typing “https://” before your site’s web address instead of “http://”.
The errors you see only appear in the free version of the plugin. You won’t see them in the paid version of WooCommerce Zapier plugin, which was used to create both this article and the video.