Heeeeey lemlister! πŸ‘‹

Can't wait to have your keyboard clattering brilliant cold emails? Let's unveil one of our lemlisters' secret asset: liquid syntax.

Let's go!

😲 How does it work?

The liquid syntax includes many logical and comparison operators.

For example πŸ‘‡

{% if gender == "male" %}Hello mister,{% endif %}

{% if gender == "male" %} Mister, {% else %} Miss,{% endif %}

With a Buddy-to-Be that has custom variable position. πŸ‘‡

{% if position == "founder" %} As founder, you have to lear to delegate. {% endif %}

You can use multiple operators in a tag. πŸ‘‡

{% if type == "freelance" or type == "smb" %} We know it's not easy as a small company {% endif %}

βš—οΈ What can I do with it?

πŸŒ€ Spin syntax

With spin syntax, you will be able to get multiple variations of a sentence that will be picked up when the email is sent.

{% spin %} {% variation %} I really want to talk with you. {% variation %} I think we should meet. {% variation %} What if we take a coffee. {% variation %} I really like your shoes. {% endspin %}

For each email lemlist will send, it'll pick one of those variations. You can see the result in the Preview panel, each time you open it, the sentence in the preview will change.

πŸ—“ Get the day of sending

To get the day of sending, you have to use the filter "date" with the format "%A". You can find other formats here.

lemlister tip πŸ’‘ Don't forget to replace {{ }} with {# #} as a double curly bracket is already used in lemlist for custom variable syntax.

{# "now" | date: "%A" #} 

If you want to use other formats you can take a look at the strftime page.

If you want to display the date in another language than English, you can use a "case" like this:

That's it my lemlister, you're now familiar with this liquid syntax we love. Of course, feel free to ask for some help through the chat if you'd like to have some. πŸ€—

Enjoy ❀️

Did this answer your question?