Skip to main content
Segments let you create named groups of contacts that can be targeted in campaigns and used as triggers in workflows. There are two types: Dynamic and Static.

Dynamic segments

Dynamic segments evaluate a set of filter conditions against your contacts in real time. Membership is kept up to date automatically as contact data and events change. You can filter on:
  • Contact fields (email, subscribed, custom data fields like data.plan)
  • Contact dates (createdAt, updatedAt)
  • Custom events (event.signed_up, event.purchased, …)
  • Email activity (email.opened, email.clicked, email.bounced, …)
Conditions can be combined with AND/OR logic and nested into groups for complex rules.

Static segments

Static segments are manually curated lists. Membership does not change automatically. You decide exactly who is in the segment. This is useful for beta testers, event attendees, or lists imported from external sources.

Creating a segment

Go to Segments in the dashboard and click Create Segment. Use the toggle at the top to choose Dynamic or Static. For dynamic segments, use the filter builder to define your conditions. Mailrify shows a live count of matching contacts. For static segments, you can optionally add initial members right away using contact search. Start typing an email address and select contacts from the list.

Managing static segment members

Open a static segment and use Add Members to find and select contacts. Search only returns contacts in your project, so you cannot add non-existing contacts. Contacts already in the segment are shown as existing members. To remove a member, use the remove action in the members list.

Track membership changes

Both segment types support Track membership changes. When enabled, Mailrify fires webhook events each time a contact enters or leaves the segment:
  • segment.trial-users.entry — contact joined the segment
  • segment.trial-users.exit — contact left the segment
Where trial-users is derived from the segment name. See Webhooks for the full event payload.

Using segments

Segments can be used in:

Managing members via API

To manage static segment membership programmatically, see API Reference: Segments, Add static segment members, and Remove static segment members.