if statement on custom properties in EmailSOLVE
I am trying to send a transactional email with Hubspot.
This email is HTML+Hubl and for some reason my If statement is not working as expected.
So we are sending a custom.properties sometimes with content to render and sometimes not.
so first I thought: Let's try to check if this property "is defined",
unfortunately, the API make mandatory to receive this custom property so "is defined" does not work.
Then I thought let's always send something but when I have no content, set this property to "null" or false or a string.
Then I tried to test if my property is one of those and it is not working...
I am lost, does someone has any idea?
Solved! Go to Solution.