Just wanted to share with you the output of an hour of work involving Klaviyo support. Because it doesn’t seem to be well documented. And it’s not been tested rigourously enough so that’s my disclaimer.
For the show/hide conditional logic on a text block, we can use
person|lookup:'first_name'
as the criteria. On the first version of this block we will then write the paragraph with
Hey {{ first_name|default:''|title }},
as the start. Then we will duplicate the block and put this code below in its conditional settings.
first_name=""
This time we will start the sentence out as if there is no first name.
If this works properly, then I prefer it to the built-in method because we can address the sublteties of grammar this way.