Skip to main content

What is Liquid Templating in Workflows?

Liquid templating enables dynamic data handling and conditional logic in your workflow automation. As workflows pass data between steps, Liquid provides the syntax for accessing, transforming, and manipulating that data to create intelligent, responsive automations. Common Liquid use cases:
  • Insert dynamic data into messages and API calls
  • Transform data formats between workflow steps
  • Create conditional content based on workflow data
  • Generate personalized notifications and reports
  • Build complex data structures for API payloads

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 Liquid Syntax: Objects, Tags, and Filters

Liquid templating uses three fundamental syntax elements that work together to create powerful dynamic content:

Objects: Output Dynamic Data

Objects insert dynamic data from previous workflow steps into your content. Use double curly braces to reference data from any previous node in your workflow. Object syntax examples:
  • {{ node_1.user.name }} - Access nested object properties
  • {{ node_2.response.data[0] }} - Reference array elements
  • {{ webhook.body.email }} - Use webhook payload data

Tags: Add Logic and Control Flow

Tags provide conditional logic and loops without generating visible output. Use tags to create intelligent content that responds to workflow data conditions. Tag examples:
  • {% if user.premium %} - Conditional content display
  • {% for item in products %} - Loop through arrays
  • {% case order.status %} - Multi-condition switching

Filters: Transform and Format Data

Filters modify object output using pipe notation. Chain multiple filters together to perform complex data transformations and formatting. Filter examples:
  • {{ name | upcase }} - Convert text to uppercase
  • {{ price | currency }} - Format numbers as currency
  • {{ date | date: "%Y-%m-%d" }} - Format dates
  • {{ text | truncate: 50 | strip }} - Chain multiple filters

Where to Use Liquid in Workflows

Liquid templating works in any workflow node that processes text or data:

Next Steps

I