Solved

How do I add a persons name into the email as a greeting?

  • 31 August 2021
  • 1 reply
  • 1260 views

Badge +3

HI. I would like to send an email to my VIP ‘s but I want the email to start with 

Hi “persons name” 

But I cant see how to do this and I have been googling to no avail as well. Anyone know? thanks

icon

Best answer by Bobi N. 31 August 2021, 09:17

View original

1 reply

Userlevel 7
Badge +40

@Julenaworld 

the default is {{ first_name|default:''|capfirst }} which will take persons name from your account and use it instead.. but in case the subscriber doesn’t have a name in your klaviyo account you can use some word to use that instead if the name is not available.. 

People usually use Customer or Friend or something like that.. and the code for that is simple for example {{ first_name|default:'Friend'|capfirst }}.. whatever you like the word to be just add it between '' in the code.. so in this case.. if subscriber has a name this code will use their name and if they don’t have the name it will say Hi Friend instead..

Reply