Skip to main content
Solved

Help with {{Custom variables }} inserted into Klaviyo notifications emails


Forum|alt.badge.img+1

Hi there,

I created a form that I’d like to place on my website for customers who are interested in collaborating with us. The form will collect basic and custom properties. From there, I’ve set up a flow that will notify team members that someone has filled out the form. I’d like the email to populate all of the information a customer has provided and the selections they made from a multi checkbox field.

 

How do you populate an email notification with only the selections a customer has made within a multi checkbox field from a form? I have tried multiple things, but nothing populates.

 

My multi checkbox field contains four different custom properties. I have tried the following and both have not worked:

  • {{ event|lookup:'XXX' }}
  • {{ person|lookup:'XXX' }}

 

The current email reads as such. The text in red is the only thing not working: 

 

Name: {{ first_name }} {{ last_name }}

Email: {{ email }}

Instagram: {{ person|lookup:'Instagram' }}

TikTok: {{ person|lookup:'TikTok' }}

Opportunities they're interested in:

  • {{ event|lookup:'Photo Ambassador' }}
  • {{ event|lookup:'Affiliate' }}
  • {{ event|lookup:'Social Feature' }}
  • {{ event|lookup:'Blog Feature' }}

Additional Feedback:

{{ person|lookup:'Tell Us Any Additional Thoughts' }}

 

Please help. Thanks!

Best answer by bluesnapper

Hi @aeparillo 

I’ve given an example below which works and is a multi checkbox for interests in my form.

The notification email in the flow should have  {{ person|lookup:'interest' }} to display the values your contact selects in the multi checkbox.

In my example. the interests are captured in a profile property ‘interest’.

Hope that helps

Andy

 

 

 

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

bluesnapper
Partner
Forum|alt.badge.img+45
  • Champion & Partner
  • 735 replies
  • Answer
  • August 30, 2023

Hi @aeparillo 

I’ve given an example below which works and is a multi checkbox for interests in my form.

The notification email in the flow should have  {{ person|lookup:'interest' }} to display the values your contact selects in the multi checkbox.

In my example. the interests are captured in a profile property ‘interest’.

Hope that helps

Andy

 

 

 


Forum|alt.badge.img+1
  • Author
  • Contributor I
  • 2 replies
  • August 31, 2023

This worked! Thank you.