Available on the Free plan
Conditions let you choose which customers get your emails, such as repeat buyers or customers who didn't open your last campaign. Use them in segments, to choose who gets a campaign, and in flows, to choose who gets each email.
How conditions work
A condition is a rule that a customer either matches or doesn't. Each one reads like a sentence. There are 2 kinds:
Conditions about what the customer did have up to 4 parts:
What: what the customer did, for example opened an email.
How often: for example at least 2 times.
When: the time frame, for example in the last 30 days.
Filters: optional, to narrow the condition, for example to one campaign.
Conditions about who the customer is have up to 4 parts:
What: the detail to check, for example their email consent.
Comparison: for example is or is any of.
Value: for example Subscribed.
When: on some conditions, the time frame, for example in the last 30 days.
For examples of both, see Example conditions.
When you add more than one condition, choose whether customers must match ALL or ANY of them. To mix ALL and ANY, use condition groups.
Considerations
Before you set up conditions, review the following considerations:
Order conditions count orders synced to Judge.me Email, up to 24 months back, or 60 days if Judge.me Email can't read all your orders. If your synced orders start later than your store did, order conditions show the date they start from.
Order count counts the same synced orders, without canceled and fully refunded ones. Lifetime spend is Shopify's total for the customer.
The Discount code filter shows once Judge.me Email has finished reading your past discount codes. Older orders that have no saved discount codes don't match any Discount code filter.
"Zero times" includes customers who were never sent the email. To keep only customers who got it, add Received email for the same campaign or flow email.
Email bounced and Marked email as spam only match customers who can't receive marketing emails. Use them to count customers or leave them out.
A segment's estimate can be higher than the number of emails a campaign sends. The estimate doesn't remove customers you can't email.
Shopify segments in flows can take up to 30 minutes to update. If Shopify can't answer when a customer enters, they enter, and if it can't answer at an exit check, the email still sends.
Changing a flow's entry filters only affects new entries. Customers already in the flow stay in, and its exit conditions catch them before their next email.
In the Back in stock flow, order and customer detail conditions, except Signup date, are marked "(registered shoppers only)". A guest never matches them, whether they say "is" or "is not".
You can add up to 25 conditions, 10 condition groups and 10 filters per condition. Conditions inside a group count toward the 25. One pick holds up to 100 campaigns, flow emails, products or segments, or 50 collections.
The campaign picker lists your 200 newest campaigns. Time frames go up to 3,650 days.
Conditions don't cover site activity in segments (viewed products, added to cart), birthdays, product type or tags, or segments inside segments yet.
Editing a segment changes who it lets in or out of every flow that uses it. If you delete it, conditions that use it point at a deleted segment that nobody is in.
Segments and flow filters you made before the current builder moved into it and match the same people as before. Presets can't be edited, so click Duplicate to edit to start from one.
Where you can use conditions
You can use conditions in these places:
Segments: pick customers to send a campaign to. A segment updates on its own as customers' activity changes.
Flows:
Entry filters: choose who enters a flow. They're checked once, when the customer would enter.
Exit conditions: stop a flow's emails for customers who match. They're checked right before each email sends.
Email exit conditions: skip one email in a flow. They're checked right before that email sends, and a customer who matches also leaves the flow.
Conditional splits: send customers down different paths when they reach the split. Customers who match go down Path #1, and everyone else goes down Everyone else.
Conditions you can use
Segments and flows share most conditions. Flows also have conditions about the customer's place in a flow and what started it.
Condition | Segments | Flows |
Email activity: Received email, Received marketing email, Opened email, Clicked email, Email bounced, Marked email as spam, Unsubscribed from email | Available | Available |
Orders: Placed order, Canceled order, Refunded order | Available | Available |
Customer details: Language, SMS consent, Signup date, Customer tags, Location, Order count | Available | Available |
Lifetime spend | Available | Available, except Abandoned checkout, Abandoned cart and Browse abandoned |
Signup source | Available | Not available |
Email consent | Not available | Available |
In segment: your saved segments, presets and Shopify segments | Not available | Available |
What started the flow: see the next table | Not available | Available |
Flows also have conditions about what started the flow. Each flow shows only the groups that fit it:
Group | Conditions | Flows |
This order | Order value, Contains product, Contains collection, Discount used | Post-purchase, Product recommendation, Order fulfilled, Order delivered, Out for delivery, Order cancelled, Refund created |
Last order | Last order value, Last order contains product, Last order contains collection | Winback |
This checkout | Cart value, Cart contains product, Cart contains collection, Discount at checkout | Abandoned checkout |
This cart | Cart value, Cart contains product, Cart contains collection | Abandoned cart |
This visit | Viewed product, Viewed collection | Browse abandoned |
This shipment | Shipment | Order delivered, Out for delivery |
This tag change | Tag that changed | Customer tag added, Customer tag removed |
Flow history | Times entered this flow, Has entered flow | Every flow except Abandoned cart, Browse abandoned and Back in stock |
Discount used, Discount at checkout, This visit, This shipment, This tag change and Flow history are in entry filters only. They describe the moment the customer entered, so exit conditions and splits can't check them.
Discount used is greyed out on Refund created flows, because refunds don't carry the order's discount codes yet.
Back in stock has none of the conditions in this table.
This shipment: Shipment is First shipment of the order or A later shipment. "Shipment is First shipment of the order" runs the flow only for an order's first shipment. A canceled or failed shipment never counts as the first.
This tag change: Tag that changed is any of or is not any of the tags you pick. For example, a Customer tag added flow can run only when you add the VIP tag.
Count, time frame and filters
How often
Email activity and order conditions take a count: at least, at most, exactly, more than, fewer than or zero times. Counts go from 1 to 10,000.
When
Email activity and order conditions take a time frame:
Time frame | Segments | Flows |
over all time | Available | Available |
in the last N minutes, hours or days | Available | Available |
between N and M ago | Available | Available |
before, after or between dates | Available | Not available |
since starting this flow | Not available | Available in exit conditions, email exit conditions and splits |
Before and after leave out the day you pick. Between dates includes both days.
Since starting this flow counts only what happened since the customer entered the flow this time.
Has entered flow can take a time frame too, for example "Has entered flow is any of Winback in the last 30 days".
Filters on a condition
Click Add filter to narrow a condition. You can add up to 10 filters and choose whether they must match ALL or ANY. These filters are available:
Email activity: Campaign, Flow email, Subject, Email type. Opened email also has Automatic opens, and Clicked email also has Link.
Orders: Product, Collection, Order value, Discount code, Sales channel (Online store, Point of Sale, Draft order, Other). Placed order also has Came from email.
Filters apply to each email or order on its own. "Placed order at least 2 times where product includes Earl Grey" means 2 separate orders that each contain Earl Grey. "Includes all of" means one order contains every product you pick.
Apple Mail's privacy feature opens emails automatically, which can make your open rates look high. To leave these opens out, add the Automatic opens filter to an Opened email condition. It reads "are excluded". Opens from other email clients and security scanners still count.
Condition groups
A condition group bundles conditions so they count as one. Use a group to mix ALL and ANY in the same segment or flow:
Customers must match ALL or ANY of the following, at the top, sets how your conditions and groups combine.
Match ALL or ANY of the following, inside each group, sets how that group's conditions combine.
For example, to find recent customers who speak German or live in Germany:
Customers must match ALL of the following:
"Placed order at least 1 time in the last 90 days"
A condition group that matches ANY of the following:
"Language is any of German"
"Location is any of Germany"
To add a group, click Add condition group, and then click Add condition inside it. A group can't hold another group.
Example conditions
Here's how some common conditions read, and what they do:
"Opened email zero times where Campaign is [your campaign]" finds customers who didn't open that campaign, so you can resend it.
"Placed order at least 2 times" finds repeat customers, so you can treat them apart from first-time customers.
"Placed order at least 1 time since starting this flow", as an exit condition, stops a flow when the customer buys.
"Language is any of German" runs a flow only for customers whose language is German.
"In segment is not in any of VIP" keeps a segment out of a flow.
Build a segment
Available on the Free plan
To build a segment:
From your Judge.me Email app, go to Subscribers > Segments.
Click Create segment.
Enter a Segment name.
Click Add condition.
Search for or select a condition, for example Opened email.
Set how many times and when, for example at least 2 in the last 30 days.
Optional: Click Add filter and pick a filter, for example Campaign.
Optional: Click Add condition or Add condition group for more rules. Then choose whether customers must match ALL or ANY of the conditions.
Click Save at the top of the page.
Your segment updates on its own as customers' activity changes. If a flow uses the segment, the builder shows "Used in N flows. Changes apply there too."
Troubleshoot
A "didn't open" segment is bigger than the campaign's audience
If a segment that uses Opened email zero times has many more customers than the campaign reached, it's also counting customers who were never sent that campaign.
To fix it:
In the segment, click Add condition, and then select Received email.
Click Add filter, select Campaign, and then pick the same campaign.
Choose that customers must match ALL of the conditions.
Click Save.
Order count misses a customer who ordered more than once
If a customer who ordered twice doesn't match "Order count is at least 2", some of their orders aren't counted.
Check the following:
The orders are after the date your synced orders start from. Order conditions show that date when your synced orders start later than your store did.
The orders weren't canceled or fully refunded.
A segment's estimate says "Couldn't estimate right now"
If the segment builder shows "Couldn't estimate right now. Try again.", it couldn't count the segment.
Check the following:
The segment doesn't use a collection with more than 2,500 products. The segment builder never estimates those.
For a very large store, try again later. Counting can take too long.
Either way, the segment still saves. When you send a campaign to it, the send window shows "We are working out how many people this campaign will reach." for up to 5 minutes while it counts, and then you can send.
Resources
See our latest updates:
➡️ Check our Unboxed page to discover newly launched features and improvements from Judge.me. See what's new and start using the latest updates to grow your store.




