Skip to content

ZIP Extract

Extracts the contents of a ZIP file into a temporary server folder. Returns an array with complete information for each extracted file (path, download URL, extension, size). Compatible with ZIP Create output, HTTP downloads, or any node that generates a ZIP file.

FieldTypeRequiredDescription
zipPathtextNoPath to the ZIP file. If empty, uses data.filePath from previous node
outputFoldertextNoName of the extraction subfolder. If empty, generates automatic unique name
filterExtensionstextNoOnly extract files with these extensions, comma-separated (e.g. .csv,.txt). If empty, extracts everything
{
"files": [
{
"filename": "report.csv",
"filePath": "/www/wwwroot/floogos/engine_us1/temporal/cli_123/unzip-1712345678/report.csv",
"urlPath": "https://us1.floogos.com/download/cli_123/unzip-1712345678/report.csv",
"relativePath": "report.csv",
"extension": ".csv",
"size_bytes": 15230
},
{
"filename": "data.json",
"filePath": "/www/wwwroot/floogos/engine_us1/temporal/cli_123/unzip-1712345678/data.json",
"urlPath": "https://us1.floogos.com/download/cli_123/unzip-1712345678/data.json",
"relativePath": "data.json",
"extension": ".json",
"size_bytes": 8420
}
],
"total_extracted": 2,
"total_skipped": 0,
"output_dir": "/www/wwwroot/floogos/engine_us1/temporal/cli_123/unzip-1712345678",
"source_zip": "/www/wwwroot/floogos/engine_us1/temporal/cli_123/archive-1712345678.zip"
}
ZIP Create → ZIP Extract
{
"outputFolder": "my-files"
}
{
"zipPath": "{{filePath}}",
"filterExtensions": ".csv,.txt",
"outputFolder": "imported-data"
}
HTTP Request (download ZIP) → ZIP Extract → Iterator (files) → CSV Parse
  • ZIP directory structure is preserved as subfolders within the extraction folder
  • File names are sanitized to prevent path traversal (../)
  • If filterExtensions is configured, non-matching files are reported in total_skipped
  • Each extracted file has its own urlPath for direct download
  • The relativePath field preserves the original ZIP folder structure
  • Files are stored in temporal/cli_{client_id}/ on the server