Actions74
- ai Actions
- array Actions
- audiovideo Actions
- carbone Actions
- charts Actions
- code Actions
- data Actions
- datetime Actions
- events Actions
- files Actions
- geo Actions
- hellospaces Actions
- images Actions
- Get Metadata of an Image
- Scale an Image
- Overlay an Image on another Image
- Scale an Image to Fit Given Dimensions
- Resize an Image
- Mask an Image with Another Image
- Mask an Image with a Circle Mask
- Crops an image by the given x, y, width and height paramters.
- Convert Texts to an Image
- Convert HTML String or URL to an Image
- Generates a QRCode with given text and color.
- Get EXIF from Image
- Remove EXIF from Image
- Modify Image EXIF
- playground Actions
- spreadsheet Actions
- stripe Actions
- youtube Actions
files → Decrypt a ZIP
AI-generatedOverview
This node provides the ability to decrypt password-protected ZIP files within n8n workflows. It is useful in scenarios where you receive encrypted ZIP archives (for example, via email or file upload) and need to automatically extract their contents as part of an automation process. Practical applications include processing secure document deliveries, automated data ingestion from protected sources, or integrating with systems that require ZIP encryption for compliance.
Properties
| Name | Meaning |
|---|---|
| Password | A string containing the secret password which will be used to unlock the ZIP archive. |
| Zip file | The ZIP file to be decrypted. This should be provided as a binary input. |
| Binary Property | Name of the binary property to which the extracted file's data will be written. |
Output
Binary Data:
The node outputs the decrypted file(s) as binary data under the property name specified by "Binary Property". The output includes:- The file content extracted from the ZIP.
- Metadata such as filename and MIME type, as provided by the response headers.
JSON Field:
The original JSON data from the input item is preserved in the output.
Dependencies
- External Service: Requires access to the 1001fx API.
- API Key: You must configure the
1001fxApicredential in n8n. - n8n Configuration: Ensure binary data is passed correctly between nodes if chaining file operations.
Troubleshooting
Common Issues:
- Incorrect Password: If the password is wrong, the node will return an error indicating decryption failure.
- Invalid ZIP File: Supplying a non-ZIP file or a corrupted ZIP may result in errors or empty output.
- Missing Binary Input: If the "Zip file" property does not reference valid binary data, the node will fail.
Error Messages:
"error": "Decryption failed"or similar: Check that the password is correct and the file is a valid encrypted ZIP."error": "Cannot read property 'fileName' of undefined": Ensure the binary property name matches the input binary data.