Overview
An n8n workflow reads incoming supplier bills, has an AI Agent node pull out the key fields, checks them against a log of past bills, and pauses on a Wait node until a named approver signs off.
Problem or Objective
- Which agents run multi-step workflows across your apps?
- Which agents attempt to run whole business processes, and where do people stay in control?
More in Finance and Admin
AI Agents and Models
Tools and Integrations
- Tools
- n8n
- Prerequisites
- An n8n instance, a mailbox for supplier bills, an approved supplier list and a bills log that n8n can read, an API key for a chat model, and an accounting system that accepts draft bills.
How It Works
Set up a dedicated mailbox for supplier bills and connect it to n8n with the node for your mail provider. For each new bill, pass the text to an AI Agent node that returns supplier name, invoice number, date, amount, currency and bank details as structured fields. Look up the supplier in your approved supplier list and the invoice number in your log of processed bills; flag a bill whose number already exists or whose bank details differ from the list. Route every bill to a person: small, clean bills to the finance contact and bills above your threshold or with a flag to an authorised approver, sending them the extracted fields and a link to the original. A Wait node set to resume on a form submission holds the run until they approve or reject. Only an approved bill is added to the log and entered as a draft in your accounting system; payment stays a separate, manual step.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up n8n.
- Connect the toolsConnect the tools this workflow relies on: n8n.
- Check the prerequisitesAn n8n instance, a mailbox for supplier bills, an approved supplier list and a bills log that n8n can read, an API key for a chat model, and an accounting system that accepts draft bills.
- Gather your detailsCollect what the prompt asks for: Text of the incoming bill, Approved supplier list with bank details, Log of bills already processed, Amount above which a senior approver is needed.
- Run the starter promptPaste the starter prompt below into n8n and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at docs.n8n.io before you rely on it.
Practical Starter Prompt: Extract and flag one supplier bill
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Read this supplier bill: [Text of the incoming bill]. Return supplier name, invoice number, invoice date, due date, total amount, currency and bank details as JSON. Compare the supplier with [Approved supplier list with bank details] and the invoice number with [Log of bills already processed]. Add a flag if the invoice number already exists, the bank details differ from the approved list, or the total is above [Amount above which a senior approver is needed]. Do not record, post or pay anything: your output goes to a person who approves or rejects the bill before it is logged or entered in the accounting system.Every bill goes to a person through a Wait node form before it is logged or entered in the accounting system. Bills above the threshold or with a flag go to an authorised approver, who confirms any bank detail change with the supplier directly. Payment is never part of this workflow.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The n8n docs say the AI Agent node connects a chat model to tools, and that a Wait node pauses an execution until a resume condition such as a form submission or a webhook call is met. n8n's site describes human-in-the-loop approvals. The pages do not cover bill processing itself, the duplicate rules, or any accounting system, so those parts are untested here.
Limitations and Considerations
Changed bank details on a bill are a common sign of fraud, so have the approver confirm any change with the supplier by phone using a number you already hold, never one printed on the bill. Keep payment authority outside this workflow. Extracted amounts and invoice numbers can be wrong, so the approver should compare them with the original. Check whether your accounting system offers an n8n node or API for creating draft bills and a test company to try it in; that side was not verified. Supplier bank details are sensitive, so limit who can see the n8n executions. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Official Website
The official site of the main tool or project in this use case.
Related Videos
About n8n-io/n8n
Give Your Agent Tools (n8n Agents Course 5/7) (opens in a new tab)
Walkthrough of n8n by n8n: it is on the project’s own channel.
Watch on YouTube (opens in a new tab)About n8n-io/n8n
n8n AI Nodes: Connect OpenAI, Claude, and Local Models (opens in a new tab)
Walkthrough of n8n by AI Daily Lab: its description links the GitHub repository.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- AI Agent | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- The AI Agent node lets you build an AI agent in n8n: connect a chat model and one or more tools, and the agent decides which tools to call to complete a task.
- Wait | Nodes | n8n Docs (opens in a new tab)
Project documentation · docs.n8n.io · Undated · Source checked 27 Nov 2026, 06:38 UTC
What this source supports
- Use the Wait node to pause your workflow's execution; when the resume condition is met, the workflow reloads the data and the execution continues.
- The Wait node can resume On Webhook Call or On Form Submitted.
- AI Workflow Automation Platform - n8n (opens in a new tab)
Project documentation · n8n.io · Undated · Source checked 25 Nov 2026, 11:59 UTC
What this source supports
- Use structured inputs and outputs for AI actions. Add human-in-the-loop approvals and rule-based automation.

