πŸ”¬ Extract bank statement transactions from PDFs to Google Sheets with Google Drive and Gemini

⚑ 29 views Β· πŸ”¬ Document Extraction & Analysis

Description

Quick overview

Accountants, freelancers and small businesses in Latin America who copy bank statement transactions by hand.

How it works

  1. Drop a statement PDF into a Google Drive folder.
  2. The workflow downloads it and extracts the text.
  3. Google Gemini returns every transaction as JSON (date, description, amount, debit/credit, balance), handling both 1.234,56 and 1,234.56 formats.
  4. Each transaction is appended as a row in Google Sheets.
  5. Always check totals against the original statement.

Setup

  1. Add Google Drive, Google Sheets and Google Gemini credentials (free API key from https://aistudio.google.com/apikey).
  2. Pick the folder in the trigger.
  3. Create a sheet with headers: Fecha | Descripcion | Importe | Tipo | Saldo | Archivo, and select it in the Sheets node.
  4. Text-based PDFs only (run OCR first for scans).
  5. Activate the workflow once the credentials are added.

Requirements

Customization

Additional info

Text-based PDFs only (run OCR first for scans). Always check totals against the original statement.

Made by Agente Diario β€” daily AI & agents newsletter in Spanish: https://agentediario.beehiiv.com/subscribe?utm_source=n8n

πŸ”— Nodes Used

Google Sheets, Google Drive, Google Drive Trigger, Filter, Extract from File, Google Gemini

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup