Shopify customer segments: how to turn Black Friday buyers into a second order

Nico Bértolo · 2026-11-29

In short

  • Customer segments live in Customers > Segments, are built with a query editor and update themselves: customers who meet the conditions join, and those who stop meeting them leave.
  • After Black Friday, split new one-order customers, existing customers who came back and good customers who did not buy: each group needs a different message.
  • No second discount for new customers: product usage first, then the matching product at full price three weeks later. How much their segment shrinks by February is your repeat rate.

Shopify customer segments are the quickest way to see who bought from you on Black Friday and what to do with each of them. No apps, no exports: in Customers > Segments you write a query and Shopify returns the list, which also keeps itself up to date. This guide has the exact queries we would use this Sunday, between Black Friday and Cyber Monday, and what we would send each group so the discounted order is not the last one.

What is a customer segment in Shopify?

It is a list of customers filtered by conditions: how many orders they have, when they placed their first or last one, which products they bought, whether they subscribe to email, how much they have spent. Shopify stores it as a query, not a fixed list. According to its help centre, new customers who meet the criteria are added automatically and those who stop meeting them are removed automatically.

That detail is what makes it useful after a campaign. A “customers with one order” segment loses people as they reorder. You do not need a report to measure repeat purchases: you just watch how much it shrinks.

  • 10: Maximum conditions in a segment query. Add more and Shopify returns an error (“Too many clauses”).
  • 500: Maximum products in a list of IDs inside products_purchased.
  • 100+: Sales a store needs before it can use predicted spend tier (high, medium or low).

How do you create a customer segment?

From the admin: Customers > Segments > Create segment. Shopify opens an editor with the query already started; you only write the conditions (the part after WHERE). The editor suggests filters, operators and values as you type. Click Apply, check the list underneath and, if it is what you wanted, Save segment.

Three syntax rules that save mistakes: text values go in single quotes ('SUBSCRIBED'), dates are written as 2026-11-20 or relative (-30d is the last 30 days, -12m the last 12 months) and, if you mix AND and OR, use brackets: Shopify gives AND priority. If you would rather not write it, Sidekick can build the query from a sentence. Always check what it returns before saving.

Test orders and deleted orders do not count towards segments. If you tested checkout with your own email, you will not see yourself in there.

The five segments I would build after Black Friday

The dates run from 20 November to 1 December 2026 to cover Black Friday week (it was Friday the 27th) and Cyber Monday (the 30th). If your campaign started earlier, change the first date.

1. New Black Friday customers. Their first order is from this week and they have no other.

number_of_orders = 1 AND first_order_date BETWEEN 2026-11-20 AND 2026-12-01

2. Existing customers who came back. They were already customers and bought again during the campaign. They need a discount least and deserve separate treatment most.

first_order_date < 2026-11-20 AND last_order_date >= 2026-11-20

3. Good customers who did not buy. Two or more orders in the last year and none during the campaign. Something did not land: the product, the price, or they never heard about it.

number_of_orders >= 2 AND last_order_date >= -12m AND last_order_date < 2026-11-20

4. Cross-sell. They bought one type of product during the campaign and not yet the one that goes with it. It works with product tags, so tag your catalogue properly first.

products_purchased MATCHES (tag = 'serum', date >= 2026-11-20) AND products_purchased NOT MATCHES (tag = 'cleanser')

5. High predicted spend. For every customer who has already bought, Shopify estimates whether their future spend is high, medium or low, based on how often they buy, how much they spend per order, how many orders they have and when the last one was. It is only available with more than 100 sales.

predicted_spend_tier = 'HIGH' AND email_subscription_status = 'SUBSCRIBED'

What should I send each segment?

What we see in almost every store we review is the opposite: one email to the whole list on Monday, with another discount. It tells the new customer your brand is something you buy on sale. It hands the loyal customer margin they did not need. Splitting takes ten minutes and changes the whole message.

  • New customers: when the order arrives, a how-to email (how to use it, how long it lasts, what to expect in the first week). No code. Three weeks later, the matching product at full price.
  • Existing customers who came back: new products or restocks before anyone else. If you want to reward them, free shipping or a gift, not another percentage.
  • Good customers who did not buy: few and valuable. A short email, written like a person, asking what they missed. The replies are worth more than the sale.
  • Cross-sell: one product, with the reason it goes with what they already have. No “you might like” with twelve items.
  • High predicted spend: first to hear about Christmas and the January sale, with stock held back if you can.

Take a skincare brand with a €35 average order. On Black Friday lots of new people come in for the discounted serum. If on 1 December you send them 20% off everything, they buy a bit more but learn to wait. If you send them how to use the serum and, in mid-December, the cleanser that goes with it at full price, the second order is about the product. That is the one that repeats in spring.

If you still need a discount for a group, make it theirs only. From the segment, Use segment > Discount creates one limited to those customers; we cover it step by step in Black Friday early access. That way the code does not end up on a coupon site.

Are they useful if I send email with Klaviyo?

Yes, for two things. For looking: in Shopify you see the size of each group in a minute without leaving the admin. And for discounts limited to a segment, which you set up in Shopify whatever email tool you use. The sends themselves you would build with the same cuts inside Klaviyo, where your flows already live (we cover which ones to have in the essential Klaviyo flows).

If you send from Shopify, you use the segment directly: Use segment > Email opens the campaign in the Shopify Messaging app. Shopify notes that only subscribers with a valid email receive it, so the segment can be larger than the number of sends. You can also export the segment to CSV.

What I would do this week

  1. Today: build the five segments: Copy the queries, change the dates to your campaign and write down how many customers each one has. That snapshot is your starting point.
  2. On delivery: a how-to email for new customers: How to use what they bought and what to expect. No discount code.
  3. Three weeks later: the matching product: To the cross-sell segment, one product at full price and why it goes with what they already have.
  4. This week: those who did not buy: To good customers who skipped the sale, a short, personal email asking what they missed. Read the replies before your Christmas campaign.
  5. In February: check how much it shrank: New customers who reorder leave segment 1 by themselves. The difference from today’s snapshot is your real Black Friday repeat rate.

If Black Friday brought you more visits than buyers, the problem sits before the email: review your funnel and product pages with what to check before Cyber Monday.

Lots of new customers and few who come back? We review your store and your emails and tell you what to change so the second order comes on its own. Book a call

Sources

  1. Crear segmentos de clientes · Centro de ayuda de Shopify (documentación oficial)
  2. Administrar segmentos de clientes · Centro de ayuda de Shopify (documentación oficial)
  3. Segment query language reference · Shopify.dev (documentación oficial)
  4. Componentes de los segmentos de clientes · Centro de ayuda de Shopify (documentación oficial)
  5. Nivel de gasto previsto · Centro de ayuda de Shopify (documentación oficial)

Frequently asked questions

Where do you create customer segments in Shopify?

In the admin, under Customers > Segments > Create segment. You write the conditions in the query editor, click Apply to see which customers match and save it.

Do Shopify segments update automatically?

Yes. According to Shopify, customers who start meeting the criteria join automatically and those who stop meeting them are removed. Test and deleted orders do not count.

How do I find customers whose first order was on Black Friday?

With the query number_of_orders = 1 AND first_order_date BETWEEN 2026-11-20 AND 2026-12-01, changing the dates to your campaign. It returns customers whose first order fell in those dates and who have no other.

What is Shopify’s predicted spend tier?

A prediction of how much each customer will spend in the future (high, medium or low), based on purchase frequency, spend per order, number of orders and last purchase. It is only available if the store has more than 100 sales.

Can I create a discount for one segment only?

Yes. From the segment, under Use segment > Discount, you create a discount only customers in that segment can use.

Keep reading