ZIP Create
Description
Section titled “Description”Compresses one or more files into a ZIP archive. Compatible with the output of any file-generating node (CSV Create, Save to Excel, Save to JSON, etc). Accepts paths as a string, array of strings, or array of objects with filePath and filename.
Configuration
Section titled “Configuration”| Field | Type | Required | Description |
|---|---|---|---|
| files | textarea | No | File path(s). String, array of strings, or array of {filePath, filename}. If empty, uses data.filePath from previous node |
| outputName | text | No | Base name of the ZIP (without extension). Supports {{}} variables. Default: archive |
| compressionLevel | select | No | Compression level: 0 (none), 1 (minimum), 6 (normal, default), 9 (maximum) |
Supported Input Formats
Section titled “Supported Input Formats”// Simple string"files": "/path/to/file.csv"
// Array of strings"files": "['/path/to/file1.csv', '/path/to/file2.xlsx']"
// Array of objects"files": "[{\"filePath\": \"/path/to/file.csv\", \"filename\": \"report.csv\"}]"
// Variable from previous node"files": "{{filePath}}"
// Empty: takes data.filePath automatically"files": ""Output
Section titled “Output”{ "filename": "archive-1712345678.zip", "filePath": "/www/wwwroot/floogos/engine_us1/temporal/cli_123/archive-1712345678.zip", "urlPath": "https://us1.floogos.com/download/cli_123/archive-1712345678.zip", "format": "zip", "size_bytes": 45230, "files_included": 3, "files_missing": 0, "files": ["report.csv", "customers.xlsx", "log.txt"]}Usage Examples
Section titled “Usage Examples”Compress previous node output
Section titled “Compress previous node output”CSV Create → ZIP Create{ "outputName": "monthly-report"}Compress multiple files
Section titled “Compress multiple files”{ "files": "{{data.files}}", "outputName": "backup-{{$datetime}}", "compressionLevel": "9"}- If a file doesn’t exist it is skipped and reported in
files_missing - If no files exist, returns an error
- Always appends timestamp to the name to prevent collisions
- Files are served via
/download/with a direct URL
Related Nodes
Section titled “Related Nodes”- ZIP Extract - Extract a ZIP file
- CSV Create - Create CSV/TXT file
- SaveToExcel - Create Excel file