Extract and Organize Colombian Invoices with Gmail, GPT-4o & Google Workspace โ n8n Workflow
Overview
๐งพ Personal Invoice Processor
This N8N workflow automates the extraction and organization of personal invoices in Colombia received via Gmail. It includes the following key steps:
๐ Flow Summary
Email Trigger Polls Gmail every 30 minutes for emails with .zip attachments (assumed to contain invoices). Expects ZIP file following DIAN standards.
ZIP File Handling Extracts all files. Filters only PDF and XML files for processing.
Data Extraction & Processing Uses LangChain Agent +
Nodes used
Workflow Preview
How it Works
- 1
Trigger
The workflow starts with a trigger trigger.
- 2
Process
Data flows through 22 nodes, connecting agent, aggregate, code.
- 3
Output
The workflow completes its automation and delivers the result to the configured destination.
Node Details (22)
Google Sheets
googleSheets
Google Drive
googleDrive
Compression
compression
Code
code
AI Agent
n8n-nodes-langchain.agent
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
n8n-nodes-langchain.outputParserStructured
Calculator
n8n-nodes-langchain.toolCalculator
How to Import This Workflow
- 1Click Download JSON button on the right to save the workflow file.
- 2Open your n8n instance. Go to Workflows โ New โ Import from file.
- 3Select the downloaded
extract-and-organize-colombian-invoices-with-gmail-gpt-4o-google-workspacefile and click Import. - 4Set up credentials for each service node (API keys, OAuth, etc.).
- 5Click Test Workflow to verify everything works, then activate it.
Or paste directly in n8n โ Import from JSON:
Integrations
Created by
Juan Sanchez
@juansave
Tags
New to n8n?
n8n is a free, open-source workflow automation tool. Self-host it or use the cloud version.
Get n8n Free โ