Use the decodeURI helper to convert a URI-encoded string into its decoded form. This is especially useful when you need to process data that contains URL-encoded spaces, symbols, or other special characters.
{{{decodeURI field}}}
-
field: The field or string containing the URL-encoded text (e.g.,
record.ordersor a literal like"overseas%20order%20flow").
Note
Note: This helper often appears with triple braces ({{{ }}}) to ensure you’re getting the raw decoded text without any additional formatting or escaping.
-
Decoding a field containing URI-encoded data
{{{decodeURI orders}}}If
ordersis"overseas%20order%20flow", the output becomes"overseas order flow". -
Decoding a literal URI
{{{decodeURI "overseas%20order%20flow"}}}Produces the same decoded string:
"overseas order flow".
Tip
-
Use triple braces (
{{{ }}}) when decoding URIs to avoid automatic encoding or quoting of the decoded result. -
If the input is already decoded or is not a valid URI-encoded string, the helper simply returns the original text.
-
Combine
decodeURIwith other helpers (likeencodeURIorbase64Encode) only if you fully understand how they transform text.Use the triple-brace{{{decodeURI}}}helper to decode a URI-encoded string. This will convert encoded characters (e.g.,%20) back to their standard textual representations (e.g., spaces).