Process legal documents with Ollama AI & generate HTML reports (100% local)
Ready for 3.0Ready 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 7 nodes and runs on Local File events. Along the way it connects OpenAI Chat Model.
How it runs
Trigger: On Local File events.
- Read/Write Files from Disk: reads a file from disk
- Extract from File: extracts data from a file
- AI Agent: runs an AI agent, with model: OpenAI Chat Model
- Convert to File: converts data to a file
- Read/Write Files from Disk: reads a file from disk
Services it uses
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 (6)
- Extract from File
n8n-nodes-base.extractFromFile - Local File Trigger
n8n-nodes-base.localFileTrigger - Read/Write Files from Disk
n8n-nodes-base.readWriteFile - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Convert to File
n8n-nodes-base.convertToFile
From the author
TUTORIAL VIDEO Key Features 🧠 AI-Powered Analysis - Use any Ollama-compatible model (Llama, Mistral, CodeLlama, etc.) 🔧 Flexible Input - Supports PDFs, Word docs, text files, and more 📊 Structured Output - Generates clean HTML reports and summaries 🔄…