Google Drive PDF and scanned image to CSV extraction workflow
This n8n workflow triggers whenever a new PDF or scanned image lands in a watched Google Drive folder. Files are routed by type into text or vision extraction branches, structured through Google Gemini and converted into a standard CSV file. Teams stop retyping paper delivery notes and scanned forms by hand.
- Catalogue ID
- #1444
- Functional nodes
- 12
- Connections
- 11
- Trigger
- googleDriveTrigger
- AI layer
- AI-assisted
Business problem solved
Delivery notes, signed forms and supplier scans pile up in shared Drive folders as a mix of PDFs and photos. Retyping those documents into spreadsheets takes hours and leaves inconsistent column formatting for downstream imports.
Trigger
The Google Drive trigger fires whenever a new document or image file arrives in the watched folder.
Connected systems
- Google Drive
- Google Gemini
- File extraction and CSV conversion
- HTTP connection
- Self-hosted n8n
Every workflow is deployed on your own server with documentation, a run log and an error queue.
Workflow steps
- 01
Folder watch and file-type routing
New files are fetched from Google Drive and separated cleanly between searchable PDFs and scanned image formats.
- 02
Gemini text and vision extraction
Extraction nodes and Google Gemini read document numbers, dates, items and reference fields into structured records.
- 03
Standard CSV conversion
Extracted rows are converted into a clean CSV file ready for ERP import or shared storage.
Error queue and human approval
Built-in state in the catalogue workflow
The verified catalogue workflow contains zero node-level error flags across its 12 functional nodes and 11 connections.
Production layer added by ALTAI
During live deployment, ALTAI adds a low-confidence scan review queue, automatic archiving of processed files and a human approval step before ERP import.
Google Drive PDF and image to CSV workflow Frequently asked questions
Yes. Image files route through the vision branch in Gemini, while blurry or illegible scans are sent to a human review queue in production.
Yes. Column headers, date formats and delimiters are configured during set-up to match your target software.
The file-type filter skips unsupported formats, logs a notice and keeps processing valid documents without interruption.
In production, processed files move to an archive folder and their Drive IDs are recorded in the run log so nothing runs twice.
Related n8n workflows
Email PDF and XML invoice extraction workflow
Unpacks ZIP, PDF and XML invoice attachments from Gmail, extracts structured line items with calculation checks, archives to Drive and updates Sheets.
Email receipt and expense extraction workflow
Uses two Gmail triggers for receipts and payment alerts, splits multi-item expenses and writes structured rows into Google Sheets with built-in error flags.
Google Drive company docs RAG workflow
Chunks new or updated Google Drive company files into a Pinecone vector index and serves grounded internal chat answers with memory.

We write the proposal after we have found the problem together
In a thirty-minute call we listen to how you work and talk through where time and customers are slipping away. If you do not need a digital fix, we will tell you that too.
30 minutes · no preparation needed
The call and the week of discovery are both free.Read the terms