ZIP Extract
ZIP Extract
Section titled “ZIP Extract”Type: zip-extract · Package: ZIP Activities v1.0.0 · Output: string
Extracts the contents of a ZIP file to a destination folder. Returns the path of the folder where it was extracted. Useful for processing files that arrive compressed (an email with a ZIP of invoices).
How it works
Section titled “How it works”Decompress the ZIP of source into destination. By default it overwrites files that already exist.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
source | expression | Path of the ZIP file to extract. |
destination | expression | Folder where to extract the content. |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
overwrite | boolean | Sobrescribir archivos existentes. Por defecto true. |
Output
Section titled “Output”Returns a string with the path of the destination folder.
Example
Section titled “Example”Extract a ZIP and process your files:
ZIP Extract source = = rutaZip destination = "C:/temp/extraido"List Files path = "C:/temp/extraido" pattern = "*.xlsx" → output: archivosFor Each items = = archivos itemVariable = ruta └─ activities: Read Excel Sheet path = = ruta → output: datos ... procesar ...Related activities
Section titled “Related activities”- ZIP Compress — the reverse operation.
- List Files — list the extracted files.