Skip to main content

Liquid functions support in destination mappings is now Generally Available.

We’ve introduced liquid functions support in the mappings dropdown, allowing you to apply LiquidJS tags and filters to clean, format, or conditionally transform event data like user properties, timestamps, or metadata. This feature empowers you to tailor data to match the exact requirements of downstream tools with ease!


Key highlights include:

  • 🏷️ Supported liquid tags: Includes if, else, elsif, unless, case, when, assign, capture, increment, decrement, echo, comment, raw, and liquid for conditional logic, variable assignment, and nested code execution

  • 🌊 Supported liquid filters: Over 40 filters like downcase, upcase, strip, prepend, append, replace, date, json, slugify, and where to manipulate strings, numbers, arrays, and dates

Real-world use cases:

  • Standardize data, e.g., convert emails to lowercase with {{ event.properties.email | downcase | strip }}

  • Format phone numbers, e.g., using filters like remove, prepend, and strip

  • Set default values or apply conditional logic with if/else and default

For more information, check out our docs.

Be the first to reply!