tr Skip to content
Black Friday FlowMattic for life, 12 payments of $33.25 Or $399 once. Nothing added for splitting Ends in --Days --Hrs --Min --Sec See the deal

WooCommerce Triggers and Actions: Orders, Carts and Store Workflows

FlowMattic WooCommerce automation: a paid order starts a workflow that renders a PDF invoice, emails it to the customer and adds an order note.

FlowMattic’s WooCommerce triggers and actions turn store events into workflows that run on your own server. The WooCommerce integration has 43 triggers and 57 actions covering orders, products, stock, customers, carts, coupons and reports, plus a built-in abandoned cart tracker that starts a workflow when a shopper leaves without paying.

Store owners use it to send invoices and review requests, agencies to keep client shops in step with their CRM, and operations teams to hear about low stock before it runs out. Since the workflow runs inside WordPress, each order is handled where it was placed, with no per-order fee.

What is FlowMattic’s WooCommerce integration?

WooCommerce is an integration app rather than part of the core plugin, so you install it once from FlowMattic → Integrations. After that, WooCommerce appears in the builder’s app picker for triggers and actions. Four extension apps cover popular WooCommerce add-ons: WooCommerce Subscriptions, WooCommerce Smart Coupons, WooCommerce PDF Invoices & Packing Slips and WooCommerce Booking.

How the WooCommerce triggers and actions work

  1. Create a workflow and pick WooCommerce as the trigger app, then an event such as New Order Created or Order Paid.
  2. Fill in the event’s optional filters. New Order Created takes Product(s), a comma-separated list of product IDs; Product Purchased takes a Product ID; Product Category Purchased a Category ID.
  3. On the Capture tab, click Capture Response and place a test order, or make whatever change the trigger listens for. FlowMattic detects the incoming data and shows the real fields.
  4. Add the steps: a Filter or Router for logic, then actions in WooCommerce or any other app.
  5. Switch the workflow on. The trigger fires from WooCommerce’s own hooks the moment the event happens.
FlowMattic builder showing the WooCommerce New Order Created trigger with the Product(s) field filled with product IDs.
The WooCommerce New Order Created trigger, limited to orders that contain chosen product IDs.

WooCommerce triggers

ObjectTriggers
OrdersNew Order Created, Order Paid, Order Updated, Order Note Added, Order Deleted, Restore Order, and Order Status Set to Pending, Failed, On-hold, Processing, Completed, Refunded or Cancelled
ProductsNew Product Created, Product Updated, Product Deleted, Restore Product, Product Viewed, Product Purchased, Variable Product Purchased, Product Category Purchased, Product Reviewed, Product Refunded
StockProduct Low Stock, Product Goes Out of Stock, Product Back in Stock, Product Variation Goes Out of Stock, Product Variation Back in Stock
CustomersNew Customer Created, Customer Updated, Customer Deleted, Customer Order Count Threshold, Customer Total Spend Threshold
CartProduct Added to Cart, Product Removed from Cart, New Cart Abandonment
CouponsNew Coupon Created, Coupon Updated, Coupon Deleted, Coupon Restored
SubscriptionsWooCommerce Subscription Created, WooCommerce Subscription Status Updated, Variable Subscription Purchased

WooCommerce actions

ObjectActions
OrdersCreate New Order, Change Order Status, Add Order Note, List All Order Notes, Get Order by ID, Get Orders by Email, Get Orders of User, List All Orders, Retrieve a List of Refunds, Add/Update Custom Fields
ProductsCreate New Product, Create Variable Product, Create Product Variation, Update Product, Update Product Variation, Update Product Price, Update Product Stock Quantity, Get Product by ID, Get Product by SKU, Retrieve Product by Name/Slug, Get All Products, Get Product Variation, Get Product Sales Count
CatalogueCreate Attribute, Add Attribute Terms, Add Product Attributes, Update Product Attributes, Create Product Category, Create Product Tag, Delete Product Tag, Create Product Review
CustomersCreate a Customer, Update Customer, Delete Customer, Get Customer by ID, Get Customer by Email, Get All Customers, Get Customer Total Spent, Get Customer Order Count, Get Customer Last Order
CartAdd Product to Cart, Remove Product from Cart, Check Cart Status, Send Abandoned Cart Email
CouponsCreate Coupon, Update Coupon, Delete Coupon, Apply Coupon, Add Email(s) to Coupon, Fetch Coupon Details
ReportsRetrieve Sales Report, Retrieve Top Sellers Report, and the Orders, Products, Customers, Coupons and Reviews Totals

Extension apps

  • WooCommerce Subscriptions: triggers from Subscription Created to Renewal Payment Failed and Trial Ended, and actions such as Cancel Subscription, Extend Subscription Duration, Schedule Payment Retry and Process Early Renewal.
  • WooCommerce Smart Coupons: Gift Card Purchased and Store Credit Used triggers; Generate Bulk Coupons, Send Coupon via Email and Update Store Credit Balance actions.
  • WooCommerce PDF Invoices & Packing Slips: Invoice Created and Packing Slip Created triggers; Generate Invoice, Generate Packing Slip and Generate Bulk PDF actions.
  • WooCommerce Booking: Create Booking, Delete Booking, Create Bookable Product and Update Bookable Product actions.

Abandoned cart recovery

The integration adds WooCommerce → Abandoned Carts to wp-admin, with Dashboard, Abandoned Carts, Recovered Carts, Emails and Settings tabs. Tracking is off until you turn it on in Settings:

  • Enable Abandoned Cart Tracking: switches the tracker on.
  • Cart Abandonment Time (minutes): how long a cart sits before it counts as abandoned. Default 30.
  • Auto-cleanup Period (days): how long cart data is kept. Default 30.
  • Track Guest Carts: include guests once they give an email address at checkout.

The tracker checks for abandoned carts every 30 minutes and fires New Cart Abandonment for each one. It never sends email by itself: your workflow decides what happens. Check Cart Status confirms a cart is still open, and Send Abandoned Cart Email sends custom content, one of the three default templates (Recovery, Coupon Discount, Final Reminder, edited on the Emails tab), or a design from FlowMattic’s Email Template Builder.

The FlowMattic Abandoned Cart Recovery settings tab in WooCommerce with Enable Abandoned Cart Tracking, Cart Abandonment Time (minutes), Auto-cleanup Period (days) and Track Guest Carts.
WooCommerce → Abandoned Carts → Settings, where tracking, the abandonment time and guest carts are set.

Use cases

Paid order to PDF invoice in the inbox

When payment completes, a PDF invoice is rendered from your own template, emailed to the customer, and recorded on the order as a note.

Order Paid → Generate PDF from Template → Send Template Email → Add Order Note

Review requests a week after delivery

Completed orders wait seven days, a Filter skips anything refunded since, and the customer gets a review request.

Order Status Set to Completed → Delay For 7 days → Filter → Send Template Email

Abandoned carts recovered with a one-time coupon

An hour after abandonment, the workflow checks the cart is still open, creates a coupon, restricts it to that shopper’s email, and sends it.

New Cart Abandonment → Delay For 1 hour → Check Cart Status → Filter → Create Coupon → Add Email(s) to Coupon → Send Abandoned Cart Email

Priority orders routed by AI

An AI Agent reads each new order and labels it rush, standard or needs a look. A Router sends rush orders to Slack and the rest to the usual confirmation.

New Order Created → AI Agent → Router → Slack · Email

VIP customers tagged in the CRM

Customer Total Spend Threshold fires when a customer passes the amount you set, say 500. Amelia Okafor gets a VIP tag in FluentCRM and a thank-you from the founder.

Customer Total Spend Threshold → FluentCRM: add tag → Send Email

Low stock alerts to purchasing

When a product reaches its low stock threshold, the buyer gets a Telegram message and a row is added to the reorder table.

Product Low Stock → Telegram → WP Tables: add row

A weekly sales summary for the team

Every Monday, the top sellers report goes to an AI Agent that writes a short summary for the team channel.

Schedule (weekly) → Retrieve Top Sellers Report → AI Agent → Slack

Tips and gotchas

Small settings make a big difference to WooCommerce automation in a live store:

  • Pick the right order trigger. Order Paid listens for WooCommerce’s payment-complete event, which payment gateways fire when they take the money. For offline methods such as bank transfer, start from an Order Status Set to trigger instead.
  • Thresholds have defaults. Leave Order Count Threshold empty and it fires at 1, 5, 10, 25, 50 and 100 completed orders; leave Total Spend Threshold empty and it fires at 100, 250, 500, 1000, 2500 and 5000.
  • Turn on cart tracking first. New Cart Abandonment does nothing until Enable Abandoned Cart Tracking is on. While you capture a response in the builder, the Test Trigger button on the Abandoned Carts screen sends a cart through without waiting for the next check.
  • Stop double runs. Skip Duplicate Events on the trigger’s Conditions tab, keyed on the order ID, records a repeat as Skipped instead of running it again.
  • Put WooCommerce first in multi-trigger workflows. WooCommerce triggers start workflows where WooCommerce is the first trigger, so add other sources, such as a payment webhook, as additional triggers.

Related features

See every store workflow in one place on the WooCommerce automation page.

FAQ

How do I automate WooCommerce orders?

Install the WooCommerce integration from FlowMattic → Integrations, start a workflow with New Order Created or Order Paid, capture a test order and map its fields into the steps you need. Each new order then runs the workflow on your own server.

Can FlowMattic recover abandoned carts?

Yes. Turn on tracking under WooCommerce → Abandoned Carts → Settings, then build a workflow on New Cart Abandonment. Check Cart Status and Send Abandoned Cart Email let you wait, confirm and send on your own timing.

Can a workflow run only for certain products?

Yes. New Order Created takes a list of product IDs, Product Purchased one product ID, and Product Category Purchased a category ID. For anything finer, add a Filter on any order field.

Does it work with WooCommerce Subscriptions?

Yes. The WooCommerce app has subscription created and status updated triggers, and the separate WooCommerce Subscriptions app adds renewal, trial and payment triggers plus actions to cancel, extend or reactivate a subscription.

Is there a per-order or per-task fee?

No. Workflows run on your WordPress server, so the number of orders or steps doesn’t change what you pay. The plans are on the pricing page.

Ready to automate your store from inside your store? See FlowMattic pricing and build your first order workflow today.

More from the blog