# Customer groups (Segments)

> Make groups of customers that fill themselves, such as everyone who bought twice, so you can write to the right people.

Source: https://docs.personacart.com/commerce/segments

In short: {"Make groups of customers that fill themselves, such as everyone who bought twice, so you can write to the right people."}

A group is a list of people that fills itself, for example everyone who bought twice. Use a group to write to the right people at once. PersonaCart calls the same thing a **segment** in some places, such as the sidebar and campaigns.

Video: Customer groups: see who is in a group and write to them (https://www.youtube.com/watch?v=c2MO6v_Clqw)

Making a group sends nothing. Only pressing Send in a campaign sends.

1. Open **Commerce → Customers**, then press the **Groups** tab.
2. Press **Make my own group** and finish the sentence.
3. Press **Save this group**.

## Where to find it

Sidebar → COMMERCE → Customers → Segments, which opens the **Groups** tab at the top of Customers. People who cannot edit customers can look but not make or change groups.

## Ready-made groups

Four groups are set up for you, each with its head-count. With no customers yet, the page shows one teaching card and a labelled **Example** that goes away when customers arrive.

| Group | Who is in it |
|---|---|
| **Bought 2 or more times** | People who came back. |
| **Not back for a while** | People we may be losing: customers whose behaviour group is At risk, About to sleep or Can't lose. |
| **New customers** | People who paid for the first time (the New customer behaviour group). |
| **Spent … or more** | Your biggest supporters: people who spent 300 or more in your store's currency. |

Each card has two buttons:

- **See who** opens the Customers list filtered to that group. If the group has nobody yet, the list says **No results found**.
- **Write to them** first shows who would get the message: **Will get it**, **In this group**, and **Skipped** (people with no email, or who asked not to get emails).
  - **Stays** reminds you the group does not change.
  - Then **Write to N people** saves the group once and opens the campaign writer on it.
  - Nothing is sent from this window.

## Make your own group

Press **Make my own group** and say it like a sentence:

1. **Who should be in it?** "Everyone who" **bought** or **spent** a number, then **or more times** or **or more in total**, then **at any time**, **and last bought in the last 30 days**, **in the last 90 days** or **in the last year**.
2. **What do we call it?** The name fills in for you ("Bought 2 or more times") and you can change it.

- While you type, a live line counts the people ("N people match right now"), shows a few example names and how many can get email versus were never asked.
- If nobody matches yet you can still save it; it fills up as people buy.
- **Save this group** adds it to **Your groups**.
- A card at the top then says the group is saved and that only a campaign sends anything. It offers **Next: write to them** and **Ask N for permission**.

A bought group needs a whole number above zero; a spent group needs any number above zero.

## Your groups

Each saved group is a card with its name, the rules in words (joined by **AND** or **OR**), and how many people are in it. The search box finds a group by name. Each card has:

- **Deploy to campaign** opens the campaign writer on that group.
- **Actions → Edit** opens the full rule editor, below.
- **Actions → Delete segment**: opens a confirm box; press **Delete segment** again to remove the group, not the customers in it. Campaigns that already used it are not affected, but you cannot send to it again.

## Your groups, counted

- A card at the top counts all groups from the same list coupons and campaigns use, so a number here is the number a campaign to that group reaches.
- It shows "N of N customers are in a group" and, for each group, the change since last week ("Up 4 since last week", "Same as last week", "N joined in the last 7 days").
- Change figures start after a week of counting.
- Per group you can **Write to them**, press **Only the new ones** (the customer list narrowed to people who joined in the last 7 days) or **Ask for permission** (the permission email, below).
- Groups with nobody are folded into a line you can open.

If a group's count differs from the Customers list, a notice says so and **See how it is counted** explains it: groups are filled on a schedule and campaigns send to exactly that list, while the Customers list counts live from orders, so the two can differ until the group refreshes.

## The full rule editor

**Actions → Edit** on a card opens **Edit Customer Segment** (rules created by the sentence builder are editable here too). Fields:

- **Segment Name**.
- **Match Type**: **All conditions (AND)** or **Any condition (OR)**.
- **Conditions**: press **Add rule** for each. Every rule has a **Field**, an **Operator** and a **Value**; the value control matches the field. A line beneath shows how many customers match as you edit ("~N of N customers match").
- **Save changes**, or **Cancel**. Closing with unsaved edits asks you first.

Fields you can choose, grouped as in the editor:

| Group | Field | Operators | Value |
|---|---|---|---|
| Value | **Lifetime spend** | >, ≥, &lt;, ≤, between, is | an amount (0 to 1,000,000) |
| Value | **Average order value** | >, ≥, &lt;, ≤, between | an amount |
| Value | **Spend percentile (top %)** | ≥, ≤, between | 0 to 100 |
| Value | **Estimated value (CLV)** | >, ≥, &lt;, ≤, between | an amount |
| Purchase behavior | **Number of orders** | >, ≥, &lt;, ≤, between, is | a whole number (0 to 100,000) |
| Purchase behavior | **Last order (recency)** | in the last (days), not in the last (days) | days (0 to 3,650) |
| Lifecycle | **Lifecycle stage** | is any of, is, is not | Lead (no purchase), New, Active, Loyal, At risk, Dormant, Churned |
| Lifecycle | **RFM segment** | is any of, is, is not | Champions, Loyal, New customer, Promising, Needs attention, About to sleep, At risk, Can't lose, Lost |
| Lifecycle | **Risk of leaving** | is any of, is, is not | Low, Medium, High, Critical |
| Lifecycle | **Likelihood to buy** | is any of, is, is not | High (due to rebuy), Medium, Low |
| Products | **Purchased product** | is any of, is none of, bought all of | one or more of your products |
| Products | **Purchased product type** | is any of, is none of | Physical, Digital, Course, Service, Booking |
| Products | **Purchased category** | is any of, is none of | one or more of your categories |
| Marketing | **Email/marketing consent** | is | Yes or No |

"Between" takes two numbers. Rules with a missing or out-of-range value cannot be saved; the editor shows a message under the field ("Minimum value is …", "Value must be a number").

To build a "leads" group, use **Lifecycle stage is Lead (no purchase)**; the RFM list has no Lead because RFM does not score people with no orders.

## Ask for permission

A group card, the win card and the Customers bulk bar can all send **Ask for permission**: each person gets one email with a button. Until they press it nothing changes and you still cannot send them marketing email. People who unsubscribed are never asked.

## What happens, and what doesn't

- **Groups are live.** Membership is recalculated from the rules, so a group is never a frozen list.
- **Making a group never messages anyone.**
- **People with no email, or who opted out, are left out when you send.**
- **Deleting a group removes the group, not the customers.**

## Questions

## Every field on this screen

Every control here, read straight from the live app.
