Hey Community!
I wanted to share a tip that saves a lot of time for me. I used to get a lot of of failed messages with the reason “customer.first_name is missing”.
I know that there’s a liquid fallback but I don’t speak Liquid language fluently and always forget to put the fallback in place.
{{snippets.greetings}} is a game changer.
What you need to do is to create a snippet with the fallback as the value:
Hi {% if customer.first_name != blank %}{{customer.first_name}}{% else %}there{% endif %},
![](https://uploads-us-west-2.insided.com/customerio-en/attachment/d82701e9-c664-473c-a773-bb58d3ea2404.png)
![](https://uploads-us-west-2.insided.com/customerio-en/attachment/5def72c3-aae5-4566-944d-007b5a0ded5a.png)
In the emails, instead of remembering to type the fallback every time, you will just use
{{snippets.greetings}}!