Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Coupon codes mapping

Avatar

Level 1

HI Community,

 

I have a csv file that contains unique coupon codes, within a campaign I have to assign a unique code as per the customer.

can anyone please let me know how can I achieve it using enrichment

 

 

3 Replies

Avatar

Level 3

Hi @sah_,

 

When you load the CSV using the Data Loading (file) activity, just skip selecting a schema — Campaign will automatically create a temporary table for you behind the scenes. This is great if you don’t need to store the coupons long-term or reference them later.

Here’s how you can handle the unique assignment using enrichment:

1. Load the CSV file with coupon codes (as a temporary table).
2. Add a Row Number in the enrichment step to both:

- Your recipient data
- The loaded coupon data

*Use this RowNum() function*

Rch__0-1756395314347.png

 


3. Join the two datasets using the row number (1st row to 1st row, 2nd to 2nd, etc.)

This way, each customer gets exactly one coupon — no custom schema needed.

 

Thanks,

 

 

Avatar

Level 1

Hi @Rch_ 

 

Thank you for your response

Can you please attach some snaps of point 3

Avatar

Level 3

Hi @sah_,

 

For 3rd point it will be like creating a link between those row number. Attaching snip as well:

 

Rch__0-1756398693072.png

 

Thanks,