The AgentivUse cases

Finance · An afternoon

Supplier invoices logged without typing

An agent that reads invoices dropped in a shared Drive folder, extracts the fields into a Google Sheet and queues them for approval

The problem

Supplier invoices arrive as PDFs by email and LINE and someone retypes the number, date, amount and due date into a spreadsheet before the accountant sees them. Typos slip through, due dates get missed and month end starts with a hunt for the invoices nobody logged.

Architecture

  1. Channel
    • Shared Drive invoice folder
    • Supplier invoice PDFs
  2. Agent
    • n8n workflow
    • Model with a fixed field list
  3. Tools
    • Google Sheets register
    • Gmail summary email
  4. Human
    • Finance owner approves
    • Person fills blank fields

Where the data stays: Invoices stay in your Drive and the register in your own Sheet; only the PDF text goes to the model provider.

Design flow

  1. Staff drop the invoice PDF in Drive
  2. PDF turned into plain text
  3. Model pulls the fixed fields
  4. Row added as Pending, summary emailed
  5. Unread fields left blank and highlightedOnly sometimes
  6. Finance owner marks Approved or QueryHuman checkpoint

Setup

Total time: 2 h 15 min our estimate

  1. 20 min

    Done when: One shared Drive folder for invoice PDFs and a Sheet with columns for invoice number, supplier name, address, email, phone, total due, invoice date, due date, file link and status.

  2. 30 min

    Done when: Dropping a test PDF starts an execution in which the Google Drive trigger, the download and the Extract from File node show the invoice as plain text.

  3. 30 min

    The published prompt tells the model it may omit any value it does not know; keep that line.

    Done when: The Information Extractor returns the eight fields for a test invoice, and a field it cannot read comes back empty instead of guessed.

  4. 20 min

    Done when: Each test invoice adds one row with status Pending, and empty cells are highlighted by a conditional format.

  5. 20 min

    Done when: The finance owner receives a short Gmail summary with invoice number, supplier, amount, due date and the file link.

  6. 15 min

    Done when: The finance owner checks each row against the PDF and marks it Approved or Query, and only Approved rows are paid or posted to the accounting system.

Ticks are saved on this browser.

Download the kit (zip)

Risks and data

Data

Invoices carry supplier contact names, emails, phone numbers and amounts. Keep the folder and the register inside your own Google Workspace, limit the Sheet to finance, and check the model provider's data terms before sending invoice text to it.

How it goes wrong

The model misreads an amount or a due date, the same PDF is dropped twice, or a file that is not an invoice lands in the folder and makes a junk row. The published build has no review step, so the Pending status is the guard: the finance owner checks each row against the linked PDF, and a repeated invoice number in the register shows a duplicate.

Data protection. This use case touches personal data, so check the rules where you operate (for example GDPR, PDPA). Invoices carry supplier contact names, emails and phone numbers. Keep the register inside your own Google Workspace, limit sheet access to finance, and check the model provider's data terms before sending documents to it.

How the agent works

  1. It starts

    Staff drop every supplier invoice PDF into one shared Google Drive folder.

  2. The agent works

    A new file triggers the agent, which extracts the text, asks the model for a fixed set of fields (invoice number, supplier name and contact details, total due, invoice date, due date) and appends a row to a Google Sheet that serves as the invoice register. It emails the finance owner a short summary of each new row with a link to the file, and a status column stays at Pending until the owner marks it Approved or Query. Nothing is paid or posted to the accounting system from the sheet without that approval.

  3. The result

    Fields the model could not read are left blank and highlighted so a person fills them in from the PDF.

Worked example

A published n8n build on GitHub does the mechanical part: a Drive trigger on a folder named Invoice Bucket, text extraction, GPT-4 pulling eight fields (invoice number, client name, address, email, phone, total amount due, invoice date, due date), a row in a sheet named Invoice DB, then a GPT-4 drafted summary email sent through Gmail. It has no review step, which is the one thing to add before using it for payments. Qonto, whose Claude based agents handle financial admin for small businesses, states the design rule plainly: the agent can prepare and recommend, but the user makes the decision.

The published build uses GPT-4 in n8n. The extraction prompt works the same with Claude or Gemini, and Make or Zapier can run the Drive to Sheets flow.

Join the Agent OS Club

Get hours back with a team of AI agents for every department, set up step by step for the tools you use, with a person answering your questions. Founding member price: USD 14.95 a month or USD 150 a year, locked for as long as you stay. Cancel any time.

Founding offer, ends 31 December 2026 or at member 100

Join the Agent OS Club

Building this for an organization? Learn more at theagentiv.com

Sources

Published: 2026-10-16

Related use cases

Members pick

Close every client's month without retyping

A Thai accounting office's month, OCR exceptions listed, expenses vouched against the documents, posted to FlowAccount or PEAK as pending approval, the bank reconciled and the withholding tax forms prepared by Claude Code plugins, with a read only checker agent and the accountant approving in the ERP

FinanceEffort: About a weekThailand
Claude CodeFlowAccountPEAK

An accounting office with dozens of clients gets each month as a pile of OCR output full of misreads, expenses that should have had withholding tax, abbreviated tax invoices claimed as input VAT, and a junior who posts first and vouches later. The senior finds the mistakes at close, in the ERP, where undoing them costs more than catching them would have.

Catch the vendor bill error before you pay

Purchase orders matched against shipping records and vendor bills in ChatGPT, so billing errors and retailer chargebacks are caught before a gift wrap company pays

FinanceEffort: An afternoon
ChatGPTAlso works with:ClaudeGemini

A product company that ships to retailers gets its purchase orders, shipping records and vendor bills from three different places, and nobody has time to lay them side by side. A quantity billed but never shipped, or a short shipment the retailer later deducts as a chargeback, only shows up months later in the bank balance.

Thai tax answers that show their source

An agent skill for Claude Code, Claude and ChatGPT answers a Thai SME's withholding tax, VAT and filing deadline questions from an open handbook, cites the Revenue Department or Royal Gazette source behind each rule, shows the calculation line by line and tags what is unconfirmed; the accountant confirms before anything is filed or paid

FinanceEffort: An afternoonThailand
Claude CodeAlso works with:ClaudeChatGPTGemini

An owner of a หจก. or บจก. pays a freelancer, rents an office or crosses the VAT threshold and needs to know the rate, the form and the deadline today, while the accountant answers next week. A chat assistant gives a confident number from memory, and Thai rates change: VAT 7% and the e-WHT 1% rate are both temporary measures with end dates.