Skip to main content

Overview

Segments are dynamic filters that group contacts based on conditions like email activity, metadata, gender, or subscription status. Use segments to target the right people with broadcasts and campaigns. Unlike static lists, segments update automatically — when a contact matches the conditions, they’re included. When they no longer match, they’re excluded.

Creating a Segment

  1. Go to Audiences in the dashboard
  2. Select an audience
  3. Click Segments → Create Segment
  4. Add filter conditions
  5. Preview matching contacts
  6. Save the segment

Filter Conditions

Build segments using any combination of contact fields:

Contact Fields

FieldOperatorsExample
Emailcontains, starts with, ends with, equalsemail ends with @company.com
First Nameequals, contains, is empty, is not emptyfirst_name is not empty
Last Nameequals, contains, is empty, is not emptylast_name contains Smith
Statusequalsstatus equals subscribed
Genderequalsgender equals female
Created Atbefore, after, betweencreated_at after 2026-01-01

Activity Fields

FieldOperatorsExample
Last Openedbefore, after, neverlast_opened after 7 days ago
Last Clickedbefore, after, neverlast_clicked never
Bouncedis true, is falsebounced is false

Custom Metadata

Filter on any custom field stored in contact metadata:
FieldOperatorsExample
metadata.planequals, containsmetadata.plan equals pro
metadata.countryequalsmetadata.country equals US
metadata.signup_sourceequalsmetadata.signup_source equals landing_page

Match Types

Choose how multiple conditions combine:
Match TypeBehaviorSQL Equivalent
AllContact must match every conditionAND
AnyContact must match at least one conditionOR

Example: Engaged Pro Users

Match type: All
  • status equals subscribed
  • metadata.plan equals pro
  • last_opened after 30 days ago
  • gender equals female
This segment includes only female pro users who are subscribed and opened an email in the last 30 days.

Using Segments with Broadcasts

When creating a broadcast:
  1. Select your audience
  2. Optionally filter to a specific segment
  3. Only contacts matching the segment conditions will receive the broadcast
Create an “Engaged” segment (opened in last 30 days) and a “Cold” segment (no opens in 90+ days). Send re-engagement campaigns to cold contacts and product updates to engaged ones.

Segment Count

Each segment shows a cached contact count — the number of contacts currently matching. This count updates automatically when:
  • New contacts are added to the audience
  • Contact data changes (metadata, status, activity)
  • The segment is viewed in the dashboard

Best Practices

Create basic segments first: Active (opened in 30 days), Inactive (no opens in 90 days), Bounced. These cover most use cases.
Store plan type, signup source, company size, or any custom attribute in contact metadata. Then segment on these fields for targeted campaigns.
Use the gender enrichment API to detect contact gender, then create gender-specific segments for personalized campaigns.
Avoid segments with more than 5–6 conditions. If you need complex targeting, create multiple segments and test each one’s performance.