Workflow Automation February 18, 2026 8 min read

How We Cut a Client's Invoice Processing Time from 3 Days to 11 Minutes

A logistics company was drowning in manual invoice work. We built an n8n automation that eliminated every human touchpoint — here's the full breakdown.

By Marliaw Intelligence Team

When a mid-sized logistics company came to us in late 2025, their finance team was spending the better part of every week on a single task: processing invoices. Not reviewing them for discrepancies, not doing strategic financial analysis — just moving data from one place to another. Over and over, 200+ times every week.

The average time from invoice receipt to ERP entry? Three days. By the end of our engagement, that number was 11 minutes — fully automated, with a fraction of the error rate. This is the story of how we got there.

The Before State

Before we mapped a single automation, we spent two days shadowing the finance team. What we observed was a workflow held together with manual effort, email threads, and institutional knowledge that lived entirely in people's heads.

Here's what the manual process looked like, step by step:

  1. A supplier sends an invoice via email — usually as a PDF attachment, sometimes scanned, sometimes digitally generated.
  2. A finance team member opens the email, downloads the PDF, and renames it according to an internal naming convention.
  3. They open a shared Google Sheet and manually type in: vendor name, invoice number, date, due date, line items, subtotal, tax, and total amount.
  4. The sheet entry gets flagged for an accountant to review — usually the next morning, since the accountant handles reviews in batches.
  5. Once approved, someone manually logs into the company's ERP system and re-enters all of the same data.
  6. A confirmation email is sent to the supplier — manually composed and sent.

The team was processing upwards of 200 invoices per week across three staff members. And with manual data entry at every stage, errors were inevitable. Their internal audit showed a 12% error rate — invoices that required correction, re-entry, or follow-up with suppliers before payment could proceed. Each correction added another day or more to the cycle.

"We knew it was inefficient. We just didn't realise how much time it was consuming until someone counted the hours." — Finance Manager, logistics client

Three full-time team members were collectively spending roughly 40 hours per week on invoice processing alone. That's one entire FTE, every single week, doing work that a machine could do better.

Mapping the Automation Opportunity

Our first step was a process audit. We documented every discrete action in the workflow and classified each one along two axes: how automatable it is and how much time it consumes.

Six steps emerged as clear automation candidates:

  1. Email monitoring and attachment detection — a machine can watch an inbox 24/7 with zero fatigue
  2. PDF extraction and parsing — AI can read invoices more accurately than human eyes tired from screen fatigue
  3. Data validation and formatting — rules-based checks catch errors before they propagate
  4. PO matching — comparing invoice data against existing purchase orders is pure pattern-matching
  5. ERP data entry — any ERP with an API can receive structured data programmatically
  6. Supplier confirmation — templated emails triggered automatically on successful processing

The only step that genuinely needed a human was exception handling — invoices where something looked wrong, where the amount didn't match the PO, or where vendor details were unrecognised. Everything else? Automatable.

The n8n Workflow We Built

We chose n8n as our automation backbone. It's open-source, self-hostable, and has native integrations for Gmail, Google Sheets, and virtually every ERP via HTTP request nodes. Crucially, it can call external AI APIs mid-workflow — which was essential for intelligent document parsing.

Here's the full workflow, node by node:

The entire chain — from email arriving to ERP entry complete — runs in under 11 minutes on average. The longest step is the AI extraction API call, which takes 8–15 seconds depending on PDF complexity.

The Exception Handling Path

We were deliberate about designing the failure modes. When the workflow can't confidently process an invoice — because the AI extraction confidence is low, the PO match fails, or the amounts don't reconcile — it doesn't silently fail. It routes to a dedicated Slack channel with the original PDF, the extracted data, and a clear explanation of why it stopped. A human can review in 60 seconds and either approve or flag for supplier follow-up.

This exception rate started at around 8% and dropped to under 3% within a month as we refined the extraction prompts and expanded the supplier whitelist.

The Results

3 days → 11 min

Average invoice processing cycle time, before and after.

12% → 0.3%

Error rate requiring manual correction. AI extraction with validation logic is more consistent than tired eyes.

40 hrs/week saved

Staff time reclaimed from manual invoice processing — equivalent to one full-time employee.

ROI in 6 weeks

Total project cost recovered in under 6 weeks based on FTE cost savings alone. Ongoing cost: n8n hosting (~$50/month) + AI API calls (~$30/month).

Beyond the hard numbers: the finance team reported a dramatic reduction in stress. Month-end close, previously a multi-day scramble, now runs smoothly because invoices are processed in real time throughout the month rather than batching up.

What Made This Possible

Three things had to be true for this automation to work at this level of quality:

1. n8n's Flexibility

Most automation platforms are designed for simple linear workflows. n8n handles branching logic, error routing, and API calls to arbitrary external services without requiring custom code. The ability to call the Claude API mid-workflow — treating AI extraction as just another node — was the architectural unlock that made the whole thing possible.

2. AI-Powered Document Parsing

Traditional OCR tools extract text. They don't understand that "Inv. #" and "Invoice Number:" are the same field, or that a number at the bottom of a column is a total rather than a line item. We used Claude with a carefully engineered extraction prompt that returns structured JSON — not raw text — with explicit field names and a confidence score. This is the difference between "we can read the PDF" and "we understand the invoice."

3. An API-First ERP

The client happened to be on NetSuite, which has a robust REST API. If you're on an ERP that doesn't expose programmatic data entry, this specific workflow becomes significantly harder. That said, even legacy systems often have workarounds — some accept structured CSV uploads, others can be integrated via RPA tools. The principle holds; the implementation details vary.

Is Your Invoice Process a Candidate for Automation?

Not every finance workflow is ready for this level of automation — but most are closer than teams think. Here are five signals that yours probably is:

The Bigger Picture

Invoice automation is one of the highest-ROI automation projects we implement — not because it's glamorous, but because it touches a workflow that runs continuously, involves multiple people, and produces compounding errors when done manually at scale.

The 40 hours per week this team reclaimed weren't lost to a machine. They were redirected: one team member shifted to vendor relationship management, another began doing actual financial analysis rather than data transcription. The automation didn't eliminate jobs — it eliminated the least valuable parts of those jobs and created space for work that requires actual human judgment.

That's the pattern we see consistently across automation engagements. The question is never "can we automate this?" It's "what becomes possible when we do?"

If your finance team is spending meaningful hours every week on invoice processing, we'd be glad to walk through your specific setup and tell you what we think is possible. The conversation is free. The savings tend to be significant.

Ready to automate?

See What We Can Build for You

Every business has different processes. Let's talk about yours.

Get a Free Consultation