Conditions - multiple if statements while choosing email address | Community
Skip to main content
Michael_Soprano
Level 10
September 13, 2025
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
September 13, 2025

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
September 13, 2025

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
September 15, 2025

Works. Thanks mate!

Translate