Skip to main content
A segment tells you who the customers are. An Enrich block adds what you know about them, so the file you export carries the details you need. This page finds the customers who shopped in one store in the last 14 days, adds their gender and date of birth, and exports the result as a CSV file.

What you’ll build

The Member segment picks out the customers, Enrich adds a column for each detail, and the Channel block writes the result to a file. Nothing reaches the customers, so you can run it for real.

Segment rules

Build the segment

  1. Open the campaign’s Orchestration view. To start a new campaign there, see Create a campaign.
  2. From Segment in the Block library, drag Member segment onto the canvas.
  3. Double-click it and choose From Scratch.
  4. Enter a Member segment name, then open Segment attributes.
  5. Add Store name with In and the store, and Purchase date with Between, Float, From 14 and to 0.
  6. Select Save.

Add an Enrich block

  1. From Operators, drag Enrich onto the canvas, and connect the Member segment to it.
  2. Double-click it. Add data enrichment opens.
  3. Enter a Name and a Description, such as Gender and date of birth.
  4. Select Add elements. In Select elements, tick the table that holds the customer’s profile, such as Membership. Then tick its Gender and Date of birth columns.
  5. Select Add elements to add them.
  6. Tick Do not remove member without result.
  7. Select Save.
The tables and columns in Select elements are the ones set up for your data, so their names can differ from these. Each element you add shows as a row in the Elements table, and becomes one column in the result. The file uses the element’s Name from that table as the column heading.
Do not remove member without result is unticked by default. Tick it. Otherwise, Enrich drops every customer with no details on file, such as no gender or date of birth. It shows no error.
With the box ticked, those customers stay in the result with an empty value.

Export the result

  1. From Activity, drag Channel onto the canvas, and connect the Enrich block to it.
  2. Double-click it. Configure channel opens.
  3. Enter a Name, and choose Export to CSV under Location.
  4. Select Save.
Block reference lists the other places a Channel block can send the result.

Check the result

  1. Open the chevron beside Publish on the Member segment and choose Execute, then confirm. The flow runs once, straight away.
  2. The canvas switches to History, with the run selected. Wait for it to show Done.
  3. Select View more on the run’s card. Under its files, select Download CSV.
The file has one row per customer. The first column holds the customer’s member ID, and then there’s one column for each element you added. Select each block on the canvas to compare their Count. If Enrich has fewer customers than the Member segment, Do not remove member without result wasn’t ticked when the flow ran.

Variations

Last modified on October 23, 2026