🧾 Extract invoice data from Gmail PDFs to Google Sheets with human review

⚑ 80 views · 🧾 Invoice Processing

Description

This workflow processes invoices (PDFs and images) using Cradl AI’s all-in-one document processing capabilities, including LLM-powered data extraction, validation, human-in-the-loop review, and RAG-powered learning to improve accuracy over time β€” all within a single node.

πŸ’‘ What problem does this workflow solve?

Data extraction workflows often break in production due to hallucinations, lack of validation and error handling, and the difficulty of learning from past errors. This workflow shows how to solve this using Cradl AI as a single node that handles the entire document data extraction pipeline.

πŸ‘₯ Who It’s For

n8n users looking for a production-ready invoice data extraction pipeline.

βœ… Benefits

βš™οΈ Customization

The template is intentionally minimal β€” import and export tend to vary between setups. The following are easy to swap:

πŸš€ Quick Start

  1. Gmail trigger. Connect your Gmail and Google Sheets credentials in the workflow
  2. Cradl AI. Create a free account, run the setup wizard, and select the Invoices template. Fields can be customized later
  3. Google Sheets. Connect credentials and map the extracted fields from the Cradl AI output to your sheet columns

πŸ”— Nodes Used

Google Sheets, Gmail, Gmail Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup