Since September 2025, you can group customers in Shopify by which product categories they've viewed or bought. With the trigger "Customer joined segment", such a segment becomes an email flow. That makes cross-selling and win-back emails by category possible, without Klaviyo or another extra app.
What you need
- Maintained product categories. The segments use Shopify's standard product categories. Products without an assigned category drop out. That's the most common reason a segment stays empty.
- Shopify Messaging or Flow. Ready-made automations are in Shopify Messaging. Custom flows or ones involving other apps you build in Shopify Flow.
- Customers with marketing consent. By default, automations only go to customers who have agreed to marketing emails.
How to build it
- Create a segment. Under Customers → Segments with the filter for the purchased category, such as "bought skincare in the last three months". According to Shopify, customers automatically also land in the parent category: anyone who buys face cleanser also counts toward beauty.
- Start an automation with the segment. Shopify's templates for win-back and VIP customers already work with the trigger "Customer joined segment". You use the same trigger with your category segment.
- Write the email to match the category. Not "You might like this", but the product buyers of this category actually buy next.
How you know what gets bought next
The technology is the easy part. The difference is in the selection: which categories are bought together or one after another in your store, and after how many days customers buy again. That's in your order data, not in a template. If you do this analysis once, you build flows that fit your range instead of an average shop.
Three flows to start with
| Flow | Segment | Email content |
|---|---|---|
| Cross-selling | bought category A, not B yet | the product from B that A buyers most often add |
| Replenishment | bought category A as many days ago as your repurchase rhythm shows | reminder of exactly this product |
| Second chance | viewed category A but never bought | the answers to the questions that stay open before purchase |
How to get the repurchase rhythm from your data is in the article on the replenishment reminder. The basic flows for every shop are in 5 email flows every Shopify store needs.
Frequently asked questions
Why is my category segment empty? Almost always, the products are missing the Shopify category. Check in the product list whether every product has one.
Do I need Klaviyo for this? No. Segments, triggers and emails run entirely in Shopify. An external tool only pays off when you run very many flows with complex logic.
Do you implement this? Yes. We analyze your purchase data and build the flows that fit your range.





