Skip to main content
Availability of this feature depends on your MoEngage plan and may require a paid add-on. To check what’s available for your plan, refer to Plans and Pricing. To get this feature, contact your MoEngage Customer Success Manager (CSM) or the Support team.
Warehouse segments enable you to create segments on MoEngage based on data from your data warehouse without the hassles of copying or moving it to MoEngage. Let’s say that your brand wishes to offer exclusive discounts to loyal shoppers based on an engagement score that is computed with your proprietary logic. This data is stored and accessible only from your data warehouse. With Warehouse segments, you can access this data from the warehouse directly, build an audience on MoEngage, and send a campaign from MoEngage within a few clicks. Because the data stays in your warehouse, you get access to it without syncing delays, and it remains inside your own security and compliance boundary.

How to Set One Up

1

Connect your data warehouse

Grant MoEngage read access and set up the connection. The steps differ by warehouse. Required for both methods below.Connect Your Data Warehouse
2

Choose how you define the audience

Write a SQL query, or build the segment from dropdown filters. See the comparison below.
3

Map your warehouse schema (filters only)

To use the filter builder, map your warehouse tables to MoEngage users, events, and attributes in Settings.Warehouse Schema

Two Ways to Define a Warehouse Segment

Both methods run against your warehouse and produce a custom segment you can target with a campaign. Use filters for everyday audience building. Use SQL when your logic needs aggregations or transformations the filter builder does not cover.

In This Section

Connect Your Data Warehouse

Grant read access and save a connection for BigQuery, Snowflake, Databricks, or Redshift.

Create a Segment Using SQL

Write a query that returns user IDs and save the result as a custom segment.

Create a Segment Using Filters

Build an audience from dropdown filters, with no SQL required.

Warehouse Schema

In Settings. Map your warehouse tables to MoEngage users, events, and attributes.