Trigger Rules
A Trigger Rule defines an event (or multiple events) that will cause WooCommerce data to be sent to a Zapier Zap.
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.
Coupons¶
If your WooCommerce store has coupons enabled1, the following trigger rules are available to trigger your Zaps when coupon data in your WooCommerce store is added, changed or deleted.
Coupon created¶
Triggers when a coupon is created.1
Coupon deleted¶
Triggers when a coupon is deleted (trashed).1
Important
When using this trigger rule, only the ID of the deleted Resource is sent to Zapier. No other data fields are sent.
This is due to limitations in how WooCommerce handles deleted events.
Coupon restored¶
Triggers when an already trashed coupon is restored from the trash.1
Coupon updated¶
Triggers when a coupon is updated/edited/changed/modified.1
Customers¶
The following trigger rules are available to trigger your Zaps when customer data in your WooCommerce store is added, changed or deleted.
Tip: What is a Customer?
A Customer in WooCommerce is someone with a user account to log in to your store. People purchasing as a guest (without logging into an account) are not considered customers.
Customer created¶
Triggers when:
- a customer registers (creates an account) in your WooCommerce store.
- a WordPress user account (with any role) is created.
Tip
For this to trigger, your WooCommerce store would normally be configured to allow customers to create an account.
Note
This trigger rule does not trigger when someone purchases as a guest without registering for an account. Please use one of the Order trigger rules if you would like guest purchases to be sent to Zapier.
Customer deleted¶
Triggers when a customer is deleted.
Note
There is no trash functionality for customers (users) in WordPress.
Important
When using this trigger rule, only the ID of the deleted Resource is sent to Zapier. No other data fields are sent.
This is due to limitations in how WooCommerce handles deleted events.
Customer updated¶
Triggers when a customer (or any WordPress user) is updated/edited/changed/modified.
Orders¶
The following trigger rules are available to trigger your Zaps when order data in your WooCommerce store is added, changed or deleted.
Order created¶
Triggers when an order is created.
Note
The Order created trigger rule 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 deleted¶
Triggers when an order is deleted (trashed).
Important
When using this trigger rule, only the ID of the deleted Resource is sent to Zapier. No other data fields are sent.
This is due to limitations in how WooCommerce handles deleted events.
Order paid¶
Triggers when an order is paid for. Occurs for real-time payment gateways (such as Stripe, PayPal, or most other credit card gateways).
Tip for offline/deferred payment methods
The Order paid trigger rule 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 rule, which will trigger for both paid and unpaid orders.
- Use the Order status changed trigger rule with a Filter if you wish to trigger your Zap when you receive a payment for an order. You could filter on
status = processing
orstatus = completed
. Your Zap will then trigger when you change an order’s status toprocessing
orcompleted
respectively.
Order restored¶
Triggers when an already trashed order is restored from the trash.
Order status changed¶
Triggers every time an order changes status.
Consider using with a Filter if you are interested in specific status changes only.
Note
For more information on WooCommerce Order Statuses and transitions, view the WooCommerce Order Status documentation.
Order updated¶
Triggers when an order is updated/edited/changed/modified, including when an order is refunded.
Products¶
The following trigger rules are available to trigger your Zaps when product data in your WooCommerce store is added, changed or deleted.
Product created¶
Triggers when a product is created.
Note: Variable Products
Triggers for every product variation in a variable product, and the parent product as well.
Product deleted¶
Triggers when a product is deleted (trashed).
Important
When using this trigger rule, only the ID of the deleted Resource is sent to Zapier. No other data fields are sent.
This is due to limitations in how WooCommerce handles deleted events.
Product restored¶
Triggers when an already trashed product is restored from the trash.
Product updated¶
Triggers when a product is updated/edited/changed/modified.
Note: Variable Products
Triggers for every individual product variation in variable products as well.
Subscriptions¶
If your WooCommerce store has WooCommerce Subscriptions installed4, the following trigger rules are available to trigger your Zaps when subscription data in your WooCommerce store is added, changed or deleted.
Subscription created¶
Triggers when a subscription is created.4
Note
This will trigger for every subscription (both paid and unpaid).
Subscription deleted¶
Triggers when a subscription is deleted (trashed).4
Important
When using this trigger rule, only the ID of the deleted Resource is sent to Zapier. No other data fields are sent.
This is due to limitations in how WooCommerce handles deleted events.
Subscription renewal failed¶
Triggers when a subscription renewal payment fails.4
Subscription renewed¶
Triggers when a subscription renewal payment completes successfully.4
Subscription status changed¶
Triggers every time a subscription changes status.4
Consider using with a Filter if you are interested in specific status changes only.
Tip
For more information on the WooCommerce Subscriptions statuses and status transitions, please see the Subscription Status Guide documentation.
Subscription switched¶
Triggers when a user upgrades or downgrades their subscription from the My Account page.4
Subscription updated¶
Triggers when a subscription is updated/edited/changed/modified/renewed/failed, including any status change.4