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 PDF
AI-generatedOverview
The "Decrypt a PDF" operation in the files resource of this n8n node allows users to unlock password-protected PDF files. This is particularly useful in automated workflows where you need to process, extract, or manipulate content from encrypted PDFs without manual intervention. For example, you might receive encrypted invoices or reports via email and want to automatically decrypt them for further processing or archiving.
Properties
| Name | Meaning |
|---|---|
| Password | A string containing the secret password which will be used to unlock the PDF. |
| PDF file | The encrypted PDF file to be decrypted. |
| Binary Property | Name of the binary property to which the decrypted PDF data will be written (default: data). |
Output
- Binary Data:
The node outputs the decrypted PDF as binary data. The binary property name is determined by the "Binary Property" input (default isdata).- The output item will have a
.binaryfield containing the decrypted PDF. - Any existing binary properties on the input item are preserved unless overwritten by the specified binary property name.
- The output item will have a
- JSON Field:
The.jsonfield of the output item remains unchanged from the input, unless an error occurs (in which case it may contain an error message).
Dependencies
- External Service:
Requires access to the 1001fx API. - API Key:
You must configure the1001fxApicredential in n8n. - n8n Configuration:
No additional environment variables are required beyond the API credentials.
Troubleshooting
Common Issues:
- Incorrect Password: If the provided password is incorrect, the PDF cannot be decrypted, and an error will be returned.
- Invalid File Format: Supplying a non-PDF or corrupted file will result in an error.
- Missing Binary Data: If the input item does not contain the expected binary property, the node will fail.
Error Messages:
"error": "Password incorrect"– Ensure the password matches the one used to encrypt the PDF."error": "File not found"– Check that the binary property name matches the input item's binary key."error": "Invalid PDF format"– Verify the uploaded file is a valid, encrypted PDF.