Expand my Community achievements bar.

Never miss an update of the Adobe Journey Optimizer Community Lens! Subscribe now to get the latest updates, insights, and highlights delivered straight to your inbox every time a new edition drops.
SOLVED

Unable to personalize an if and else condition for api triggered campaign in AJO Email templates

Avatar

Level 2

How to define/personalize an if-else condition in an AJO API Trigger Campaign email template to return the values of {{context.make}} and {{context.model}} only if they exist(true). If only one exists(true), return that one; if both exist(true), return both.

{ "context":
{
“make” =“true”,
"make"= "a",
  ”model”=“true”,
"model"="b" } }

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
1 Reply

Avatar

Correct answer by
Community Advisor