Extract
AI-generatedSummary
Extract files from a 7z archive and return extracted file metadata and optional binary data
Inputs
- inputDataPropertyName (required) — Name of the binary property that contains the 7z archive data
- outputPropertyName (required) — Name of the property to store extracted files
- outputMode — How the extracted files should be returned: 'single' puts all files into one output item; 'separate' returns one output item per extracted file
- outputBinaryProperty — Binary property name to store extracted file(s)
- password — Password for the archive (optional)
- custom7zPath — Optional: override 7z binary path if default path is not executable in your environment
Output shape
depends on outputMode
All outputs include a binary component under outputBinaryProperty and JSON metadata under outputPropertyName
Examples
Example 1: outputMode = single (default)
Extracts all files from the 7z archive into one output item. JSON output contains an array of relative file paths, the total extracted count, and a nested object mapping each relative path to its fileName, fileSize, and mimeType. Binary output stores prepared file data under the key outputBinaryProperty (one entry per file when multiple files exist, or a single entry when only one file is extracted).
Example 2: outputMode = separate
Extracts each file from the 7z archive into individual output items. Each item's JSON output contains outputPropertyName set to the file's relative path, along with fileName, fileSize, and mimeType. Binary output stores the prepared file data under outputBinaryProperty for that item.