What it does This template automatically generates a professional, structured title for newly-ingested Paperless-ngx documents using AI (OpenAI GPT), then removes a processing tag to mark the document as handled. How it works 1. A webhook fires when a document needs titling (e.g., from a Paperless post-consumption script) 2. The document URL is validated, then the OCR text is fetched from the Paperless API 3. All PII is scrubbed from the text using n8n's Guardrails node before sending to AI 4. G

What it does This template automatically generates a professional, structured title for newly-ingested Paperless-ngx documents using AI (OpenAI GPT), then removes a processing tag to mark the document as handled. How it works 1. A webhook fires when a document needs titling (e.g., from a Paperless post-consumption script) 2. The document URL is validated, then the OCR text is fetched from the Paperless API 3. All PII is scrubbed from the text using n8n's Guardrails node before sending to AI 4. GPT generates a title using the format: [YYYY-MM-DD] - [Document Type] - [Subject] 5. The specified processing tag is looked up and removed, then the document is updated Requirements - An AI provider account, such as OpenAI, Anthropic, Gemini. As configured the template uses OpenAI, but any model should work. - A running Paperless-ngx instance that has network accessibility to your n8n server How to use Needs to be set up in conjunction with a running Paperless-ngx instance. See Paperless-ngx instructions here Customization - Edit the system message in the AI Agent node (Generate Document Name) to change the document naming convention and other guidelines - Change the workflows on your Paperless-ngx instance to suit different needs.
Download the workflow JSON file after purchase.
Open n8n → click the menu → Import from File.
Select the downloaded JSON and import.
Set up credentials for each node that requires them.
Click Execute Workflow to test, then activate.
Setup guide included
Purchase to unlock the full step-by-step guide
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.