AI Agents

Extract Text from PDFs and Images to CSV Using Gemini AI

16 nodes 330 153 Automatic trigger
Download

Workflow Description

This automation monitors a Google Drive folder for new PDFs and images, uses Gemini to intelligently extract text and data, then organizes everything into a CSV file ready for analysis and further processing.

How it works

  1. 1.Monitor a designated Google Drive folder for new PDF and image uploads
  2. 2.Send files to Gemini AI to extract text content and key information
  3. 3.Structure the extracted data into organized rows for CSV format
  4. 4.Save the completed CSV file back to Google Drive for easy access

Use cases

  • Extract text from scanned invoices, contracts, and receipts into organized spreadsheets
  • Process bulk images containing text and convert them to structured data tables
  • Automate data entry workflows from digitized paper documents and forms

Requirements

  • Active Google account with Google Drive access permissions
  • Gemini API key configured in Google Cloud Console
  • Designated Google Drive folder for storing source documents

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 153

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