n8n-nodes-pdf-muhammara
v0.1.1
Published
n8n custom node for PDF encryption using muhammara
Maintainers
Readme
n8n-nodes-pdf-muhammara
This is an n8n community node that provides PDF encryption functionality using the muhammara library.
n8n is a fair-code licensed workflow automation platform.
Features
- Encrypt PDF files with password protection
- Accept binary PDF input from previous nodes
- Simple configuration with password and output filename settings
- Seamless integration with n8n workflows
Installation
For n8n Cloud or Self-hosted n8n
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-pdf-muhammarain the Enter npm package name field - Agree to the risks of using community nodes
- Select Install
For npm (Global Installation)
npm install -g n8n-nodes-pdf-muhammaraLocal Development and Testing
See LOCAL_DEVELOPMENT.md for setup, linking, and troubleshooting steps.
Usage
Node Parameters
- Binary Property: Name of the binary property containing the input PDF (default: "data")
- Password: Password to encrypt the PDF file (required)
- Output Filename: Name for the encrypted output PDF file (default: "encrypted.pdf")
Example Workflow
example-workflow.json provides a sample workflow with these steps:
- When clicking 'Test workflow' → manual trigger
- HTTP Request - Download PDF → fetch sample PDF
- PDF Encrypt → apply the password
- Read/Write Files from Disk → save
encrypted_document.pdf
Import it in n8n via Workflows → Import from File, pick the JSON, and run.
The example downloads a sample PDF, encrypts it with your password, and saves it to ~/.n8n-files/encrypted_document.pdf (change the path if your files directory differs).
n8n 2.0 restricts file writes to
~/.n8n-files(see n8n v2.0 breaking changes).
Resources
License
TODO
- [ ] Add PDF merge capability.
- [ ] Add PDF split capability.
