Skip to main content

Summarize documents, images & spreadsheets with Gemma 3 on Ollama

Workflow preview

Workflow preview
100%
Summarize documents, images & spreadsheets with Gemma 3 on Ollama preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Tutorial Video Overview Transform your file management with this intelligent workflow that automatically processe...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.readwritefile, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatollama, n8n-nodes-base.localfiletrigger, n8n-nodes-base.switch, n8n-nodes-base.extractfromfile, n8n-nodes-base.converttofile

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Rish.

Original n8n.io source

1.1 Workflow description

Title
Summarize documents, images & spreadsheets with Gemma 3 on Ollama
Workflow name
Summarize documents, images & spreadsheets with Gemma 3 on Ollama

Tutorial Video

πŸš€ Overview Transform your file management with this intelligent workflow that automatically processes and summarizes any file dropped into a monitored folder. Using local AI powered by Ollama, this workflow provides instant insights for images, documents, and data files. ✨ Key Features

πŸ”„ Automatic Processing: Monitors a folder and processes files instantly upon detection 🎯 Multi-Format Support: Handles images (JPG, PNG), documents (PDF), and data files (CSV, XLS) πŸ€– AI-Powered Analysis: Uses Ollama's Gemma 3 model for intelligent content understanding πŸ“ Smart Summaries: Generates concise, informative summaries tailored to each file type πŸ’Ύ Organized Output: Saves all summaries as text files with descriptive naming

πŸ› οΈ What It Does

Image Analysis: Describes visual content and identifies key elements in photos and graphics Document Summarization: Extracts and summarizes text from PDF documents Data Insights: Analyzes spreadsheet data and provides structural insights

πŸ“‹ Prerequisites

Ollama Installation: Download and install Ollama on your system Model Setup: Pull the Gemma 3 model with ollama pull gemma3:4b Service Running: Ensure Ollama is running with ollama serve Credentials: Configure Ollama API credentials in n8n

πŸ”§ Setup Instructions

Clone this workflow to your n8n instance Update the folder path in the "Local File Trigger" node to your desired monitoring directory Configure Ollama credentials for all three AI model nodes Test the workflow by dropping a sample file into your monitored folder

πŸ“Š Supported File Types TypeExtensionsProcessingImages.jpg, .pngAI vision analysis and descriptionDocuments.pdfText extraction and summarizationData Files.csv, .xlsData structure analysis and insights 🎯 Perfect For

Content Creators: Quickly understand and catalog image collections Researchers: Summarize academic papers and research documents Data Analysts: Get instant insights into dataset structures Knowledge Workers: Organize and understand file collections efficiently

πŸ”’ Privacy & Security

100% Local Processing: All AI processing happens on your machine No Cloud Dependencies: Files never leave your system Private & Secure: Complete control over your data and processing

🚦 Getting Started Simply drop any supported file into your monitored folder and watch as the workflow automatically:

Detects the file type Processes the content appropriately Generates an intelligent summary Saves the result as a text file

Your intelligent file assistant is ready to help you understand and organize your digital content!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 2 - Read/Write Files from Disk

Type / Role
n8n-nodes-base.readWriteFile - readWriteFile
Config choices
Version 1

Block 3 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 4 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 5 - Ollama Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatOllama - lmChatOllama
Config choices
Version 1

Block 6 - Local File Trigger

Type / Role
n8n-nodes-base.localFileTrigger - localFileTrigger
Config choices
Version 1

Block 7 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 9 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - AI Agent1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 11 - Ollama Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOllama - lmChatOllama
Config choices
Version 1

Block 12 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - AI Agent2

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 14 - Ollama Chat Model2

Type / Role
@n8n/n8n-nodes-langchain.lmChatOllama - lmChatOllama
Config choices
Version 1

Block 15 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Extract from PDF

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 17 - Extract from XLS

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 18 - Extract from CSV

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 19 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 22 - Read/Write Files from Disk1

Type / Role
n8n-nodes-base.readWriteFile - readWriteFile
Config choices
Version 1

Block 23 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note9

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Summarize documents, images & spreadsheets with Gemma 3 on Ollama
Complexity advanced
Nodes 24
Categories Document Extraction, AI Summarization
Author Rish
Published 10 Jul 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/5858/5858.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Summarize documents, images & spreadsheets with Gemma 3 on Ollama do?

Tutorial Video Overview Transform your file management with this intelligent workflow that automatically processe...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.