docs

Liquid Filters in PR Automation

Supported Liquid filters for use in PR Automation templates

Liquid Filters in PR Automation

PR Automation in Plural uses the Liquid templating engine to generate templates. In addition to the standard Liquid filters, Plural provides a set of custom filters that can be used in your templates.

Supported Filters

Plural supports a wide range of Liquid filters in PR Automation templates, including:

  • String manipulation (e.g., abbrev, trim, upper, lower)
  • Mathematical operations (e.g., add, sub, mul, div)
  • Date formatting (e.g., date, dateInZone, dateModify)
  • Data structure manipulation (e.g., keys, values, pick, omit)
  • Encoding/decoding (e.g., b64enc, b64dec, urlquery)
  • And many more

For a complete list of supported filters and detailed documentation for each, see our Liquid Filters documentation.

Using Filters in Templates

Filters can be used in your Liquid templates to transform data. Here's a simple example:

liquid
{{ context.name | upper }}

This would convert the context.name value to uppercase.