🧾 Extract Colombian invoice data from Drive to Sheets with GPT-4o

⚔ 167 views · 🧾 Invoice Processing

šŸ’” Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Automate Colombian Cashflow Data Extraction to Google Sheets with AI

Who’s it for

This workflow is designed for finance professionals, accountants, small business owners in Colombia, or anyone needing to automate the extraction of invoice data and its entry into Google Sheets. It’s particularly useful for handling Colombian tax and legal specifics.

How it works / What it does

This workflow automates the process of extracting critical data from invoices and receipts (PDFs and JPEGs) and organizing it in a Google Sheet:

How to set up

  1. Google Drive Credentials: Ensure you have configured your Google Drive OAuth2 API credentials in n8n.
  2. Azure OpenAI Credentials: Set up your Azure OpenAI API credentials, ensuring access to models like gpt-4o. Or you can simply use your traditional OpenAI or others LLMs.
  3. Google Sheets Credentials: Configure your Google Sheets OAuth2 API credentials.
  4. Google Drive Folder ID: In the ā€œ1a. Updated file triggerā€ and ā€œ1b. Created file triggerā€ nodes, update the folderToWatch parameter with your specific Google Drive Folder ID.
  5. Google Sheet ID and Sheet Name: In the ā€œ8. Fill Templateā€ and ā€œ8. Fill Template1ā€ nodes, update the documentId and sheetName parameters with your specific Google Sheet ID and the name of the sheet where data should be appended.

Requirements

How to customize the workflow

šŸ”— Nodes Used

Google Sheets, Google Drive, Google Drive Trigger, Basic LLM Chain, Structured Output Parser, Extract from File

šŸ“„ Import

Download workflow.json and import into n8n: Workflow menu → Import from File

šŸ“– Importing guide Ā· šŸ”‘ Credential setup