← 返回案例库
CUSTOMER STORY · 财务流程自动化

23 节点 n8n 发票流程:90% 自动处理,每周省 8–10 小时

Validate invoices against inventory and create purchase orders

Tools · 使用工具n8n
Source · 来源原作者 · DEV
Zaowuyun · 可参考能力技能库 + 私有化部署(数据安全)
01

谁在用

Who

一位 n8n 开发者为客户搭建。

02

遇到什么问题

Challenge

客户每周手动处理 40–50 张发票,要核对库存再下采购单。

03

怎么用 AI 解决

Solution
  1. 监控客户 Gmail 中的发票邮件,提取 PDF 附件交给 OpenAI 视觉模型,识别供应商、金额、品项和日期。
  2. 与 Google 表格库存比对。
  3. 品项匹配且金额合理时,在 ERP 创建采购单,发 Slack 通知并回复发件人。
04

结果如何

Results据原作者自述
  • 约 90% 发票自动处理,每周省约 8–10 小时;作者用 3 天搭建,主要在处理边界情况
  • n8n 按节点计执行次数,每张发票约 23 次;量大时注意套餐额度

以上内容均由原作者自行报告,未经独立核实,也不代表造物云产品的效果。

05

提示词

Prompt

参考提示词(由 agentusecases.ai 整理为模板,非原帖原文)

中文

搭一个 n8n 工作流:【邮箱或文件夹】收到新发票时触发,提取供应商、明细和数量,与【Google 表格链接】中的库存比对。品项不足或符合补货规则时,在【ERP 或表格】中起草采购单。提交前先给我审批。

ENGLISH

Build me an n8n workflow that triggers when a new invoice arrives at [email inbox or folder], extracts the vendor, line items and quantities, and checks them against my inventory in [Google Sheets link]. If items are low or match a reorder rule, create a purchase order in [ERP or tool] and notify [purchasing contact] on [Slack or email]. Send anything it can't match to a review list instead of acting on it, and pause to show me the purchase order it is about to create before you enable the live version.