All Collections
CRM & integrations
How to use liquid syntax to display perfect intent and enable sales teams
How to use liquid syntax to display perfect intent and enable sales teams
Updated over a week ago

One of Lonescale's secret weapons is conditional text and logic to personalize the results you want to display in your tools (and the icebreakers).

You can use logical comparators to create dynamic message flows and push the result in your tools (Salesforce, Hubspot, etc).

Example of a result within Salesforce

{{% if outbound_context %}Outbound: {{outbound_context}}{% else %}{% endif %}
{% if count_category_CRM>3 %}High score{% else %}{% endif %}


This code is looking for:

  1. the existence of outbound_context.
    If it exists, it will display the text "Outbound:" then the content of the outbound_context variable.
    If it's empty, it will display nothing.

  2. Then, check if the category CRM count is greater than 3.
    If yes, it will display a "high score".

  3. If it's empty, it will display nothing.

    Here are all the operations that work



How to use liquid syntax to create a powerful copy:

{% if outbound_context %} 🚀 Outbound context:
{{outbound_context}}{% else %}{% endif %}

{% if keywords_category_CRM '==' "salesforce" %} {{company_namer}}'s CRM is Salesforce {% else %} They don't use our partner Salesforce {% endif %}


Potential Errors
- Make sure you've closed all the curly braces correctly
- Ensure you've used single quotes around the operator
- Confirm that the text you've input matches the condition you want it to show for

Did this answer your question?