Add unique Coupon to email in AJO | Community
Skip to main content
Level 4
December 5, 2024
Solved

Add unique Coupon to email in AJO

  • December 5, 2024
  • 1 reply
  • 920 views

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

Best answer by Mohan_Dugganab

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/action-journeys/action-response#response-in-journey 

 

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/audiences/about-audiences 

1 reply

Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
Adobe Employee
December 6, 2024

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/action-journeys/action-response#response-in-journey 

 

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/audiences/about-audiences 

May 28, 2025

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

Level 2
May 28, 2025

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.