I found this article:
https://help.klaviyo.com/hc/en-us/articles/4408802648731
This syntax is super bizarre, but setting that aside, it which indicates a way to not only use nested variables, but to then have multiple fallbacks it seems.
Assume I have a 2 user profile properties, one is nested and other is not:
"Custom Domains": {
"Enabled": true,
"Url": "foo.com"
},
"Shop Url": "bar.com"
However, i’m having problem with these personalization templating:
{{ person|lookup:"Custom Domain"|lookup:"Enabled"|default:"not found"}}
{{ person|lookup:"Custom Domain"|lookup:"Url"|default:"not found" }}
{{ person|lookup:"Custom Domain"|lookup:"Url"|person|lookup:"Shop Url"|default:"not found" }}
Am I interpreting the docs wrong and we cannot use nested properties? It’s a total pain to not have the UI expose nested props correctly.