Skip to main content
New Participant
May 3, 2024
Solved

Alternate Solution form IF/ELSE

  • May 3, 2024
  • 2 replies
  • 1153 views

Hi @mohan_dugganab @satheeskannak  @anuhya-y @arpan-garg @ivanmi1 

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?

 

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 Anuhya-Y

@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-activities/create-offer-activities

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/offer-decisioning/get-started-decision/offers-e2e#insert-decision-in-email

  

 

2 replies

Anuhya-Y
Anuhya-YAccepted solution
New Participant
May 8, 2024

@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-activities/create-offer-activities

https://experienceleague.adobe.com/en/docs/journey-optimizer/using/offer-decisioning/get-started-decision/offers-e2e#insert-decision-in-email

  

 

Mohan_Dugganab
Employee
May 3, 2024
New Participant
May 3, 2024

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

Employee
May 3, 2024

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?