@baruchiro/n8n-nodes-paperless-ngx
v0.0.0-development.1
Published
n8n community nodes for Paperless-ngx document management system
Maintainers
Readme
n8n-nodes-paperless-ngx
This is an n8n community node. It lets you use Paperless-ngx in your n8n workflows.
Paperless-ngx is a document management system that allows you to scan, archive, and organize your documents with OCR capabilities.
n8n is a fair-code licensed workflow automation platform.
Installation
Development
Operations
Credentials
Compatibility
Usage
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Development
You can test your node as you build it by running it in a local n8n instance.
Prerequisites
- Install n8n using npm:
npm install n8n -g
Testing Your Node Locally
When you are ready to test your node, publish it locally:
# In your node directory npm run build npm linkInstall the node into your local n8n instance:
# In the nodes directory within your n8n installation # node-package-name is the name from the package.json npm link <node-package-name>Check your directory: Make sure you run
npm link <node-name>in the nodes directory within your n8n installation. This can be:~/.n8n/custom/~/.n8n/<your-custom-name>: if your n8n installation set a different name usingN8N_CUSTOM_EXTENSIONS.
Start n8n:
n8n startOpen n8n in your browser. You should see your nodes when you search for them in the nodes panel.
Node names: Make sure you search using the node name, not the package name. For example, if your npm package name is n8n-nodes-paperless-ngx, and the package contains nodes named get-documents-by-tags, get-all-documents, get-all-tags, you should search for get-documents-by-tags, not paperless-ngx.
Troubleshooting
For troubleshooting issues with running nodes locally, see the n8n documentation on running nodes locally.
Operations
Paperless Documents Node
- Get Documents by Tags - Retrieve documents filtered by specific tags
- Get All Documents - Retrieve all documents with pagination and ordering
Paperless Tags Node
- Get All Tags - Retrieve all tags with pagination and ordering
- Get Tag by ID - Retrieve a specific tag by its ID
Paperless Document Details Node
- Get Document by ID - Retrieve detailed information about a specific document
- Get Document Metadata - Retrieve metadata for a specific document
- Get Document History - Retrieve history for a specific document
Credentials
To use this node, you need to authenticate with your Paperless-ngx instance:
- Base URL - The URL of your Paperless-ngx instance (e.g.,
http://192.168.1.105) - Token - Your authentication token from Paperless-ngx
- Port (optional) - Custom port if different from default HTTP/HTTPS ports
Getting Your Token
- Log into your Paperless-ngx instance
- Go to your user profile
- Generate an authentication token
- Copy the token and use it in the credentials
Compatibility
- n8n version: 1.0.0 or later
- Paperless-ngx version: 6.0.0 or later
- Node.js version: 20.15 or later
Usage
Basic Workflow Example
Get Documents by Tags
- Use the "Paperless Documents" node
- Select "Get Documents by Tags" operation
- Enter tag names (comma-separated)
- Configure pagination and ordering as needed
Get Document Details
- Use the "Paperless Document Details" node
- Select "Get Document by ID" operation
- Enter the document ID
- Retrieve detailed document information
Get Available Tags
- Use the "Paperless Tags" node
- Select "Get All Tags" operation
- Browse available tags in your Paperless-ngx instance
Advanced Workflow Example
Start → Paperless Tags (Get All Tags) → Paperless Documents (Get Documents by Tags) → Paperless Document Details (Get Document by ID)This workflow:
- Gets all available tags
- Uses those tags to filter documents
- Gets detailed information for each document
