Skip to main content

Analyze images & PDFs from Google Drive with Gemini 3 AI

Workflow preview

Workflow preview
100%
Analyze images & PDFs from Google Drive with Gemini 3 AI preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Gemini 3 Image & PDF Extractor (Google Drive → Gemini 3 → Summary) Automatically summarize newly uploaded images or PDF reports using Google Gemini 3, triggered directly from a Google Drive folder....

Best for

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

Tools used

@n8n/n8n-nodes-langchain.googlegemini, n8n-nodes-base.googledrivetrigger, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.lmchatopenrouter, n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.stickynote, n8n-nodes-base.if

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Analyze images & PDFs from Google Drive with Gemini 3 AI
Workflow name
Analyze images & PDFs from Google Drive with Gemini 3 AI

Gemini 3 Image & PDF Extractor (Google Drive → Gemini 3 → Summary)

Automatically summarize newly uploaded images or PDF reports using Google Gemini 3, triggered directly from a Google Drive folder. Perfect for anyone who needs fast AI-powered analysis of financial reports, charts, screenshots, or scanned documents.

🎥 Watch the full step-by-step video tutorial: https://www.youtube.com/watch?v=UuWYT_uXiw0

What this template does

This workflow watches a Google Drive folder for new files and automatically:

  1. Detects new uploaded files
  • Uses Google Drive Trigger

  • Watches a specific folder for fileCreated events

Filters by MIME type:

  • image/png

  • image/webp

  • application/pdf

  1. Downloads the file automatically

Depending on the file type:

Images → Download via HTTP Request → Send to Gemini 3 Vision

PDFs → Download via HTTP Request → Extract content → Send to Gemini 3

  1. Analyzes content using Gemini 3

Two separate processing lanes:

🖼️ Image Lane

Image is sent to Gemini 3 (Vision / Image Analyze)

Extracts textual + visual meaning from charts, diagrams, or screenshots

Passes structured output to an AI Analyst Agent

Agent summarizes and highlights top 3 findings

📄 PDF Lane

PDF is downloaded

Text is extracted using Extract From File

Processed using Gemini 3 via OpenRouter Chat Model

AI Analyst Agent summarizes charts/tables and extracts insights

Why this workflow is useful

Save hours manually reading PDFs, charts, and screenshots

Convert dense financial or operational documents into digestible insights

Great for:

Financial analysts

Operations teams

Market researchers

Content & reporting teams

Anyone receiving frequent reports via Drive

Requirements

Before using this template, you will need:

Google Drive OAuth credential (for Drive trigger + file download)

Gemini 3 / PaLM or OpenRouter API key

(Optional) Update folder ID to your own Google Drive target folder

⚠️ No credentials are included in this template. Add them manually after importing it.

Node Overview Google Drive Trigger

Watches a specific Drive folder for newly added files

Provides metadata like webContentLink and MIME type

Filter by Type (IF Node)

Routes files to Image lane or PDF lane

png or webp → Image

pdf → PDF

🖼️ Image Processing Lane

Download Image (HTTP Request)

Analyze Image (Gemini Vision)

Analyzer Agent

Summarizes findings

Highlights actionable insights

Powered by OpenRouter Gemini 3

📄 PDF Processing Lane

Download PDF (HTTP Request)

Extract From File → PDF

Analyzer Agent (PDF)

Summarizes extracted chart/report information

Highlights key takeaways

Setup Guide

Import the template into your n8n workspace

Open Google Drive Trigger

Select your Drive OAuth credential

Replace folder ID with your target folder

Open Gemini 3 / OpenRouter AI Model nodes

Add your API credentials

Test by uploading:

A PNG/WebP chart screenshot

A multi-page PDF report

Check the execution to view summary outputs

Customization Ideas

Add email delivery (send the summary to yourself daily)

Save summaries into:

Google Sheets

Notion

Slack channels

n8n Data Tables

Add a second agent to convert summaries into:

Weekly reports

PowerPoint slides

Slack-ready bullet points

Add classification logic:

Revenue reports

Marketing analytics

Product dashboards

Financial charts

Troubleshooting

Trigger not firing? Confirm your Drive OAuth credential has read access to the folder.

Gemini errors? Ensure your model ID matches your API provider:

models/gemini-3-pro-preview

google/gemini-3-pro-preview

PDF extraction empty? Check if the file contains selectable text or only images. (You can add OCR if needed.)

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 - Analyze an image

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

Block 2 - Google Drive Trigger

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

Block 3 - Extract from File

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

Block 4 - OpenRouter Chat Model

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

Block 5 - Download Image

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 6 - Download PDF

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 7 - Analyzer Agent

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

Block 8 - OpenRouter Chat Model1

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

Block 9 - Analyzer Agent (PDF)

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

Block 10 - Sticky Note

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

Block 11 - Sticky Note1

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

Block 12 - Sticky Note2

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

Block 13 - Filter by Type

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 14 - Sticky Note3

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

Block 15 - Sticky Note4

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

3. Summary Table

Workflow Analyze images & PDFs from Google Drive with Gemini 3 AI
Complexity advanced
Nodes 15
Categories Document Extraction, AI Summarization
Author Automate With Marc
Published 20 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/11038/11038.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 Analyze images & PDFs from Google Drive with Gemini 3 AI do?

Gemini 3 Image & PDF Extractor (Google Drive → Gemini 3 → Summary) Automatically summarize newly uploaded images or PDF reports using Google Gemini 3, triggered directly from a Google Drive folder....

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.