Conditional statements for first name tags if blank or incorrect

  • 19 April 2022
  • 1 reply

Badge +5


I am trying to personalize my email campaigns, but some customers first names are either “Unknown Customer”, blank or have been mass-imported incorrectly with first name “bc”. How can I hide the text block from people with incorrect first names and show them a generic message instead, for example:

Hey Jessica!  vs  Hey Swimmer!

I have found the blog post that outlines this, but can’t seem to get it to work for both blank and incorrect names.





Best answer by Taylor Tarpley 20 April 2022, 16:45

View original

1 reply

Userlevel 7
Badge +59

Hi there @eztestbrooke


Welcome to the Community, happy to help! 


I would recommend using if statements for this issue! You can create the logic using our documentation that if a first name is ‘Unknown Customer’ or ‘bc’ then show > ‘Swimmer’. However, you’ll also need to create a default filter as well if there is no recorded name at all for a subscriber.


Additionally, I’d check out these similar Community topics on the same issue to gain more insight! 


Thanks for participating in the Community!