BASE64_DECODE

Decode Base64 encoded text. By default this complies with RFC 4648. Set strict: FALSE for RFC 2045 compliant decoding (for example to handle improperly padded base64 strings).

Syntax 

BASE64_DECODE(text, [strict: TRUE])

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "SGVsbG8gd29ybGQ="
4
}
5
}

Formula

BASE64_DECODE(my_action.message)

Output

"Hello world"

Example 2

Input

1
{
2
"my_action": {
3
"malformed_base64": "SGVsbG8gV29ybGQ=="
4
}
5
}

Formula

BASE64_DECODE(my_action.malformed_base64, strict: FALSE)

Output

"Hello World"

Sample Actions 

Event Transform
My Action
Event Transform
BASE64_DECODE

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?