Skip to main content

Archive: Zip

Bundle the incoming file(s) into a single ZIP archive (Deflate compression). Duplicate entry names are de-duplicated by appending a counter before the extension (report.txt, report_1.txt, report_2.txt, ...).

Parameters

Archive name

Name of the produced archive. Defaults to archive.zip when left empty; the .zip extension is appended automatically if missing.

Date/time and UUID placeholders are expanded at runtime: {year}, {month}, {day}, {hour}, {minute}, {second}, {timestamp}, {timestamp_ns}, {weekday}, {week}, {ordinal}, {offset}, {random_uuid}.

Folder

Optional folder to nest entries under inside the archive. When set, every file is stored at {folder}/{filename}; leading and trailing slashes are trimmed. Supports the same placeholders as the archive name. Leave empty to store files at the archive root.

Input

Filerequired

File(s) to add to the archive. Accepts File, Files (multi-file), JSON, or MultiJSON — JSON payloads are serialized to files first. Fails when no file is received.

Output

File
The produced ZIP archive.