Expand my Community achievements bar.

SOLVED

Alternate Solution form IF/ELSE

Avatar

Level 4

Hi @dugganab @SatheeskannaK  @Anuhya-Y @arpan-garg @Ivan_Mironchuk 

I have to deliver a personalized message in the email body in a scenario where I have 50 different names. Is there another approach we can use instead of IF/ELSE, or is there a method we can optimize the IF/ELSE Condition?

MYSTERIOUSMAN_0-1714736919507.png

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

@MYSTERIOUSMAN 

Try to incorporate the offer decision in the email.

Create 50 offers with suitable representations/content and eligibility. Create a decision scope and associate 50 offers, calling the decision scope in email.

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/offer-decisioning/create-manage-a...

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/offer-decisioning/get-started-dec...

  

 

View solution in original post

6 Replies

Avatar

Level 4

Yes, but it can take a while to create different templetes for 50 or more people.

Avatar

Employee Advisor

I'm not sure i properly understand your usage here. Is the attribute coming from an event payload? Why is the name not part of that payload directly? 

 

Avatar

Level 4

yes the attribute value is comming form event payload but we want to apply the IF/ELSE condition based on diffrent value 

Avatar

Level 4

i have one doubt in Email activity(content) size limit is 100kb it will not increse if i make that much of varients in it becasue i have other block also other then this 

Avatar

Correct answer by
Community Advisor

@MYSTERIOUSMAN 

Try to incorporate the offer decision in the email.

Create 50 offers with suitable representations/content and eligibility. Create a decision scope and associate 50 offers, calling the decision scope in email.

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/offer-decisioning/create-manage-a...

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/offer-decisioning/get-started-dec...