All docs / Automation

Conditions

Filter when recipes execute using cart, product, contact, and advanced conditions.

Automation Recipes — Conditions

Conditions are optional filters that determine whether a recipe’s actions should execute. If all conditions pass, the actions run. If any condition fails, the recipe stops.

A recipe can have zero or more conditions. With no conditions, the recipe runs every time the trigger fires.

Adding Conditions

  1. In Step 2 of the recipe editor, click + Add Condition
  2. A dropdown appears with available conditions grouped by category
  3. Conditions marked with a star are recommended for the selected trigger
  4. Select a condition to add it
  5. Configure the condition’s settings and click Done

Add condition dropdown showing recommended section and grouped conditions

Available Conditions

Page & User Activity

ConditionMulti-useDescription
When Page visited is …YesCheck which page the user is currently viewing. Supports: specific page, cart, home, product page, specific product, or URL pattern
If total time spent on the page/post is …NoCheck if the user has spent a minimum number of minutes on the current page
If total time spent on site is …NoCheck if the user has spent a minimum number of minutes on the site overall
If the user does this activity …YesCheck for specific user actions (click, scroll, form submit, etc.)
If user is logged-in in WordPressNoCheck if the user is currently logged in

Cart & Checkout

ConditionMulti-useDescription
If cart contains some product(s) …YesCheck if specific products, product categories, or product types are in the cart
If cart does not contain product(s) …YesThe inverse — check that certain products are NOT in the cart
If Shopping Cart total value is …YesCompare cart subtotal against a value (greater than, less than, equal to). Use multiple times to set ranges (e.g., > $50 AND < $200)
When payment gateway used is …NoCheck which payment method was used (supports multiple gateway selection)
If order has custom feeYesCheck if the order contains a custom fee line
If order requires shippingNoCheck if the order requires shipping, optionally for a specific shipping method

Order Status

ConditionMulti-useDescription
When new order status is …NoCheck the order’s new/current status (e.g., processing, completed)
When previous order status was …NoCheck what the order’s previous status was before the status change

Products

ConditionMulti-useDescription
When product added to cart is …YesCheck which product was just added to cart
If product is in the order …YesCheck if specific products are in the completed order
When the product reviewed is …YesCheck which product was reviewed

Product match types (for product-based conditions):

  • Specific product/variation — Search and select individual products
  • From certain product category — Select one or more product categories
  • From certain product type — Select product types (simple, variable, grouped, etc.)

Product condition expanded showing the match type dropdown and product search

Keap / Contact

ConditionMulti-useDescription
If contact’s tags in Keap …YesCheck if the contact has or doesn’t have specific Keap tags. Options: has one or more, has all, doesn’t have one, doesn’t have all
Check if referral partner exists in Keap …YesCheck if a referral partner record exists
Check Merge Field Value …YesCompare any merge field value against a target. Supports: equals, contains, greater than, less than, starts with, ends with, date comparisons, empty/not empty checks

Advanced

ConditionMulti-useDescription
If HTTP POST value is …YesCheck the value of an HTTP POST parameter (for HTTP POST trigger)
Check if today’s date is …YesCompare current date against a target date
If user is in EU / If user is not in EUNoGeolocation-based EU check

Wishlist (requires YITH Wishlist)

ConditionMulti-useDescription
Item is added to user’s wishlist basketYesCheck which product was added to wishlist
Wishlist item price has been changedYesFires on wishlist item price changes
Wishlist item stock has been changedYesFires on wishlist item stock level changes

WooCommerce Subscriptions

ConditionMulti-useDescription
When previous subscription status was …NoCheck the subscription’s previous status in a status change event
If an HTTP POST event is triggeredNoAllows external systems to trigger subscription events via webhook URL
Various subscription-specific conditionsNoFirst payment, renewal paid/failed, trial ended, prepaid ended, auto-renew status

Multi-use Conditions

Conditions marked as “Yes” in the Multi-use column can be added multiple times to the same recipe. This is useful for creating complex filters:

Example: Cart value between $50 and $200

  1. Add “If Shopping Cart total value is …” — set to “is greater than $50”
  2. Add “If Shopping Cart total value is …” again — set to “is less than $200”

Both conditions must pass for the actions to run.

Condition Errors

If a condition has a configuration error (e.g., missing required field), it will show:

  • A red border around the condition card
  • An error message describing what needs to be fixed
  • The recipe will not run until all errors are resolved

Condition card showing a validation error with red border

Incompatible Conditions

If you change the trigger, some conditions may become incompatible (e.g., a cart condition on an order status trigger). Incompatible conditions show:

  • A red border with “Incompatible with current trigger” message
  • No edit button — you can only remove them

Next Steps