1. Docs
  2. Formulas
  3. Functions

UNZIP

Extracts files from a ZIP archive.

Categories: Data Parsing/Conversion

Syntax

UNZIP(zip_data, [password])

Examples

Example 1

Formula

UNZIP(BASE64_DECODE(input.zip_data), 'optional_password')

Output

1
[
2
{
3
"filename": "test_filename",
4
"content_type": "application/octet-stream",
5
"guid": "2634c668-7066-47e5-ad01-ed77781d5daf",
6
"md5": "ccc55aefbf92aa66f42b638802c5e7f6",
7
"sha256": "623447b85d372251f3ffce2602e142b25ba40ee641821beabe6e14530d1cdd49",
8
"sizeinbytes": 13,
9
"base64encodedcontents": "dGVzdF9jb250ZW50cw==",
10
"path": "test_filename"
11
}
12
]

Sample actions

Event Transform
UNZIP
Event Transform
My Action
Event Transform
My Action

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?