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
| Type | Operators |
|---|---|
| Text | equals, does not equal, contains, does not contain, starts with, ends with, is empty, is not empty |
| Number | =, ≠, >, ≥, <, ≤, is empty, is not empty |
| Choice | is, is not, is any of, is none of |
| Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty |
| Yes / no | is true, is false |
| Date | is 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
| Field | Type | Operators | Available |
|---|---|---|---|
| Text | equals, does not equal, contains, does not contain, starts with, ends with, is empty, is not empty | Any workflow | |
| First name | Text | equals, does not equal, contains, does not contain, starts with, ends with, is empty, is not empty | Any workflow |
| Contact typeValues: Registered user, Guest | Choice | is, is not, is any of, is none of | Any workflow |
| Tags | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | Any workflow |
| User roleValues: Administrator, Editor, Author, Contributor, Subscriber, Customer, Shop manager | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | Any workflow |
| Registration date | Date | is before, is after, is on, is within the last (days), is more than (days) ago, is empty, is not empty | Any workflow |
Date & time
| Field | Type | Operators | Available |
|---|---|---|---|
| Day of the weekValues: Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday | Choice | is, is not, is any of, is none of | Any workflow |
| Hour of the day (0–23)In the site's timezone. | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | Any workflow |
Content
| Field | Type | Operators | Available |
|---|---|---|---|
| Post typeValues: Post, Page, Product | Choice | is, is not, is any of, is none of | With: Post published, Comment posted |
Emails
| Field | Type | Operators | Available |
|---|---|---|---|
| Email subscriptionValues: Subscribed, Unsubscribed | Choice | is, is not, is any of, is none of | Any workflow |
| Emails receivedDesigned emails sent by workflows, within the log retention period.Values: picked from your site. | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | Any workflow |
| Emails openedDesigned emails sent by workflows, within the log retention period.Values: picked from your site. | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | Any workflow |
| Emails clickedDesigned emails sent by workflows, within the log retention period.Values: picked from your site. | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | Any workflow |
WooCommerce
Order
| Field | Type | Operators | Available |
|---|---|---|---|
| Order total | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | With: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased |
| Order subtotal | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | With: 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, Draft | Choice | is, is not, is any of, is none of | With: 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 delivery | Choice | is, is not, is any of, is none of | With: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased |
| Shipping method | Text | equals, does not equal, contains, does not contain, starts with, ends with, is empty, is not empty | With: 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. | Text | equals, does not equal, contains, does not contain, starts with, ends with, is empty, is not empty | With: 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 choice | contains any of, contains all of, contains none of, is empty, is not empty | With: 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 choice | contains any of, contains all of, contains none of, is empty, is not empty | With: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased |
| Number of items in order | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | With: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased |
| Billing country | Choice | is, is not, is any of, is none of | With: 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 / no | is true, is false | With: Order placed, Payment successful, Payment failed, Order status changed, Order completed, Order cancelled, Order on hold, Order refunded, Product purchased |
Customer
| Field | Type | Operators | Available |
|---|---|---|---|
| Number of paid orders | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | Any workflow |
| Total spentPaid orders minus refunds. | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | Any workflow |
Cart
| Field | Type | Operators | Available |
|---|---|---|---|
| Cart total | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | With: Added to cart, Removed from cart, Cart updated, Cart abandoned, Coupon applied |
| Items in cart | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | With: Added to cart, Removed from cart, Cart updated, Cart abandoned, Coupon applied |
| Products in cartValues: picked from your site. | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | With: Added to cart, Removed from cart, Cart updated, Cart abandoned, Coupon applied |
| Product categories in cartValues: picked from your site. | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | With: Added to cart, Removed from cart, Cart updated, Cart abandoned, Coupon applied |
Product
| Field | Type | Operators | Available |
|---|---|---|---|
| ProductValues: picked from your site. | Choice | is, is not, is any of, is none of | With: Product purchased, Product viewed, Product reviewed, Added to cart, Removed from cart |
| Product categoryValues: picked from your site. | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | With: Product purchased, Product viewed, Product reviewed, Added to cart, Removed from cart |
| Product price | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | With: Product purchased, Product viewed, Product reviewed, Added to cart, Removed from cart |
| Product in stock | Yes / no | is true, is false | With: Product purchased, Product viewed, Product reviewed, Added to cart, Removed from cart |
Easy Digital Downloads
EDD order
| Field | Type | Operators | Available |
|---|---|---|---|
| Order total | Number | =, ≠, >, ≥, <, ≤, is empty, is not empty | With: Purchase completed, Download purchased, Order refunded |
| Downloads in order | Multiple choice | contains any of, contains all of, contains none of, is empty, is not empty | With: Purchase completed, Download purchased, Order refunded |
| Payment gateway | Text | equals, does not equal, contains, does not contain, starts with, ends with, is empty, is not empty | With: Purchase completed, Download purchased, Order refunded |