Extract, validate, and log email invoices from Gmail to Google Sheets with GPT-4 — n8n Workflow
Overzicht
Inbox2Ledger is an end-to-end n8n template that turns a noisy finance inbox into a clean, structured ledger. It fetches emails, uses AI guardrails to keep only finance-relevant messages, extracts invoice/receipt fields via an OCR-style agent, validates and auto-categorizes each expense, generates a unique case ID, and appends the result to a Google Sheet for accounting or downstream automations.
Key Features
Trigger*: Form submission or scheduled fetch (sample *On form submission node included
Gebruikte knooppunten
Workflow-voorvertoning
Hoe het werkt
- 1
Trigger
De workflow start met een trigger-trigger.
- 2
Verwerking
Gegevens stromen door 12 knooppunten, connecting agent, code, filter.
- 3
Uitvoer
De workflow voltooit zijn automatisering en levert het resultaat aan de geconfigureerde bestemming.
Knooppuntdetails (12)
Google Sheets
googleSheets
Gmail
gmail
Code
code
AI Agent
n8n-nodes-langchain.agent
OpenAI Chat Model
n8n-nodes-langchain.lmChatOpenAi
Guardrails
n8n-nodes-langchain.guardrails
Hoe deze workflow te importeren
- 1Klik op de knop JSON downloaden rechts om het workflowbestand op te slaan.
- 2Open uw n8n-instantie. Ga naar Workflows → Nieuw → Importeren uit bestand.
- 3Selecteer het gedownloade bestand
extract-validate-and-log-email-invoices-from-gmail-to-google-sheets-with-gpt-4en klik op Importeren. - 4Stel inloggegevens in voor elk serviceknooppunt (API-sleutels, OAuth, enz.).
- 5Klik op Workflow testen om te controleren of alles werkt, activeer het vervolgens.
Of plak rechtstreeks in n8n → Importeren uit JSON:
Integraties
Gemaakt door
Pratyush Kumar Jha
@pratyush
Tags
Nieuw bij n8n?
n8n is een gratis open-source workflow-automatiseringstool. Host het zelf of gebruik de cloudversie.
n8n gratis ophalen →