Skip to content

Trigger Rules

A Trigger Rule defines an event (or multiple events) that will cause WooCommerce data to be sent to a Zapier Zap.

Available Trigger Rules

Below is a description of all available Trigger Rules that can be used in your Zaps. Click on a Trigger Rule for more details and tips.

Tip

To see what has changed in Trigger Rules since the previous 1.x version, please see the Changes in Triggers chapter in the Migration Guide.

Trigger Rule Description
COUPONS1
Coupon created1 Triggers when a coupon is created.
Coupon deleted1 Triggers when a coupon is deleted (trashed).
Coupon restored1 Triggers when an already trashed coupon is restored from the trash.
Coupon updated1 Triggers when a coupon is updated/edited/changed/modified.
CUSTOMERS
Customer created Triggers when a WordPress user registers, a customer registers in the WooCommerce store, or customer data filled during checkout.
Customer deleted Triggers when a customer is deleted.
Customer updated Triggers when a WordPress user or a customer is updated/edited/changed/modified.
ORDERS
Order created2 Triggers when an order is created.
Order deleted2 Triggers when an order is deleted (trashed).
Order paid2 Triggers when an order is paid for. Occurs for real-time payment gateways (such as Stripe, PayPal, or most other credit card gateways).
Order restored2 Triggers when an already trashed order is restored from the trash.
Order status changed2 Triggers every time an order changes status.
Order updated2 Triggers when an order is updated/edited/changed/modified, including when an order is refunded.
PRODUCTS
Product created Triggers when a product is created
Product deleted Triggers when a product is deleted (trashed).
Product restored Triggers when an already trashed product is restored from the trash.
Product updated Triggers when a product is updated/edited/changed/modified.
SUBSCRIPTIONS4
Subscription Created4 Triggers when a subscription is created.
Subscription Deleted4 Triggers when a subscription is deleted (trashed).
Subscription renewal failed4 Triggers when a subscription renewal payment fails
Subscription renewed4 Triggers when a subscription renewal payment completes successfully.
Subscription status changed4 Triggers every time a subscription changes status. Consider using with a Filter if you are interested in specific status changes only.
Subscription Switched4 Triggers when a user upgrades or downgrades a subscription from the My Account page.
Subscription Updated4 Triggers when a subscription is updated/edited/changed/modified/renewed/failed, including any status change.

Tips & Tricks

Some Trigger Rules are more complex than others. Below are some tips and tricks to help you get the most out of these more complex Trigger Rules.

Customers

Customer deleted

Note

There is no trash functionality for customers (users) in WordPress.

Orders

Order created

Note

The Order created trigger will trigger for every order received (both paid and unpaid).

If you would like to trigger your Zap only when you receive a paid order, then consider using the Order Paid trigger instead.

Order paid

Tip for offline/deferred payment methods

The Order paid trigger will not typically fire for offline/deferred payment methods such as Direct Bank Transfer (BACS), Check/Cheque or Cash on Delivery (COD).

If you are using an offline/deferred payment method, you have several choices:

  • Use the Order created trigger, which will trigger for both paid and unpaid orders.
  • Use the Order status changed trigger with a Filter, if you wish to trigger your Zap when you receive a payment for an order. You could filter on status = processing or status = completed. Your Zap will then trigger when you change an order’s status to processing or completed respectively.

Order status changed

Consider using with a Filter if you are interested in specific status changes only.

Note

For more information view the WooCommerce Order Status documentation.

Products

Product created

Note: Variable Products

Triggers for every product variation in a variable product, and the parent product as well.

Product updated

Triggers for every product variations in variable products as well.

Subscriptions

Subscription Created

Note

This will trigger for every subscription (both paid and unpaid).

Subscription status changed

Tip

For more information on the WooCommerce Subscriptions statuses and status flows, please see the Subscription Status Guide documentation.


  1. Only available if the Coupon functionality is enabled in your WooCommerce store. (Enabled by default). 

  2. Available for both Order and Line Item in an Order

  3. Only available as a trigger. 

  4. Only available if the WooCommerce Subscriptions plugin is installed. 


Last update: July 20, 2020