Skip to main content

How to use Spintax?

Updated over 2 weeks ago

We now support AI Spintax Writer (available to HyperGrowth and Light Speed users) - a powerful feature that automatically adds Spintax to your email copy.

It's always recommended to preview the email to ensure the spintax is functioning as expected.

Creating variations of sentences or words is pretty straightforward and can help you generate even more diverse email bodies for your leads.

{{RANDOM | Hello | Hi | Greetings!}},

Cold email example:

{{RANDOM |Hi | Hello | Hey}} {{firstName}},

I’d love to {{RANDOM |learn | hear | find out}} more about the way you {{RANDOM|handle | manage | deal with}} sales at {{companyName}}. One of our clients, CASE STUDY, managed to {{RANDOM|increase | boost | raise}} their sales by over 20%. If they continue at this rate, they’ll soon close 2x more business than last year.

{{RANDOM|Can I give you a quick call anytime next week to show you more? | Do you have any time this or next week for a quick chat about this? | Do you have any slots open for a quick chat in the coming days to see if we can do the same for you?}}

{{RANDOM | Best, | Regards, | Cheers,}}


Using placeholder values

You can use placeholder values for missing variables.

To use a placeholder value for missing variables, put "{{companyName | your company }}" or "Hi {{firstName | there}}".


Using variables in Spintax

We also support using variables within Spintax.

For example:

{{RANDOM | Pay-Per-Appointment Meetings, {{companyName}} | Quick question {{firstName}} }}

  • Here {{firstName}} can be used inside the spintax.

  • You can also chain them at multiple levels.

    For example, in the following example, if the second random phrase is selected, the system will try to use lastName (if firstName isn't available), and then finally for you if both firstName and lastName are unavailable.

    Example:

    {{RANDOM | Pay-Per-Appointment Meetings, {{companyName}} | Quick question {{firstName | lastName | for you}}}}

    • This selects one random phrase. If the second is chosen, it tries `firstName`, then `lastName`, then uses "for you".

Remember, please test your Spintax in the Email Preview system before launching a campaign.


Using variable data to change your copy

An example would be -

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

This assumes that the lead has a variable called “position” that is set to “founder”.

This is case-sensitive, so the variable name and value need to be exactly the same as what you have in your leads list.

However - the variable “position” needs to be within your email body to actually populate the email. Now you can either place the variable in your email copy somewhere for this to work, or we have a workaround for this - you can basically add the variable "position" at the end of your email copy, and then set it to be hidden in the actual email (so it's part of the HTML, but not visible to the leads in their email)

  1. To start off, you just put your example down in the email copy like so -

  2. And then, switch to 'Code View'

  3. Now, at the bottom of your email copy, just add this line. 

    What this line does, is just add your variable 'Position' (as mentioned before, these variables are case-sensitive both in the conditional logic and in this line) and then set it to be hidden.

<div style="display: none;">{{Position}}</div>

You can also just copy and paste this same line and change the variable name for all such variables as part of your conditional logic. In preview, you'd then see the copy show up with the conditions, but without requiring you to actually have/show the variable in your copy.


​​You can watch the full video walkthrough by clicking the link here.


Advanced techniques with LiquidJS

Please refer to the following article for even more advanced techniques for personalizing your emails for every lead.

Did this answer your question?