Personalization on Array attributes | Community
Skip to main content
_abhishek_
Level 3
June 17, 2024
Solved

Personalization on Array attributes

  • June 17, 2024
  • 1 reply
  • 860 views

The way the schema's are created in One profile to multiple account(1:N). So when it comes to personalization, how to put condition over an array for personalizing in the communication(Email, SMS).

 

We want to target customer whose Balance = 0, and personalize there Email/SMS with the Account Number in the content. From the below SS, 2 records qualify for this condition. When it comes to personalization on account level, which account does it take, is it acc456 or acc102?

 

How this can be achieved?

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Mohan_Dugganab

Each helper https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalization/functions/helpers#each can be leveraged here to iterate over multiple accounts and if you give a condition to select only those accounts where balance = 0, it will return you both.

 

You can then apply additional logic (using let function) to select one of the two values returned.

1 reply

Mohan_Dugganab
Adobe Employee
Mohan_DugganabAdobe EmployeeAccepted solution
Adobe Employee
June 17, 2024

Each helper https://experienceleague.adobe.com/en/docs/journey-optimizer/using/content-management/personalization/functions/helpers#each can be leveraged here to iterate over multiple accounts and if you give a condition to select only those accounts where balance = 0, it will return you both.

 

You can then apply additional logic (using let function) to select one of the two values returned.