Templates / Generate AI document titles for Paperless-ngx with GPT-4o Mini

Generate AI document titles for Paperless-ngx with GPT-4o Mini

Ready for 3.0

by Warren Gates ✓ · 570 views · created 2026-03-27 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 13 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects Guardrails and OpenAI Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Check URL Validity (If): checks a condition and branches into true / false
  2. Set URL Components (Edit Fields (Set)): sets 3 fields: server, scheme, documentId
  3. Interrupt on Invalid URL (Stop and Error): stops the run with an error
  4. Fetch Document Content (HTTP Request): calls an HTTP API
  5. If: checks a condition and branches into true / false
  6. Apply Document Guardrails (Guardrails): sanitize
  7. Generate Title AI Agent (AI Agent): runs an AI agent, with model: OpenAI GPT-4 Mini
  8. Fetch Removal Tag ID (HTTP Request): calls an HTTP API
  9. Execute Tag Removal (Code): runs custom JavaScript code
  10. Apply Document Updates (HTTP Request): calls an HTTP API (PATCH)

Services it uses

GuardrailsOpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (10)

From the author

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…

Excerpt from Warren Gates's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.