Customize your Destination messages with Liquid templating

In order to further customize how you want your alerts and notifications to appear in your Destinations, some Destination fields support Liquid templating. Liquid allows you to include specific data values directly in their content.

Here's an example of using Liquid templates in the Slack destination:

mceclip1.png

And here is how it would appear in Slack:

mceclip2.png

All of the fields below are available for use in Destinations. To include, simply wrap the attribute in {{}}. For example, including company name would simply look like {{company.name}}.

You can add Liquid templates in the following locations:

Destination metadata

Here are the available data that you can insert with the Liquid templates.

Variable Type
destination.id UUID
destination.segment_id UUID

 

Company Data

Variable Type
company.name string
company.domain string
company.employees_range string
company.estimated_annual_revenue string
company.industry string
company.location string
company.country string
company.country_code string
company.state_code string
company.tech array
company.logo string
company.facebook_handle string
company.linkedin_handle string
company.twitter_handle string
company.last_visit_at datetime
company.last_path string

 

What's next?

If you've already setup a destination, check out some example segments for more ideas on how to use Clearbit X!