Actions80
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Image Watermark To Image
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- Add Text Watermark To Image
- AI-Invoice Parser
- AI-Process Contract
- AI-Process HealthCard
- Classify Document
- Compress Image
- Compress PDF
- Convert HTML To PDF
- Convert Image Format
- Convert JSON To Excel
- Convert Markdown To PDF
- Convert PDF To Editable PDF Using OCR
- Convert PDF To Excel
- Convert PDF To PowerPoint
- Convert PDF To Word
- Convert To PDF
- Convert URL to PDF
- Convert VISIO
- Convert Word to PDF Form
- Create Images From PDF
- Create PDF/A
- Create Swiss QR Bill
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Split PDF By Barcode
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Extract Attachment From PDF
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Resources
- Extract Table From PDF
- Extract Text By Expression
- Extract Text From Word
- Fill PDF Form
- Find And Replace Text
- Flip Image
- Flatten PDF
- Generate Barcode
- Generate Document Single
- Generate Documents Multiple
- Get Document From Pdf4me
- Get Image Metadata
- Get PDF Metadata
- Split PDF By Swiss QR
- Get Tracking Changes In Word
- Image Extract Text
- Linearize PDF
- Merge Multiple PDFs
- Overlay PDFs
- Parse Document
- Protect PDF
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Remove EXIF Tags From Image
- Repair PDF Document
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Document
- Rotate Image
- Rotate Image By EXIF Data
- Rotate PDF Page
- Sign PDF
- Split PDF By Text
- Split PDF Regular
- Unlock PDF
- Update Hyperlinks Annotation
- Upload File To PDF4me
Overview
The node provides functionality to unlock password-protected PDF files. It supports multiple input methods for the PDF file: binary data from a previous node, a base64 encoded string, or a URL pointing to the PDF. The node removes the password protection using the provided password and outputs the unlocked PDF file.
This node is beneficial in workflows where automated processing of secured PDFs is required, such as extracting data from locked documents, merging unlocked PDFs, or converting them to other formats without manual intervention.
Practical examples:
- Automatically unlocking client-submitted protected PDFs before extracting form data.
- Unlocking PDFs downloaded from a URL to enable further editing or annotation.
- Processing base64 encoded PDFs received via API calls by unlocking them for downstream tasks.
Properties
| Name | Meaning |
|---|---|
| Input Data Type | Method to provide the PDF file to unlock. Options: Binary Data (from previous node), Base64 String, URL to PDF file. |
| Input Binary Field | Name of the binary property containing the PDF file when using Binary Data input type (default "data"). |
| Base64 PDF Content | Base64 encoded content of the PDF document when using Base64 String input type. |
| PDF URL | URL pointing to the PDF file to unlock when using URL input type. |
| Output File Name | Desired filename for the output unlocked PDF file (default "unlocked_output.pdf"). |
| Password | Password used to unlock the protected PDF file. |
| Binary Data Output Name | Custom name for the binary data field in the node's output (default "data"). |
Output
The node outputs the unlocked PDF file as binary data under the specified binary data output name (default "data"). The JSON output contains metadata about the operation and references the binary data. This allows subsequent nodes to access the unlocked PDF file for further processing or saving.
If the input was a protected PDF, the output will be the same PDF content but without password protection.
Dependencies
- Requires an active connection to the PDF processing service that handles unlocking PDFs.
- Needs appropriate API credentials configured in n8n to authenticate with the external PDF service.
- Internet access may be required if the input PDF is provided via URL.
Troubleshooting
- Incorrect password error: If the provided password is wrong, the node will fail to unlock the PDF. Verify the password is correct.
- Invalid input data: Ensure the PDF content is correctly provided according to the selected input type (binary, base64, or URL).
- Network issues: When using URL input, network connectivity problems or inaccessible URLs can cause failures.
- Missing binary data: If using binary input, confirm the binary property name matches the actual property containing the PDF.
- Output file naming: If the output file name is not set or invalid, the default name will be used.
To resolve errors, check the input parameters carefully, verify credentials, and ensure the PDF is accessible and properly formatted.