Relevant to: Demand Acceleration Platform | Content Syndication | Event Lead Management | Webinar Integrations | Social Integrations
You can use Liquid Markup in the Demand Acceleration Platform when setting up outbound integrations and Lead Reports.
Liquid Markup is an open source language that enables a greater level of customization and flexibility to determine system outputs. In many cases list mapping can be used for data customization, but there are some times where small amounts of Liquid Markup code can be beneficial.
This article includes some common use cases for Liquid Markup that solves occasions when list mapping or other out of the box functionality doesn't offer a solution.
Using Liquid Markup to customize system outputs adds an advanced technical element to your integration and/or Leads Report setup. If you intend to utilize more than the common use case below, please first reach out to your Customer Success Manager for advice on set up. |
Access to some report types is based on each user's permissions. You can read more about permissions in User Management Settings. If you are unsure about your permissions, you can speak with our Support team or your Customer Success Manager. |
In this article
Using Liquid Markup
Liquid Markup can be used whenever a Custom Field is added to a Lead Report; the code is added to the Custom column. For instructions, see Customizing Lead Reports - Fields.
Example: Using Liquid Markup
|
Common Liquid Markup Examples
Removing characters
Remove comma characters from a string
{{lead.Field|Escape|Replace: ",",""}}
Example
{{lead.Comments|Escape|Replace: ",",""}}
|
Remove special characters and spaces from a field
{{lead.Field|Remove: '+'|Remove:'-'|Remove:' '}}
Example
{{lead.Company|Remove: '+'|Remove:'-'|Remove:' '}}
|
If/Else statements
If field is empty, pass a defined value. If field is not empty, pass the input value.
{%if lead.Field == "" %}NA{%else%} {{lead.Field}} {%endif%}
Example
{%if lead.Address2 == "" %}NA{%else%} {{lead.Address2}} {%endif%}
|
Using Liquid Markup to customize system outputs adds an advanced technical element to your integration and/or Leads Report set-up. If you intend to utilize multiple if/else statements, please first reach out to your Customer Success Manager for advice. |
Operators
Operators |
Action |
!= |
Does not equal |
== |
Equals |
contains |
Contains |
> |
Greater than |
< |
Less than |
>= |
Greater than or equal to |
<= |
Less than or equal to |
or |
Logical or |
Recommended Reading
- Creating Reports
- Generating & Scheduling Reports
- Lead Reports
- Customizing Lead Reports - Fields
- Customizing Lead Reports - Available Tokens
- Report Types in the Demand Acceleration Platform