Skip to content

Segments

This page shows you how to save a group of people as a segment, and where to use it.

A segment is a saved group, such as “Gold members” or “Ordered this month but not this week”. It updates by itself as people change. You can use it to choose who gets a message, who sees a messenger card, and who you look at on Contacts.

Go to Segments.

The segments listThe segments list
The segments list
  1. Press New segment. You can also press New at the top of any page and choose Segment.

  2. Name it, such as “Weekend regulars”.

  3. Press + Condition and pick what to test. You can type to search, or choose a kind:

    KindExample
    Profile detailsmembership_tier is Gold. points_balance is more than 1000. Signed up fewer than 30 days ago.
    Things they didDid order_placed at least 2 times in the last 30 days. Last did app_opened more than 14 days ago.
    TagsHas the tag “VIP”.
    SegmentsIs in “Gold members”.
    SubscriptionsIs subscribed to “New arrivals” by email.
  4. Add more conditions the same way.

  5. Write a Description, so the next person knows what it is for.

  6. Press Create segment.

A new segment, with its conditions and the people who matchA new segment, with its conditions and the people who match
A new segment, with its conditions and the people who match

As you work, the panel beside the conditions counts how many people match now. A few who match lists some of them.

At the top it says Contacts who match all of these. That means a person must match every condition. Change all to any if matching one condition is enough.

To mix the two, press + Group. A group has its own all or any. For example: Gold, and a group of (ordered this week, or opened the app today).

An event often carries details. For example, order_placed may carry the total and the store, and link_opened carries the link.

  1. Add a Things they did condition and choose the event.
  2. Under Count only the times when, press + Only when a detail of it….
  3. Pick the detail, then how to test it.

For words, you can test whether a detail is, is not, contains or starts with some text. For numbers, you can test is more than, is less than, and so on.

starts with is handy for addresses and codes. For example: link_opened where link starts with /offers/. That counts every offer link, and nothing else.

  • Messages: on the Who step, choose A segment. A message sent Whenever someone starts to match reaches each person as they join the segment.
  • Workflows: a workflow can start when someone is Joining a segment or Leaving a segment. A check step can ask whether someone is in one.
  • Messenger: on Settings › your app › Messenger, a card can be Shown to one segment only.
  • Contacts: press Filter. Your segments come first, then conditions of your own.
A saved segment and its membersA saved segment and its members
A saved segment and its members
  • The attributes and events you can use are the ones on Settings › your app › Data. Give your attributes clear labels there. See Data.
  • “Today” and “this morning” follow each person’s own time zone. When that’s not known, they follow your app’s time zone.
  • Test a new segment on Contacts first. Filter by it, and open a few people to check they belong.