Skip to main content

Hi there I would like to pull custom data from an existing customer profile into a flow email. I am trying to pull in the first line of the address which is written under a variable called address1 was written to the profile via an API however when I use {{ address1 }} in my flows it doesn’t appear. Can anyone help?

Hi @DF2008,

Thanks for sharing this question with the community.

You'll want to use this tag {{ person|lookup:'$address1' }} ​ to pull the street address. The general rule of thumb for profile properties is to use "$" in the person|lookup tag as we did with the address. For example, for $source and $country, you would use the same format, unless outlined with a different format (i.e. for first name without the “$” ), as described in our documentation here.

You may also want to include a default filter i.e. {{ person|lookup:'$address1'|default:’unknown’ }}

In this case, if there is no address available, Klaviyo would display “unknown” in place of the address.

I hope that is helpful!


Reply