Tutorial · Emails & Flows6 minUpdated

How to segment the merchants using your Shopify app

Group your stores by plan, trial, spend, install date, uninstall or review, keep each group up to date on its own, and email exactly the stores in it.

AppStorePulse · appstorepulse.com/tutorials/segment-shopify-app-merchants
Overview

Your merchants are not one audience. A store on day 2 of a trial, a store paying $200 a month for a year, and a store that just uninstalled need different messages. AppStorePulse builds segments from your Shopify Partner billing data and the contacts your app sends: pick conditions like paying, on trial, plan, spend, install date or review, and every segment keeps updating as stores install, pay and leave. Then send a campaign to it or start a flow the moment a store enters it.

Before you start

  • A Starter or Pro plan. Segments are part of Emails & Flows, included in both.
  • Your Shopify Partner account connected, for billing conditions like paying, trial, plan and spend.
  • Your merchants added as contacts, from your app or by CSV import. A segment only holds stores with an email.

What Shopify gives you

The Partner Dashboard and the Partner API give you each store's installs, uninstalls and charges. That is everything you need to know who pays, who is on a trial and who left, but it comes as a list of events per store, not as groups you can act on.

Merchant emails aren't part of it. Your app collects those when a store installs, so a usable segment needs both: the billing state from Shopify and the email from your app.

Doing it by hand

Export your Partner data to a spreadsheet, work out each store's current plan and trial from its charges, filter, then match the rows to your email list on the store domain. Save the result as a list in your email tool.

The list is right on the day you build it. A week later, trials have converted, stores have upgraded and others have left, and your list still has them where they were. Every send means rebuilding it.

Step by step

The full walkthrough

1

Start from the built-in segments

In Emails & Flows, open Subscribers, then Segments. Four segments come built in: Paying, On trial, Free, and Installed in the last 30 days. They fill from your Partner data once your Partner account is connected, and each shows how many stores are in it right now.

  • Built-in segments can't be edited. Click Duplicate on one to use it as a starting point.
  • Click a segment to see its stores. Admins can export it as a CSV.
Segments list with the four built-in segments Paying, On trial, Free and Installed in the last 30 days, plus two custom segments, with member counts (sample data)
2

Build your own segment

Click New segment, name it, and add conditions. Conditions in a group must all match. Add an OR group to match either one set of conditions or another. The count of matching stores updates as you build. Click Save segment.

  • Billing: Paying, On trial, Trial ends, Plan name, Billing interval, Monthly spend, Lifetime value, Cancelling at end of cycle.
  • Lifecycle: Installed, Uninstalled, Uninstalled on, Reinstalled.
  • App Store review: left a review, no review, or critical (3 stars or less).
  • Your own data: any custom property or event your app sends, and whether a store opened or clicked your emails.
  • With install tracking connected, you can also segment by the keyword a store searched and the traffic source it came from.
New segment named Annual payers, settled in: paying is yes, billing interval is Annual, installed not in the last 30 days, with 164 subscribers matching (sample data)
3

Or save a Customers filter as a segment

In Revenue & Churn, open Customers and filter the list: by status, plan, install date, spend, review and more. Click Create a segment, name it, and the filter is saved in Emails & Flows. It keeps updating like any other segment.

  • The dialog shows how many of those stores have an email. Only those can be in the segment.
  • Ticked a few stores by hand? The button becomes Add to a list instead. A list stays as it is; a segment follows the data.
Create a segment dialog from the Customers page, showing 4 stores of which 2 have an email (demo data)
4

Put your segments to work

A segment is an audience you can use everywhere in Emails & Flows.

  • Campaigns: choose A segment as the audience, for example a pricing change only for stores on that plan.
  • Flows: start a flow when a store enters a segment, like Trial ends within 3 days. Tick Exit the flow if they leave the segment so a store that upgrades stops getting trial reminders.
  • Any flow: limit who can enter with Only if…, or skip a single email with Only send if….
FAQ

Frequently asked

Do segments update on their own?

Yes. A store is in a segment the moment it matches the conditions and leaves it when it stops matching. You never rebuild a segment.

What can I segment Shopify app merchants by?

Paying or not, trial and trial end date, plan name, billing interval, monthly spend, lifetime value, install and uninstall dates, cancellation, reinstall, App Store review, your own properties and events, and email opens and clicks.

Why does a segment have fewer stores than my Customers list?

A segment only holds stores you can email. Shopify doesn't share merchant emails with partners, so a store joins once your app has sent its email.

What is the difference between a segment and a list?

A segment is a set of conditions and keeps updating. A list is a fixed set of stores you add yourself, from your app, a CSV or the Customers page.

Which plan do I need?

Starter ($49/month, up to 1,000 contacts) or Pro ($99/month, up to 5,000 contacts). Billing conditions need your Shopify Partner account connected.

The right email for every kind of store

Segments built from your real billing data, always up to date, ready for a campaign or a flow.