Get startedSign in

Liquid Filters in PR Automation

Supported Liquid filters for use in PR Automation templates

Liquid Filters in PR Automation

PR Automation in Plural uses Liquid templating engine for generating 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 that can be used in your PR Automation templates. These filters include:

  • 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, please refer to 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.