BASE64_ENCODE

Encode text or objects using the Base64 encoding algorithm. Objects are automatically converted to JSON strings before encoding.

Syntax 

BASE64_ENCODE(text_or_object)

Usage examples 

Example 1

Input

1
{
2
"my_action": {
3
"message": "hello world"
4
}
5
}

Formula

BASE64_ENCODE(my_action.message)

Output

"SGVsbG8gd29ybGQ="

Example 2

Input

1
{
2
"my_action": {
3
"object": {
4
"message": {
5
"body": "Hello World!",
6
"from": "Tines",
7
"to": "World"
8
}
9
}
10
}
11
}

Formula

BASE64_ENCODE(my_action.object)

Output

"eyJib2R5IjoiSGVsbG8gV29ybGQhIiwiZnJvbSI6IlRpbmVzIiwidG8iOiJXb3JsZCJ9"

Sample Actions 

Event Transform
My Action
Event Transform
BASE64_ENCODE

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?