Automate document processing (PDF, CSV, XLS) using a powerful n8n workflow. Leverage Ollama and AI Agents for local, private Gemma 3 summaries on sensitive data. Get started with these n8n templates.
Download this n8n workflow template and start using it instantly.
This advanced n8n workflow provides a secure and powerful solution for summarizing diverse document types locally. It leverages the deep integration capabilities of n8n with local LLMs, specifically using Ollama to run high-performance models like Gemma 3. The system is designed to handle multiple file formats—PDFs, spreadsheets (XLS, CSV), and other general documents—routing them through specialized n8n node components for efficient data extraction before feeding the refined content to specialized AI Agents. This comprehensive approach ensures that sensitive data remains on-premises while harnessing the power of large language models for efficient document understanding and summarization, making this one of the most effective n8n templates for local AI processing.
This efficient n8n workflow manages the entire document lifecycle from local input to summarized output:
Local File Trigger n8n trigger, configured to constantly monitor a designated local file system path for any new files added. This is the starting point for the automated n8n workflow.Read/Write Files from Disk n8n node reads the incoming file content, preparing it for analysis.Switch n8n node inspects the file’s metadata (like the file extension) and intelligently routes the data to the correct processing path. This is a core part of the n8n logic flow.Extract from PDF, Extract from XLS, Extract from CSV) transform the structured or binary data into usable text/JSON payloads suitable for the language model.AI Agent n8n node setups. These agents are programmed to perform the core task, defining the reasoning and prompt structure for summarization.Ollama Chat Model n8n node, which securely executes the LLM task (e.g., running Gemma 3) entirely locally using your existing Ollama environment.Convert to File n8n node.Read/Write Files from Disk1 n8n node writes the newly generated summary file back to local storage.To deploy this powerful n8n workflow and start using these n8n templates, follow these steps:
http://host.docker.internal:11434 if running n8n in Docker).Local File Trigger n8n trigger node to point to the directory you wish to monitor for input documents, and update the final Read/Write Files from Disk1 n8n node to define where the summarized outputs should be saved. Local File Trigger: This specialized n8n trigger node is essential for automating the start of the n8n workflow. It constantly polls a directory for changes, ensuring immediate processing of new files.
Read/Write Files from Disk (x2): These generic n8n node tools handle all local file interactions, reading the initial input and securely saving the final LLM-generated summary file.
Switch: A critical flow control n8n node. It dynamically changes the path of the execution based on conditions, ensuring PDF files go to PDF extractors, CSV to CSV extractors, etc.
Extract from PDF / XLS / CSV n8n node (x3): These are specialized data transformation n8n nodes. They efficiently parse the content of complex file formats, extracting text, tables, and data into a clean structure that the AI Agents can digest.
Ollama Chat Model n8n node (x3): This connection n8n node defines the precise LLM model (e.g., Gemma 3) and endpoint used for inference. It acts as the bridge between the n8n workflow logic and the local Ollama service.
AI Agent n8n node (x3): The intelligence layer of the n8n workflow. These agents define the prompts, memory, and tools required to effectively summarize the document content provided by the extraction nodes, utilizing the Ollama service.
Deploy this robust n8n workflow to summarize content from URLs, raw text, and PDFs. This versatile n8n template uses OpenAI for advanced, customizable AI summarization with language support and OCR fallback.

Use this powerful n8n workflow to summarize customer calls using OpenAI, automatically update contact notes in HubSpot, and intelligently route the full transcript to the relevant internal department via Gmail, Slack, and WhatsApp. Ideal n8n templates for sales operations.

Automate Apple App Store review analysis using an advanced n8n workflow. Fetch daily reviews, store them in Pinecone, summarize weekly with OpenAI (GPT-4.1-mini), and send reports via Slack.

Automate Glassdoor company data scraping using Bright Data and summarize key findings instantly with the Google Gemini LLM. Deploy this advanced n8n workflow.

Automate support queues by using this powerful n8n workflow to summarize incoming Gmail emails with Google Gemini and instantly post actionable summaries to Slack channels or users, utilizing reliable n8n templates.








































