ZIP Add File
ZIP Add File
Section titled “ZIP Add File”Type: zip-add-file · Package: ZIP Activities v1.0.0
Adds a file to an existing ZIP. If the ZIP does not exist, it creates it. Useful for accumulating files in the same ZIP throughout a process (for example, within a loop).
How it works
Section titled “How it works”Add the filePath file to the zipPath ZIP. By default, inside the ZIP it remains with its original name; with entryName you can give it another name.
Required parameters
Section titled “Required parameters”| Parameter | Editor | Description |
|---|---|---|
zipPath | expression | ZIP file path. |
filePath | expression | File to add. |
Optional parameters
Section titled “Optional parameters”| Parameter | Editor | Description |
|---|---|---|
entryName | expression | Name inside the ZIP. By default, the file name. |
Example
Section titled “Example”Accumulate generated files in a single ZIP:
For Each items = = clientes itemVariable = cliente └─ activities: ... generar el PDF del cliente en rutaPdf ... ZIP Add File zipPath = "C:/envios/lote.zip" filePath = = rutaPdfRelated activities
Section titled “Related activities”- ZIP Compress — compress multiple files at once.
- ZIP Extract — extraer.