Expand my Community achievements bar.

Join us on September 25th for a must-attend webinar featuring Adobe Experience Maker winner Anish Raul. Discover how leading enterprises are adopting AI into their workflows securely, responsibly, and at scale.
SOLVED

Add unique Coupon to email in AJO

Avatar

Level 4

Hello, 

 

I have a client that has 100K unique (1x use only) Coupon Codes to 100K profiles. We only want to append 1 unique coupon code  to a profile. No 1 coupon code should exist across more than 1 profile; it should be a 1:1 append. 

 

How can I accomplish this in AJO since they don't have a Coupon Management component? 

 

Please advise

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Couple of options - 

If you have a REST API service which can return a coupon code for every request made, the same can be configured in custom actions and custom action response can then be used in emails for personalization https://experienceleague.adobe.com/en/docs/journey-optimizer/using/configuration/configure-journeys/... 

 

Other way is to have a csv file containing the mapping of coupons to profiles and using custom upload audiences for targeting and personalization https://experienceleague.adobe.com/en/docs/journey-optimizer/using/audiences-profiles-identities/aud... 

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Couple of options - 

If you have a REST API service which can return a coupon code for every request made, the same can be configured in custom actions and custom action response can then be used in emails for personalization https://experienceleague.adobe.com/en/docs/journey-optimizer/using/configuration/configure-journeys/... 

 

Other way is to have a csv file containing the mapping of coupons to profiles and using custom upload audiences for targeting and personalization https://experienceleague.adobe.com/en/docs/journey-optimizer/using/audiences-profiles-identities/aud... 

Avatar

Level 1

@Mohan_Dugganab - Is it possible to use the audience created by import option in AJO?

Avatar

Level 2

Yes. However, you would still need to load it back into AJO and map it to an existing schema. I exported the list I needed from my core data schema, making sure to include the Primary Key. I appended the coupons and loaded the list back into AJO, mapping back to the main data schema on Primary Key and the coupon attribute field on my schema. I was able to then send the email with the unique code. 

 

I believe the best method is the API method, much cleaner - but I didn't have time to build out the process, so this was the quick down and dirty.