Skip to content

ZIP Create

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.

FieldTypeRequiredDescription
filestextareaNoFile path(s). String, array of strings, or array of {filePath, filename}. If empty, uses data.filePath from previous node
outputNametextNoBase name of the ZIP (without extension). Supports {{}} variables. Default: archive
compressionLevelselectNoCompression level: 0 (none), 1 (minimum), 6 (normal, default), 9 (maximum)
// 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": ""
{
"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"]
}
CSV Create → ZIP Create
{
"outputName": "monthly-report"
}
{
"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