How can we help? 👋

Automated Syntax (Spin and Liquid)

How to use smarter data in automations and playbooks

Hey Saleshubber (Demand Expert) that are crushing it today ?

Can't wait to have your keyboard create the most brilliant cold emails?  Let's unveil one of our Saleshub secret asset for higher replies and landing in the inbox every time: Spin and Liquid syntax.

Lets start with Spin as it will keep you away from getting hashed and land in the spam folder

Lets go :)

 

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.

How to set a custom greeting for each person to avoid the spam folder it is simple

{% spin 'Hi', 'Hey', 'Hello' , 'Dear' , 'Hallo' , 'Hey There', 'Hi there' %} {{first_name}}

For the Salut end statement where you normally write Best Regards always spin that as well example.

{% spin 'Cheers', 'Best', 'Best Regards' , 'Ciao' , 'Thanks'%} {{first_name}} Or just like a cool intro

Or just like a cool intro

{% spin %} {% variation %} Love it ❤️ {% variation %} That's sooo cool {% variation %} Amazing video {% variation %} You rock Jesper {% endspin %}

For each email Saleshub 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.

 

Liquid Syntax how does it work?

 

The liquid syntax includes many logical and comparison operators :)

Notion image
 

For example

{% if gender == "male" %} Mister, {% else %} Miss,{% endif %}
{% if type == "small business" or type == "1-10" %} We know it's not easy as a small company {% endif %}

Pro tips

If the syntax does not work:

  • check if the braces are well-opened and closed.
  • make sure if you're using a variable that it does not contain any space in it ("myVariable" and not "my Variable").
  • check if the text corresponds well to the variable.

Time of the day sending

To get the day of sending, you have to use the filter "date" with the format "%A". You can check all formats that are supported here.

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

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

 
Did this answer your question?
😞
😐
🤩