Skip to main content

Judge.me Email: Conditions for segments and flows

Target customers by what they opened, clicked and bought, how often and when, in segments, campaigns and flows.

Available on the Free plan

Conditions are rules that choose which customers get your emails, such as repeat customers or customers who didn't open your last campaign. You use them to build segments, narrow a campaign's audience, and choose who gets each email in a flow.


How conditions work

A condition is a rule that a customer either matches or doesn't. It reads like a sentence, for example:

  • "Placed order at least 2 times" finds your repeat customers.

  • "Opened email zero times where Campaign is [your campaign]" finds customers who didn't open that campaign, so you can send it again.

  • "Placed order at least 1 time since starting this flow", used as an exit condition, stops a flow once the customer buys.

You can use conditions in these places:

  • Segments: a saved group of customers you send campaigns to. A segment updates on its own as customers' activity changes.

  • Campaigns: narrow the segments a campaign goes to, in the Conditions section of its Audience step.

  • 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.

    • Trigger conditions: in a flow with the Customer matches conditions trigger, choose who enters it. They're checked about every hour, and a customer enters when they start matching. Email consent works here too.

    • 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. Customers go down the first path they match, and customers who match none go down Everyone else.

When you add more than one condition, choose whether customers must match ALL of them or ANY of them. To mix the two, use condition groups.

To narrow an email or order condition, for example to one campaign or one product, add filters to it. Each filter checks each email or order on its own: "Placed order at least 2 times where Product includes any of Earl Grey" means 2 orders that each contain Earl Grey. Each condition below lists its filters.


Considerations

Before you set up conditions, review the following considerations:

  • You can add up to 25 conditions in total, counting the ones inside condition groups, and up to 10 condition groups. Each condition can have up to 10 filters.

  • In one condition or filter, you can pick up to 100 campaigns, flow emails, products or segments, 50 collections or 25 flows.

  • There's no condition yet for:

    • what customers viewed or added to cart on your store, in segments. Flows can check viewed products and collections only in the Browse abandoned flow.

    • customer birthdays.

    • product type or product tags. To target by product, pick the products or collections.

    • a segment inside a segment. In segment works in campaigns and flows, not in segments.


Conditions you can use

Each condition below says what it matches, where you can use it, what you set it to, and anything that works differently.

Received email

Matches customers who got an email you sent with Judge.me Email. Use it with zero times to find customers who never got a campaign, or next to Opened email to keep only customers who got the email.

  • Available in: segments, campaigns and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Campaign or Flow email:is any of or is not any of the ones you pick. The Campaign list shows your 200 newest campaigns.

    • Subject:contains, doesn't contain, is or is not the text you enter. It matches the subject as it was sent, with personalization filled in.

    • Email type:Campaign or Flow email.

Received marketing email

Matches customers who got a marketing email you sent with Judge.me Email. It leaves out abandoned checkout emails and the first restock alert.

  • Available in: segments and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Campaign or Flow email:is any of or is not any of the ones you pick. The Campaign list shows your 200 newest campaigns.

    • Subject:contains, doesn't contain, is or is not the text you enter. It matches the subject as it was sent, with personalization filled in.

    • Email type:Campaign or Flow email.

Opened email

Matches customers who opened an email you sent with Judge.me Email.

  • Available in: segments, campaigns and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Campaign or Flow email:is any of or is not any of the ones you pick. The Campaign list shows your 200 newest campaigns.

    • Subject:contains, doesn't contain, is or is not the text you enter. It matches the subject as it was sent, with personalization filled in.

    • Email type:Campaign or Flow email.

    • Automatic opens:are excluded (see Good to know).

  • Good to know:

    • Some email apps, such as Apple Mail, open emails automatically, which can make opens look higher than they are. Add the Automatic opens filter to leave those opens out. Opens from other email apps and security scanners still count.

    • Zero times also matches customers who were never sent the email. To keep only customers who got it, add Received email for the same campaign or flow email.

Clicked email

Matches customers who clicked a link in an email you sent with Judge.me Email.

  • Available in: segments, campaigns and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Campaign or Flow email:is any of or is not any of the ones you pick. The Campaign list shows your 200 newest campaigns.

    • Subject:contains, doesn't contain, is or is not the text you enter. It matches the subject as it was sent, with personalization filled in.

    • Email type:Campaign or Flow email.

    • Link:contains or is the link you enter, to count clicks on one link only.

  • Good to know:zero times also matches customers who were never sent the email, as with Opened email.

Email bounced

Matches customers whose email address bounced on an email you sent with Judge.me Email. These customers can't receive marketing emails, so use the condition to count them or to leave them out.

  • Available in: segments and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Campaign or Flow email:is any of or is not any of the ones you pick. The Campaign list shows your 200 newest campaigns.

    • Subject:contains, doesn't contain, is or is not the text you enter. It matches the subject as it was sent, with personalization filled in.

    • Email type:Campaign or Flow email.

Marked email as spam

Matches customers who reported an email you sent with Judge.me Email as spam. These customers can't receive marketing emails, so use the condition to count them or to leave them out.

  • Available in: segments and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Campaign or Flow email:is any of or is not any of the ones you pick. The Campaign list shows your 200 newest campaigns.

    • Subject:contains, doesn't contain, is or is not the text you enter. It matches the subject as it was sent, with personalization filled in.

    • Email type:Campaign or Flow email.

Unsubscribed from email

Matches customers who unsubscribed through an email you sent with Judge.me Email.

  • Available in: segments and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Campaign or Flow email:is any of or is not any of the ones you pick. The Campaign list shows your 200 newest campaigns.

    • Subject:contains, doesn't contain, is or is not the text you enter. It matches the subject as it was sent, with personalization filled in.

    • Email type:Campaign or Flow email.

  • Good to know: it doesn't count unsubscribes made in Shopify or another email app. To find every customer who opted out, use Email consentisUnsubscribed (flows only).

Placed order

Matches customers who placed an order.

  • Available in: segments, campaigns and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Product or Collection:includes any of, includes all of or doesn't include the ones you pick. Includes all of means one order contains every one you pick.

    • Order value:is greater than, is less than or is between the amounts you enter.

    • Discount code:is, is not, has any discount or has no discount.

    • Sales channel:Online store, Point of Sale, Draft order or Other.

    • Came from email: counts only orders that came from your emails.

  • Good to know:

    • It counts 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, the condition shows the date they start from.

    • The Collection filter isn't in the Back in stock flow's entry filters.

    • The Discount code filter shows once Judge.me Email has finished reading your past discount codes. Older orders with no saved discount codes don't match any Discount code filter.

Canceled order

Matches customers who had an order canceled.

  • Available in: segments, campaigns and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Product or Collection:includes any of, includes all of or doesn't include the ones you pick. Includes all of means one order contains every one you pick.

    • Order value:is greater than, is less than or is between the amounts you enter.

    • Discount code:is, is not, has any discount or has no discount.

    • Sales channel:Online store, Point of Sale, Draft order or Other.

  • Good to know: it counts orders synced to Judge.me Email, up to 24 months back, or 60 days if Judge.me Email can't read all your orders.

Refunded order

Matches customers who had an order refunded.

  • Available in: segments, campaigns and flows.

  • Set it to:

    • How often:at least, at most, exactly, more than, fewer than or zero times, from 1 to 10,000.

    • When:over all time, in the last N minutes, hours or days, or between N and M ago, up to 3,650 days. Segments also have before, after and between dates: before and after leave out the day you pick, and between dates includes both days. Flow exit conditions, email exit conditions and splits also have since starting this flow, which counts only what happened since the customer entered the flow this time.

  • Filters: click Add filter, and choose whether filters must match ALL or ANY:

    • Product or Collection:includes any of, includes all of or doesn't include the ones you pick. Includes all of means one order contains every one you pick.

    • Order value:is greater than, is less than or is between the amounts you enter.

    • Discount code:is, is not, has any discount or has no discount.

    • Sales channel:Online store, Point of Sale, Draft order or Other.

  • Good to know: it counts orders synced to Judge.me Email, up to 24 months back, or 60 days if Judge.me Email can't read all your orders.

Language

Matches customers by their account language.

  • Available in: segments, campaigns and flows.

  • Set it to: is any of or is not any of the languages you pick.

  • Good to know:

    • In the Back in stock flow it's marked "(registered shoppers only)": a guest never matches it, whether it says is or is not.

    • In the Abandoned checkout flow's entry filters it's marked "(registered shoppers only)" and is skipped for a guest checkout, so it never keeps a guest out.

Email consent

Matches customers by whether they agreed to get your marketing emails.

  • Available in: flows only. Segments already include only subscribed customers.

  • Set it to: is or is notSubscribed, Not subscribed, Unsubscribed or Pending confirmation. Not subscribed means they never opted in. Unsubscribed means they opted out.

  • Good to know: in the Back in stock flow it's marked "(registered shoppers only)": a guest never matches it, whether it says is or is not.

SMS consent

Matches customers by whether they agreed to get your marketing texts.

  • Available in: segments, campaigns and flows.

  • Set it to: is or is notSubscribed, Not subscribed, Unsubscribed or Pending confirmation.

  • Good to know: in the Back in stock flow it's marked "(registered shoppers only)": a guest never matches it, whether it says is or is not.

Signup date

Matches customers by when they signed up.

  • Available in: segments, campaigns and flows.

  • Set it to: is in the last, is between … ago or is more than N minutes, hours or days ago. Segments also have is before, is after and is between dates.

Signup source

Matches customers by how they signed up.

  • Available in: segments and campaigns.

  • Set it to: is or is notPopup, Checkout, Imported, API, Manual or Back in stock.

  • Good to know: a customer whose source wasn't recorded matches neither is nor is not.

Customer tags

Matches customers by their Shopify customer tags.

  • Available in: segments, campaigns and flows.

  • Set it to: is in or is not in the tags you enter, such as vip.

  • Good to know:

    • In the Back in stock flow it's marked "(registered shoppers only)": a guest never matches it, whether it says is or is not.

    • In the Abandoned checkout flow's entry filters it's marked "(registered shoppers only)" and is skipped for a guest checkout, so it never keeps a guest out.

Location

Matches customers by country.

  • Available in: segments, campaigns and flows.

  • Set it to: is any of or is not the countries you pick.

  • Good to know:

    • It matches the country on the customer's account address, not the delivery address. The two can differ.

    • In the Back in stock flow it's marked "(registered shoppers only)": a guest never matches it, whether it says is or is not.

    • In the Abandoned checkout flow's entry filters it's marked "(registered shoppers only)" and is skipped for a guest checkout, so it never keeps a guest out.

Order count

Matches customers by how many orders they've placed.

  • Available in: segments, campaigns and flows.

  • Set it to: is, is greater than, is greater than or equal to, is less than or is less than or equal to the number you enter.

  • Good to know:

    • It counts your synced orders, without canceled and fully refunded ones.

    • In the Back in stock flow it's marked "(registered shoppers only)": a guest never matches it, whether it says is or is not.

    • In the Abandoned checkout flow's entry filters it's marked "(registered shoppers only)" and is skipped for a guest checkout, so it never keeps a guest out.

    • If a customer who ordered twice doesn't match "Order count is at least 2", check that the orders are after the date your synced orders start from, and that they weren't canceled or fully refunded.

Lifetime spend

Matches customers by how much they've spent in your store: Shopify's total for the customer, in your store's currency.

  • Available in: segments, campaigns and flows, except the Abandoned checkout, Abandoned cart and Browse abandoned flows.

  • Set it to: is, is greater than, is greater than or equal to, is less than, is less than or equal to or is between the amounts you enter.

  • Good to know: in the Back in stock flow it's marked "(registered shoppers only)": a guest never matches it, whether it says is or is not.

In segment

Matches customers in your own segments, presets or Shopify segments.

  • Available in: campaigns and flows. A segment can't include another segment yet.

  • Set it to: is in any of or is not in any of the segments you pick.

  • Good to know:

    • Shopify segments can take up to 30 minutes to update. In flows, 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.

    • 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.

This order conditions

Match the order that started the flow: Order value, Contains product, Contains collection and Discount used.

  • Available in: the Post-purchase, Product recommendation, Order fulfilled, Order delivered, Out for delivery, Order cancelled and Refund created flows.

  • Set it to: an amount for Order value, the products or collections you pick, or Discount usedis, is not or has any discount.

  • Good to know:Discount used is in entry filters only, and is greyed out in Refund created flows, because refunds don't carry the order's discount codes yet.

Last order conditions

Match the order whose lapse started the flow: Last order value, Last order contains product and Last order contains collection.

  • Available in: the Winback flow.

  • Set it to: an amount, or the products or collections you pick.

This checkout conditions

Match the checkout that started the flow: Cart value, Cart contains product, Cart contains collection and Discount at checkout.

  • Available in: the Abandoned checkout flow. Discount at checkout is in entry filters only.

  • Set it to: an amount, the products or collections you pick, or a discount.

This cart conditions

Match the cart that started the flow: Cart value, Cart contains product and Cart contains collection.

  • Available in: the Abandoned cart flow.

  • Set it to: an amount, or the products or collections you pick.

This visit conditions

Match the visit that started the flow: Viewed product and Viewed collection.

  • Available in: the Browse abandoned flow, entry filters only.

  • Set it to: includes any of or doesn't include the products or collections you pick.

Shipment

Matches which shipment of the order started the flow.

  • Available in: the Order delivered and Out for delivery flows, entry filters only.

  • Set it to: isFirst shipment of the order or A later shipment.

  • Good to know: a canceled or failed shipment never counts as the first.

Tag that changed

Matches the tag whose change started the flow. For example, a Customer tag added flow can run only when you add the VIP tag.

  • Available in: the Customer tag added and Customer tag removed flows, entry filters only.

  • Set it to:is any of or is not any of the tags you pick.

Times entered this flow

Matches customers by how many times they've entered this flow before.

  • Available in: every flow except Abandoned cart, Browse abandoned and Back in stock, entry filters only.

  • Set it to: a number.

  • Good to know: in the Abandoned checkout flow it counts entries from the last 90 days only.

Has entered flow

Matches customers who have entered other flows you pick.

  • Available in: every flow except Abandoned cart, Browse abandoned and Back in stock, entry filters only.

  • Set it to: is any of or is none of the flows you pick.

  • Good to know: entries into an Abandoned checkout flow count from the last 90 days only.


Condition groups

A condition group bundles conditions so they count as one. Use a group to mix ALL and ANY:

  • 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.


Resources

  1. 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.

Did this answer your question?