Workflows

Conditions

Every field you can check in an If/Else step, and the operators for each type.

An If / Else step checks one or more rules and sends the contact down its Yes or No path. Each rule is a field, an operator and a value. Combine rules with All of or Any of, and nest groups for mixed logic. How to build them: If / Else rules.

Operators by field type

TypeOperators
Textequals, does not equal, contains, does not contain, starts with, ends with, is empty, is not empty
Number=, ≠, >, ≥, <, ≤, is empty, is not empty
Choiceis, is not, is any of, is none of
Multiple choicecontains any of, contains all of, contains none of, is empty, is not empty
Yes / nois true, is false
Dateis before, is after, is on, is within the last (days), is more than (days) ago, is empty, is not empty
Tip
Text comparisons ignore upper and lower case. On a run’s page (and in Replay and Simulate) each rule shows the value it found, so you can see exactly why a condition answered Yes or No.
Note
Fields marked “With: …” only apply to those triggers, because they read the trigger’s order, cart or product. They aren’t offered elsewhere. Custom contact fields you create appear in a “Contact fields” group, and popup form answers in a “Form answers” group when the trigger is a form submission.

WordPress

Contact

FieldTypeOperatorsAvailable
EmailTextequals, does not equal, contains, does not contain, starts with, ends with, is empty, is not emptyAny workflow
First nameTextequals, does not equal, contains, does not contain, starts with, ends with, is empty, is not emptyAny workflow
Contact typeValues: Registered user, GuestChoiceis, is not, is any of, is none ofAny workflow
TagsMultiple choicecontains any of, contains all of, contains none of, is empty, is not emptyAny workflow
User roleValues: Administrator, Editor, Author, Contributor, Subscriber, Customer, Shop managerMultiple choicecontains any of, contains all of, contains none of, is empty, is not emptyAny workflow
Registration dateDateis before, is after, is on, is within the last (days), is more than (days) ago, is empty, is not emptyAny workflow

Date & time

FieldTypeOperatorsAvailable
Day of the weekValues: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, SundayChoiceis, is not, is any of, is none ofAny workflow
Hour of the day (0–23)In the site's timezone.Number=, ≠, >, ≥, <, ≤, is empty, is not emptyAny workflow

Content

FieldTypeOperatorsAvailable
Post typeValues: Post, Page, ProductChoiceis, is not, is any of, is none ofWith: Post published, Comment posted

Emails

FieldTypeOperatorsAvailable
Email subscriptionValues: Subscribed, UnsubscribedChoiceis, is not, is any of, is none ofAny workflow
Emails receivedDesigned emails sent by workflows, within the log retention period.Values: picked from your site.Multiple choicecontains any of, contains all of, contains none of, is empty, is not emptyAny workflow
Emails openedDesigned emails sent by workflows, within the log retention period.Values: picked from your site.Multiple choicecontains any of, contains all of, contains none of, is empty, is not emptyAny workflow
Emails clickedDesigned emails sent by workflows, within the log retention period.Values: picked from your site.Multiple choicecontains any of, contains all of, contains none of, is empty, is not emptyAny workflow

WooCommerce

Order

FieldTypeOperatorsAvailable
Order totalNumber=, ≠, >, ≥, <, ≤, is empty, is not emptyWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Order subtotalNumber=, ≠, >, ≥, <, ≤, is empty, is not emptyWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Order statusValues: Pending payment, Processing, On hold, Completed, Cancelled, Refunded, Failed, DraftChoiceis, is not, is any of, is none ofWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Payment methodValues: Direct bank transfer, Check payments, Cash on deliveryChoiceis, is not, is any of, is none ofWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Shipping methodTextequals, does not equal, contains, does not contain, starts with, ends with, is empty, is not emptyWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Coupon codes usedComma-separated, lowercase.Textequals, does not equal, contains, does not contain, starts with, ends with, is empty, is not emptyWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Products in orderValues: picked from your site.Multiple choicecontains any of, contains all of, contains none of, is empty, is not emptyWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Product categories in orderValues: picked from your site.Multiple choicecontains any of, contains all of, contains none of, is empty, is not emptyWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Number of items in orderNumber=, ≠, >, ≥, <, ≤, is empty, is not emptyWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Billing countryChoiceis, is not, is any of, is none ofWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased
Is the customer's first orderNo other paid orders from this customer.Yes / nois true, is falseWith: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased

Customer

FieldTypeOperatorsAvailable
Number of paid ordersNumber=, ≠, >, ≥, <, ≤, is empty, is not emptyAny workflow
Total spentPaid orders minus refunds.Number=, ≠, >, ≥, <, ≤, is empty, is not emptyAny workflow

Cart

FieldTypeOperatorsAvailable
Cart totalNumber=, ≠, >, ≥, <, ≤, is empty, is not emptyWith: Added to cart, Removed from cart, Cart updated, Cart abandoned, Coupon applied
Items in cartNumber=, ≠, >, ≥, <, ≤, is empty, is not emptyWith: Added to cart, Removed from cart, Cart updated, Cart abandoned, Coupon applied
Products in cartValues: picked from your site.Multiple choicecontains any of, contains all of, contains none of, is empty, is not emptyWith: Added to cart, Removed from cart, Cart updated, Cart abandoned, Coupon applied
Product categories in cartValues: picked from your site.Multiple choicecontains any of, contains all of, contains none of, is empty, is not emptyWith: Added to cart, Removed from cart, Cart updated, Cart abandoned, Coupon applied

Product

FieldTypeOperatorsAvailable
ProductValues: picked from your site.Choiceis, is not, is any of, is none ofWith: Product purchased, Product viewed, Product reviewed, Added to cart, Removed from cart
Product categoryValues: picked from your site.Multiple choicecontains any of, contains all of, contains none of, is empty, is not emptyWith: Product purchased, Product viewed, Product reviewed, Added to cart, Removed from cart
Product priceNumber=, ≠, >, ≥, <, ≤, is empty, is not emptyWith: Product purchased, Product viewed, Product reviewed, Added to cart, Removed from cart
Product in stockYes / nois true, is falseWith: Product purchased, Product viewed, Product reviewed, Added to cart, Removed from cart

Easy Digital Downloads

EDD order

FieldTypeOperatorsAvailable
Order totalNumber=, ≠, >, ≥, <, ≤, is empty, is not emptyWith: Purchase completed, Download purchased, Order refunded
Downloads in orderMultiple choicecontains any of, contains all of, contains none of, is empty, is not emptyWith: Purchase completed, Download purchased, Order refunded
Payment gatewayTextequals, does not equal, contains, does not contain, starts with, ends with, is empty, is not emptyWith: Purchase completed, Download purchased, Order refunded
For SwiftAction 1.0 · Updated 5 December 2026 · Questions or corrections?