Extract Colombian Invoice Data from Drive to Sheets with GPT-4o — n8n Workflow

High complexity Trigger18 nodes🏷️ Invoice Processingby Caio Garvil

Overview

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 organiz

Nodes used

Google SheetsGoogle DriveBasic LLM ChainStructured Output ParserAzure OpenAI Chat Model

Workflow Preview

Automate Colombian Cashflow Data Extraction t
Who’s it for
This workflow is designed for finance professionals, ac
1a. and 1b.
These nodes trigger the workflow when a file is created
2. Download File
This node downloads the detected file from Google Drive
2. Route
This node routes the workflow based on the file's exten
4. Extract data from PDF
For PDF files, this node extracts all text content dire
5. Reasoning Agent & 5. Reasoning Agent1
These AI-powered 'Reasoning Agent' nodes (Azure OpenAI
4. Extract Data Agent
For JPEG image files, this node uses an AI Agent (Azure
6. Edit Field & 6. Edit Field1
These 'Edit Field' nodes ensure that the AI's extracted
7. Split data & 7. Split Data
These 'Split data' nodes separate the 'items' array fro
8. Fill Template & 8. Fill Template1
These 'Fill Template' nodes append the fully processed
Was this helpful? Let me know!
I really hope this workflow helped you automate your ca
modelmodelmodelparser
Azure OpenAI Chat Model
Azure OpenAI Chat Model2
Azure OpenAI Chat Model3
Structured Output Parser
1
1a. Updated file trigger
1
1b. Created file trigger
2. Download file
3
3. Route
5. Reasoning Agent
6
6. Edit Field
7
7. Split data
8. Fill Template
4
4. Extract data from PDF
4. Extract Data Agent
5. Reasoning Agent1
6
6. Edit Field1
7
7. Split Data
8. Fill Template1
18 nodes17 edges

How it Works

  1. 1

    Trigger

    The workflow starts with a trigger trigger.

  2. 2

    Process

    Data flows through 18 nodes, connecting chainllm, extractfromfile, googledrive.

  3. 3

    Output

    The workflow completes its automation and delivers the result to the configured destination.

Node Details (18)

GO

Google Sheets

googleSheets

#1
GO

Google Drive

googleDrive

#2
BA

Basic LLM Chain

n8n-nodes-langchain.chainLlm

#3
ST

Structured Output Parser

n8n-nodes-langchain.outputParserStructured

#4
AZ

Azure OpenAI Chat Model

n8n-nodes-langchain.lmChatAzureOpenAi

#5

How to Import This Workflow

  1. 1Click Download JSON button on the right to save the workflow file.
  2. 2Open your n8n instance. Go to Workflows → New → Import from file.
  3. 3Select the downloaded extract-colombian-invoice-data-from-drive-to-sheets-with-gpt-4o file and click Import.
  4. 4Set up credentials for each service node (API keys, OAuth, etc.).
  5. 5Click Test Workflow to verify everything works, then activate it.

Or paste directly in n8n → Import from JSON:

{ "name": "Extract Colombian Invoice Data from Drive to Sheets with GPT-4o", "nodes": [...], ...}

Integrations

chainllmextractfromfilegoogledrivegoogledrivetriggergooglesheetslmchatazureopenaioutputparserstructuredsetsplitoutswitch

Get This Workflow

Download and import in one click

Download JSONView on n8n.io
Nodes18
Complexityhigh
Triggertrigger

Created by

Caio Garvil

Caio Garvil

@caiogarvil

Tags

chainllmextractfromfilegoogledrivegoogledrivetriggergooglesheetslmchatazureopenaioutputparserstructuredsetsplitoutswitch

New to n8n?

n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.

Get n8n Free →

Related Invoice Processing Workflows

COCOEMEX+5
medium

Automate Custom QuickBooks Invoice PDFs & Email with n8n

Standard accounting templates often fail to reflect a premium brand identity. This sophisticated n8n workflow bridges the gap between financial record-keeping and professional client presentation. By moving beyond the native limitations of QuickBooks Online, this automation enables businesses to generate high-end, multi-page PDF invoices that align perfectly with their corporate styling. The process begins the moment a new invoice is generated in QuickBooks, triggering a webhook that captures real-time billing data. The workflow then utilizes advanced HTML-to-File conversion and custom Code nodes to structure data into a polished, branded layout. It handles complex logic such as line-item merging and multi-page formatting automatically. Once the document is rendered, the system bypasses generic 'no-reply' senders by routing the finalized PDF through your preferred email provider. This ensures a seamless, white-labeled experience for your clients while eliminating the manual overhead of exporting, styling, and attaching files. Ideal for agencies and service providers, this flow guarantees that your most frequent touchpoint—the bill—is as professional as your work. **Common Use Cases:** - High-end creative agencies requiring bespoke, white-labeled billing documents for premium clients. - Automated recurring subscription billing where custom tax disclosures or localized branding are required. - Service-based businesses needing to attach dynamic project reports or terms of service directly to QuickBooks invoices.

🔗 Webhook·12 nodes