As you build workflows, you’ll often need to use data from one step in a later step. For example, you might get a user’s name from an API call and then want to include that name in an email. This is where Liquid comes in.

What is Liquid?

Liquid is a simple and secure templating language that allows you to insert dynamic content and use logic within your workflow nodes. It acts as the bridge that lets your workflow steps talk to each other and manipulate data on the fly.

Core Concepts of Liquid

Liquid syntax is built on three core concepts. Understanding them will unlock the full power of your workflows.

Objects

Objects are placeholders for data. When the workflow runs, these placeholders are replaced with the actual values from previous steps. They are always wrapped in double curly braces: {{ an_object }}.

Tags

Tags are for logic and control flow. They allow you to create conditions (like if/else) and loops. They don’t produce any visible text themselves but control what text is shown. They are wrapped in curly braces and percent signs: {% a_tag %}.

Filters

Filters are simple methods that modify the output of objects. They are used within an object’s braces and are separated by a pipe character |. You can use them to format text, perform math, and much more.

Where Can You Use Liquid?

You’ll find Liquid most useful in action nodes that handle data, such as:

Next Steps