For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

Use filters when you need to transform a value with the pipe syntax: {{ value | filterName(...) }}.

Filter categories

  • JSON and structured datatoJson, toIon, jq
  • Numbers and collectionsabs, number, first, last, sort, chunk, distinct, and more
  • Stringslower, upper, replace, slugify, base64encode, regex filters, and more
  • Datesdate, dateAdd, timestamp, timestampMilli, and precision variants
  • YAMLyaml, indent, nindent

Choosing the right filter quickly

If you need to…Use
Parse or transform JSON payloadstoJson, jq, first
Provide a fallback string or valuedefault
Format a datedate
Offset a datedateAdd
Split or join textsplit, join
Normalize casinglower, upper, title, capitalize
Convert a value to a stringstring
Sort a collectionsort, rsort
Count items in a collectionlength
Get unique valuesdistinct
Encode or decode Base64base64encode, base64decode
Hash a stringsha1, sha512, md5
Convert to a numbernumber
Render YAML in a templated taskyaml, indent, nindent

Was this page helpful?