Skip to content
NEWError doctor and Watchtower: failed n8n runs explained in plain words, and emailed to you. See what is new

Library / Finance, Invoices & Accounting

Finance, Invoices & Accounting

Process Invoices with Mistral OCR and GPT-4o mini

When a new invoice appears in Google Drive, Mistral OCR extracts the text and an OpenAI GPT-4o-mini agent structures the invoice data as JSON.

The steps

  1. Google Drive Trigger: New Invoice Detection
  2. Google Drive: Download Invoice
  3. Mistral OCR API: Extract Text
  4. Data Splitter: OCR Pages
  5. Field Extractor: Page Markdown
  6. Data Aggregator: Combine Pages
  7. AI Agent: Structure Invoice Data
  8. AI Engine: GPT-4o-mini
  9. JSON Parser: Invoice Structure
  10. Convert invoice File to Base64

Similar automations