Integrations

WooCommerce

Orders, payments, carts, abandoned carts, products, reviews and coupons.

With WooCommerce active, SwiftAction adds store triggers, order, cart, product and customer conditions, store merge tags, two actions and WooCommerce email blocks. It uses WooCommerce’s own APIs, so it works with both order storage modes (HPOS and classic) and with both the block and the classic checkout.

Store triggers

TriggerWhat it does
Order placedA customer completes checkout (before payment is confirmed). Works with classic and block checkout.
Payment successfulAn order is paid: a gateway confirms payment, or an order moves to Processing or Completed. Fires once per order.
Order status changedAn order moves from one status to another.
Payment failedAn order's payment fails (status Failed).
Order completedAn order is marked Completed (fulfilled).
Order cancelledAn order is cancelled by the customer, an admin, or because it went unpaid.
Order on holdAn order is put On hold, e.g. awaiting a bank transfer.
Order refundedA full or partial refund is made.
Product purchasedFires once for each product in an order when the order is paid.
Product viewedA known shopper (logged in, or a guest who allowed tracking) opens a product page. Throttled per shopper and product (see Settings → WooCommerce).
Product reviewedSomeone posts a product review.
Added to cartA product is added to the cart. Fires for logged-in shoppers and guests who allowed tracking.
Removed from cartA product is removed from the cart. Fires for logged-in shoppers and guests who allowed tracking.
Cart updatedAnything in the cart changes: items, quantities or coupons. Fires at most once per page load. Fires for logged-in shoppers and guests who allowed tracking.
Cart abandonedA known shopper leaves items in the cart without ordering (after the time set in Settings → WooCommerce). Use {{cart.recovery_url}} to bring them back to their cart.
Coupon appliedA coupon is added to the cart. Fires for logged-in shoppers and guests who allowed tracking.
Customer account createdWooCommerce creates a customer account, e.g. at checkout or on the My Account page.

Order placed vs. Payment successful

Order placed fires when checkout completes, before payment is confirmed. Payment successful fires once per order when payment is confirmed, or, for offline methods (bank transfer, cheque, cash on delivery), when the order moves to processing or completed. Use Payment successful for thank-you emails and anything that should only happen for paid orders.

Who the contact is

  • Logged-in customers are their user’s contact.
  • Guest checkouts are identified by billing email, so order triggers always work for them.
  • Cart and product-view triggers need a known visitor: logged in, or a guest recognised with consent (see Guests). A known email is needed anyway to email someone about their cart.
  • When a guest later checks out or registers with that email, their earlier activity is merged.

Abandoned carts

SwiftAction keeps each known shopper’s cart. When the cart has items and nothing changes for 60 minutes (Settings → WooCommerce) without an order, Cart abandoned fires. The timer restarts on every cart change and is cancelled when the cart is ordered or emptied.

  • {{cart.recovery_url}} is a personal link that restores the cart in any browser and opens the cart page.
  • {{cart.items}}, {{cart.total}} and the email Cart items block show what was left behind.
  • Set the workflow’s re-entry to “At most once every N days” so a shopper isn’t chased for every cart.
  • Using the recovery link marks the cart as recovered, and the order that follows is linked to it.
Tip
The abandoned cart recipe combines a personal coupon, an email with the cart and a follow-up.
An abandoned cart recovery workflow

Product views

Product viewed fires at most once per shopper and product every 30 minutes (Settings → WooCommerce → Product view throttle), so browsing back and forth doesn’t flood your workflows. Combine it with a delay and an “Is the customer’s first order” or “Products in order” condition for browse-abandonment reminders.

Store actions

ActionWhat it does
Add order noteAdd a note to the order that started the workflow. Skipped when there is no order.
Create personal couponGenerate a unique single-use coupon. Use {{coupon.code}} in later steps, e.g. an email.

Create personal coupon generates a unique, single-use code (percentage or fixed amount, optional free shipping, expiry, minimum spend, restricted to the contact’s email, not combinable, your own prefix). Later steps use it as {{coupon.code}}, {{coupon.amount}} and {{coupon.expires}}.

Store conditions

GroupFields
OrderTotal, subtotal, status, payment method, shipping method, coupon codes used, products, product categories, number of items, billing country, is the customer’s first order.
CustomerNumber of paid orders, total spent.
CartTotal, items, products, product categories.
ProductProduct, category, price, in stock.

Full details on the Conditions page.

Store merge tags

Order ({{order.number}}, {{order.total}}, {{order.items}}, {{order.view_url}}, {{order.payment_url}}…), product, cart, coupon and customer. See all merge tags.

Banners and emails

  • Banners can be placed on the shop page, product pages, the cart and checkout.
  • Popup and banner display rules can target shop, product, category, cart and account pages.
  • Email blocks: Products (best sellers, newest, on sale, related to the order or cart, or hand-picked), Cart items and Order details.
For SwiftAction 1.0 · Updated 5 December 2026 · Questions or corrections?