Black Friday: deals on every PlugPress plugin. See the deals

Contact us

Black Friday won’t last forever

Deals on every PlugPress plugin. Full refund within 7 days.

Snapback $49 (was $99) · Divi Bundle $219 · SaddleWP 40% off · BridleWP $99 · Mailpuff $89Snapback $49 (was $99) and 4 more

See the deals

SaddleWP, BridleWP and Mailpuff deals end in

01days 13hours 15minutes 14seconds

Mailpuff

Mailpuff Segments with AND and OR: Tag Rules, Groups and Email Activity

Build Mailpuff segments with AND and OR groups, tag rules and email activity, such as opened, clicked or did not open a campaign.

A Mailpuff segment can combine rules with AND and OR. Rules sit in groups. Inside a group every rule must be true (AND), and the groups are joined by “Or”, so a person is in the segment when they match any one group. A group can look at tags, at what people did with your emails, such as opening or clicking a campaign, and at your own fields. It is free and comes with Mailpuff 1.0.3 or newer.

How do I build a segment with groups?

  1. Go to Mailpuff → Subscribers.
  2. Open the list menu (it says All subscribers) and choose New segment. To change a segment you already have, open it and click Edit.
  3. Give it a Name.
  4. Set Status and Engagement. These apply to the whole segment.
  5. In Group 1, set the rules: Tags, Email activity and Fields.
  6. For an “or”, click Add another group and set that group’s rules.
  7. Click Create segment (or Save).
The Edit segment dialog in Mailpuff with two rule groups joined by Or

Under the groups, the dialog counts as you go, such as “64 match · 61 can be emailed”. The first number is everyone who matches. The second is how many of them a campaign would reach.

Add another group and the live count of matches at the bottom of the segment dialog

Which rules apply to the whole segment, and which to a group?

Applies to Rules
The whole segment Status, Engagement, and Source and Customer type when your list has them
Each group Tags, Email activity and Fields

A person must fit the whole-segment rules and at least one group. A segment can have up to 10 groups. An empty group adds nothing.

What do “has any of”, “has all of” and “has none of” mean?

Tick tags in a group, then pick how they count:

Choice Who matches
has any of People with at least one of the ticked tags
has all of People with every ticked tag
has none of People with none of the ticked tags

Each group has one tag rule. Leave every tag unticked to keep tags out of that group.

Which email activity rules are there?

Click Add an activity condition in a group, then pick the rule and the campaign.

The email activity rules in a Mailpuff segment: was sent, opened, clicked, did not open and last opened or clicked within
Rule Who matches
Was sent People the campaign was sent to
Opened People who opened it. A click counts as an open
Clicked People who clicked a link in it
Did not open People who got it, whose opens are counted, and who did not open or click. It is the report’s Not opened list
Last opened or clicked within N days People who opened or clicked any of your emails in the last N days, from 1 to 3650

Good to know:

  • The campaign list holds campaigns that went out, newest first.
  • Activity rules use only the opens and clicks Mailpuff counts. Someone whose opens are not counted never matches Opened, Clicked or Did not open. See whose opens and clicks are counted.
  • A click by a mail scanner is never counted. See bot clicks in email.
  • A group can have up to 10 activity conditions.
  • From version 1.0.3, Mailpuff saves the time of each person’s latest open. For an email last opened before you updated, Last opened or clicked within uses its first open.

Can you show two examples?

People who clicked one campaign, or are tagged as customers.

  • Group 1: Email activity → Clicked → “September news”.
  • Group 2: Tags → has any of → Customers.

Readers who opened the launch email and are not customers yet.

  • Group 1: Tags → has none of → Customers, and Email activity → Opened → “Launch day”.

The second example needs one group only, because both rules must be true.

How does a grouped segment show on the Subscribers page?

A simple segment works as before: its rules show as separate filter chips that you can change on the page.

A segment that has more than one group, a “has all of” or “has none of” tag rule, or an activity rule shows as one chip with the segment’s name. Click the chip to open Edit segment. Click its × to go back to all subscribers. The search, Status and Filters still narrow the list you see, and Export CSV exports that list.

The Subscribers page showing a grouped segment as one chip

What if a tag or campaign in a rule was deleted?

Deleted What you see What to do
A campaign in an activity rule “Deleted campaign” and “This campaign was deleted, so this condition matches nobody. Remove it to save.” Remove the condition. The segment can’t be saved until you do
A tag A ticked “Deleted tag” at the top of the tags Untick it. Under has all of the group matches nobody until you do, and the dialog says “Nobody has a deleted tag, so this group matches nobody.” Under the other two it changes nothing
A segment whose rules name a deleted tag and a deleted campaign

Where can I use a segment?

Anywhere a simple one works: send a campaign to it, leave it out of a campaign with Don’t send to, or export it. A segment is worked out each time it is used, so it stays current.

Can an AI agent build these segments?

Yes. create-segment and update-segment take tag_mode (any, all or none), activity and groups. Segments made before 1.0.3 keep working unchanged. See every Mailpuff tool for AI agents.

FAQ

Do my old segments change?

No. A segment with one group, “has any of” and no activity rule is saved and read exactly as before.

Can one group say “has this tag but not that tag”?

Not in one group, because a group has one tag rule. For a campaign, send to the first tag and leave the other tag out with Don’t send to.

Why does “Opened” match fewer people than I expect?

It counts only people whose opens are counted. With the setting Only people who agreed, that is the people who said yes to tracking.

Why is Save turned off?

A condition is not finished. Pick a campaign for each activity condition, and enter days as a whole number: “Enter a whole number of days, from 1 to 3650.”

The hint under the days field: enter a whole number of days, from 1 to 3650
Special offer

70% off Saddle, Mailpuff or Snapback

Confirm your email and we'll send you a code for 70% off lifetime payment.