Actions80
- Extract Text From Word
- Find And Replace Text
- Convert PDF To Editable PDF Using OCR
- Create Swiss QR Bill
- Split PDF By Barcode
- Split PDF By Swiss QR
- Split PDF By Text
- Split PDF Regular
- Create PDF/A
- Convert HTML To PDF
- Convert Markdown To PDF
- Upload File To PDF4me
- Add Attachment To PDF
- Add Barcode To PDF
- Add Form Fields To PDF
- Fill PDF Form
- Add HTML Header Footer
- Add Image Stamp To PDF
- Add Margin To PDF
- Add Page Number To PDF
- Add Text Stamp To PDF
- AI-Invoice Parser
- AI-Process HealthCard
- AI-Process Contract
- Generate Barcode
- Classify Document
- Parse Document
- Linearize PDF
- Flatten PDF
- Convert To PDF
- Json To Excel
- Convert PDF To Excel
- Convert PDF To Word
- Convert PDF To PowerPoint
- Convert VISIO
- Crop Image
- Delete Blank Pages From PDF
- Delete Unwanted Pages From PDF
- Extract Pages
- Merge Multiple PDFs
- Overlay PDFs
- Rotate Document
- Rotate Page
- Sign PDF
- URL to PDF
- Add Image Watermark To Image
- Add Text Watermark To Image
- Compress Image
- Convert Image Format
- Create Images From PDF
- Flip Image
- Get Image Metadata
- Image Extract Text
- Remove EXIF Tags From Image
- Replace Text With Image
- Replace Text With Image In Word
- Resize Image
- Rotate Image
- Rotate Image By EXIF Data
- Compress PDF
- Get PDF Metadata
- Repair PDF Document
- Get Document From Pdf4me
- Update Hyperlinks Annotation
- Protect Document
- Unlock PDF
- Disable Tracking Changes In Word
- Enable Tracking Changes In Word
- Generate Document Single
- Generate Documents Multiple
- Get Tracking Changes In Word
- Read Barcode From Image
- Read Barcode From PDF
- Read SwissQR Code
- Extract Form Data From PDF
- Extract Pages From PDF
- Extract Attachment From PDF
- Extract Text By Expression
- Extract Table From PDF
- Extract Resources
Overview
This node provides functionality to unlock password-protected PDF files. It supports multiple input methods for the PDF file, including 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.
Common scenarios where this node is beneficial include:
- Automating workflows that require processing secured PDFs by removing their passwords.
- Preparing locked PDFs for further editing, merging, or conversion in an automated pipeline.
- Unlocking PDFs received from external sources before applying additional operations like watermarking or extracting content.
Practical example:
- A user receives encrypted invoices as PDFs via email. This node can unlock those PDFs automatically using the known password so that subsequent nodes can extract invoice data or convert the PDFs to other formats.
Properties
| Name | Meaning |
|---|---|
| Input Data Type | Choose how to provide the PDF file to unlock. Options: Binary Data (from previous node), Base64 String (PDF content encoded in base64), URL (link to the 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 string representing the PDF document content (used if Input Data Type is Base64 String). |
| PDF URL | URL to the PDF file to unlock (used if Input Data Type is URL). |
| Output File Name | Desired filename for the output unlocked PDF file (default "unlocked_output.pdf"). |
| Password | Password string used to unlock the protected PDF (default "1234"). |
| Async | Boolean flag to process the unlocking asynchronously (default true). |
Output
The node outputs the unlocked PDF file as binary data under the specified output binary property. The JSON output contains metadata about the operation and references to the unlocked PDF binary data. The binary data can then be passed to subsequent nodes for further processing or saving.
If the node processes multiple items, it returns an array of results corresponding to each input item.
Dependencies
- Requires access to the PDF unlocking service or library integrated within the node's implementation.
- Needs the password for the protected PDF to successfully unlock it.
- If using URL input, requires network access to fetch the PDF file from the given URL.
- No explicit external API keys or credentials are indicated in the source code snippet, but appropriate authentication may be required depending on the underlying PDF service.
Troubleshooting
- Incorrect Password: If the provided password is wrong, the node will fail to unlock the PDF. Verify the password and try again.
- Invalid Input Data: Ensure the PDF file is correctly provided according to the selected input type (binary, base64, or URL). For example, if using binary data, confirm the binary property name matches the actual data field.
- Network Issues: When using a URL input, network connectivity problems or invalid URLs can cause failures. Confirm the URL is accessible and points to a valid PDF.
- Unsupported PDF Format: Some PDFs with advanced encryption or corruption might not be unlockable by the node.
- Async Processing: If asynchronous processing is enabled and issues arise, try disabling async mode to debug synchronously.
Common error messages typically relate to authentication failure (wrong password), file not found (invalid URL or missing binary data), or unsupported file format.