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 → Encrypt a ZIP
AI-generatedOverview
The "Encrypt a ZIP" operation in the files resource of this n8n node allows you to encrypt an existing ZIP file with a password. This is useful for automating workflows where sensitive files need to be securely locked before sharing, archiving, or transferring. For example, you might use this node to automatically encrypt reports or backups before emailing them or uploading them to cloud storage.
Properties
| Name | Meaning |
|---|---|
| Password | A string containing the secret password which will be used to lock (encrypt) the ZIP file. |
| Zip file | The ZIP file to be encrypted. |
| Binary Property | Name of the binary property to which the encrypted ZIP data will be written. |
Output
- The output contains a binary field whose name matches the value provided in Binary Property.
- This binary field holds the encrypted ZIP file.
- Any existing binary data on the input item is preserved and passed through alongside the new encrypted file.
- The
jsonpart of the output remains unchanged from the input unless an error occurs.
Example output structure:
{
"json": { /* original input json */ },
"binary": {
"data": { /* encrypted zip file as binary data */ }
}
}
(If "Binary Property" is set to "data")
Dependencies
- External Service: Requires access to the 1001fx API.
- Credentials: You must configure the
1001fxApicredential in n8n. - Environment: No special environment variables are required beyond standard n8n setup.
Troubleshooting
Common Issues:
- Missing Credentials: If the
1001fxApicredential is not configured, the node will fail to execute. - Invalid File Input: If the specified ZIP file is missing or not valid, encryption will fail.
- Incorrect Binary Property Name: If the binary property name does not match any input or is left blank, the output may not contain the expected encrypted file.
- Missing Credentials: If the
Error Messages:
"error": "Request failed with status code 401"– Indicates authentication issues; check your API credentials."error": "File not found"– The specified ZIP file could not be located in the input."error": "Invalid password"– The password parameter was empty or invalid.
To resolve these, ensure all required properties are filled correctly and that your credentials are valid.