Segments in Adapty Mail

A segment is a reusable audience slice. You define it once — in Segments — and reference it from flows and A/B tests. Segments are filter definitions, not snapshots: they’re evaluated on demand when a flow trigger fires, so membership always reflects the latest profile data.

Create a segment

  1. In Adapty Mail, go to Segments and click + Create. The create page opens with the title New Segment.
  2. Give the segment a Name (required) and an optional Description.
  3. Under Filters, click Add filter for each rule you want. Each filter becomes a collapsible card labeled Filter 1, Filter 2, and so on.
  4. For each filter, pick a field, pick an operator, and enter the comparison value.
  5. Save the segment.
Important

Filters are combined with AND — a user must match every filter to be in the segment. OR logic and nested groups aren’t supported. Each field can appear only once per segment; to compare the same field across multiple values, split the logic into separate segments.

New Segment form with Name, Description, and Filters fields

Import a segment from Adapty

Instead of building a segment from filters, you can import an existing audience segment from the main Adapty dashboard.

  1. On the Segments page, click Import.
  2. Review the list. Importable segments show a checkbox and their filter conditions. Segments that can’t be imported are grayed out with the specific reason, such as an unsupported field (for example, Apple Ads attribution data), an unsupported operator, or a subscription state with no Adapty Mail equivalent.
  3. Check the segments you want and click Import.
Import segments dialog with importable segments checked and unimportable segments grayed out with rejection reasons
Important

Import creates an independent copy of the segment’s filters at the time of import — it isn’t kept in sync with the original Adapty segment, and importing the same segment again creates a separate copy each time, since Adapty Mail doesn’t detect duplicates.

Imported segments start in Draft state, the same as segments you build manually, so you can edit their filters right away.

Available filter fields

GroupFieldType
ProfileEmailString
ProfileGenderString
ProfileAgeNumber
ProfileCountryString
ProfileStore countryString
Profile Source IdentitySourceString
Profile Source IdentityCreated atDate
Email confirmationEmail confirmed atDate
Device infoDeviceString
Device infoLocaleString
Device infoOSString
Device infoPlatformString
Device infoApp versionVersion
Purchase stateTotal revenue (USD)Number
Purchase stateSubscription stateString
Purchase stateSubscription sourceString
Purchase stateSubscription storeString
Purchase stateSubscription product IDString
Purchase stateSubscription purchased atDate
Purchase stateSubscription expires atDate
Purchase stateSubscription purchasesNumber
Purchase stateOne-time purchase stateString
Purchase stateOne-time purchase sourceString
Purchase stateOne-time purchase storeString
Purchase stateOne-time product IDString
Purchase stateOne-time purchased atDate
Purchase stateOne-time purchasesNumber

Device info fields are filled only when your entry point sends them. Send data via the API covers what that payload carries.

Email confirmed at is set when the recipient confirms their address through double opt-in.

Source values for Source, Subscription source, and One-time purchase source: Adapty, FunnelFox, FunnelFox Billing, Custom (API).

Subscription state values: Never purchased, Subscribed, Auto-renew off, Billing issue, Grace period, Expired, Refunded.

One-time purchase state values: Never purchased, Purchased, Refunded.

Operators available per field type:

  • String: equals, not equals, is set, is not set.
  • Number: equals, not equals, less than, greater than, less than or equal, greater than or equal, between, is set, is not set.
  • Date: equals, not equals, before, after, on or before, on or after, between, is set, is not set.
  • Version: the same comparisons as Number, applied in version order — 1.10.0 ranks above 1.9.0.

The All Users system segment

Adapty Mail ships with a built-in All Users segment that has no filters — every user in the project qualifies. You can’t edit or delete it. A flow with All Users always goes last among the flows of its purpose (see Flows for the priority rule).

Lifecycle

A segment’s state is calculated from the flows that use it now:

  • Draft: No flow uses it. A segment goes back to draft when you delete its last flow. A draft A/B test that names the segment doesn’t change its state.
  • Live: A flow uses it.
  • Archived: Soft-deleted and hidden from the main list.

The Segments page has a state filter in the toolbar so you can narrow the list to any of these states.

Edit and delete a segment

  • Name and description: Editable unless the segment is archived.
  • Filters: Editable while the segment is a Draft. While a flow uses it, the filters are read-only. To change the targeting of a flow, create a segment with the filters you need, then replace the flow.
  • Delete: Soft-deletes the segment. You can’t delete a segment while a flow uses it, or while an A/B test that isn’t finished names it, a draft included. Delete those flows, and finish or delete those A/B tests, first.

Limitations

  • No OR logic, no nesting: Filters combine with AND only.
  • One field per segment: A segment can’t have two filters on the same field (for example, two country checks).
  • No size preview: The editor doesn’t show how many users currently match the filters.
  • Filters locked after first use: Only a Draft segment’s filters can change. Any segment that has been used is read-only except for its name and description.