Skip to main content
Michael_Soprano
Level 10
Sep 13, 2025 12:01 PM UTC
Solved

Conditions - multiple if statements while choosing email address

Could somebody give me idea how to use multiple if statements in Condition Node? 

 

Additionally has anyone used Condition Node while choosing email address?

Mohan_Dugganab
Mohan_DugganabAccepted solution
Employee
Sep 13, 2025 1:47 PM UTC

Here is an example which can be adapted for your case.

if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'San Jose') then ( #{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address} ) else ( if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'Seattle') then ( #{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address} ) else ( if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'New York') then ( #{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address} ) else ( 'default' ) ) )

2 replies

Mohan_Dugganab
Mohan_DugganabAccepted solution
Employee
Sep 13, 2025 1:47 PM UTC

Here is an example which can be adapted for your case.

if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'San Jose') then ( #{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address} ) else ( if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'Seattle') then ( #{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address} ) else ( if (#{ExperiencePlatform.ProfileFieldGroup.profile.homeAddress.city} == 'New York') then ( #{ExperiencePlatform.ProfileFieldGroup.profile.personalEmail.address} ) else ( 'default' ) ) )
Translate
Michael_Soprano
Level 10
Sep 15, 2025 9:28 AM UTC

Works. Thanks mate!

Translate