Unable to personalize an if and else condition for api triggered campaign in AJO Email templates | Community
Skip to main content
Level 2
November 7, 2025
Solved

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

  • November 7, 2025
  • 1 reply
  • 130 views

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 reply

SatheeskannaK
Community Advisor
SatheeskannaKCommunity AdvisorAccepted solution
Community Advisor
November 7, 2025