Templates / Extract and validate invoice PDFs into Excel with OpenAI GPT-4o-mini

Extract and validate invoice PDFs into Excel with OpenAI GPT-4o-mini

Ready for 3.0

by Tirumalesh Bodavula · 3 views · created 2026-09-22 · Invoice Processing, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 40 nodes and runs on a schedule (every day at 04:00). Along the way it connects OpenAI.

How it runs

Trigger: On a schedule (every day at 04:00).

  1. Identify Deployment Mode (Code): runs custom JavaScript code
  2. Check Local Deployment Status (If): checks a condition and branches into true / false
  3. Verify Invoices Directory (Code): runs custom JavaScript code
  4. Confirm Invoices Directory Exists (If): checks a condition and branches into true / false
  5. Configure Local Drive Settings (Code): runs custom JavaScript code
  6. Compile Final Configuration (Code): runs custom JavaScript code
  7. Set Initial Configurations (Edit Fields (Set)): sets or maps fields
  8. Retrieve Execution Info (Code): runs custom JavaScript code
  9. Initialize Exec Report Content (Code): runs custom JavaScript code
  10. Route by Input Source (Switch): routes items into 2 branches

…plus 29 more steps. See the full node list below.

Services it uses

OpenAI

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (11)

From the author

Quick overview This workflow runs on a daily schedule, reads invoice PDFs from a local folder, extracts structured invoice data with OpenAI (gpt-4o-mini), validates required fields and subtotal math, and writes per-invoice Excel outputs plus an execution…

Excerpt from Tirumalesh Bodavula's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.