AI Agents

Extract text from PDFs and images with Gemini AI and save to CSV

16 nodes 330 174 Automatic trigger
Download

Workflow Description

Automation that extracts text and data from PDF files and images stored in Google Drive using Gemini AI, then organizes them into a structured CSV file ready for analysis and data processing workflows.

How it works

  1. 1.Trigger automation when a PDF or image file is uploaded to Google Drive
  2. 2.Process the file using Gemini AI model to extract text and structured data
  3. 3.Organize extracted data and convert it into tabular format
  4. 4.Create a CSV file containing the organized and clean data
  5. 5.Save the CSV file automatically to Google Drive for easy access

Use cases

  • Extract data from invoices and receipts for accounting and bookkeeping workflows
  • Process handwritten forms in bulk and convert them into digital structured data
  • Extract information from documents and reports for research and business analysis

Requirements

  • Active Google account with Google Drive access
  • Gemini API key configured in your Google Cloud project
  • Write and read permissions on your Google Drive folder for file operations

Service Value

Ideal as a smart automation service combining integrations and AI to produce ready-to-use results.

Apps Used

Gemini Google Drive LLM Chain

Details

Trigger Automatic trigger
Nodes 16
Apps 3
Views 330
Downloads 174

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (16)

/

Google Gemini Chat Model

Gemini Model

#1

Get PDF or Images

Google Drive Trigger

#2

Route based on PDF or Image

Switch

#3

Download PDF

Google Drive

#4

Download Image

Google Drive

#5

Extract data from PDF

Extract From File

#6

Send data to A.I.

HTTP Request

#7

Convert to CSV

Convert To File

#8

Upload to Google Drive

Google Drive

#9

Convert to CSV2

Convert To File

#10

Upload to Google Drive1

Google Drive

#11

Sticky Note

Sticky Note

#12

Sticky Note1

Sticky Note

#13

Sticky Note2

Sticky Note

#14

Sticky Note3

Sticky Note

#15

Vertex A.I. extract text

LLM Chain

#16