跳到主要内容

3 篇博文 含有标签「Code by Zapier」

查看所有标签

在 Zapier 中按供应商名称重命名所有供应商发票:5 步 Dropbox + PDF4me AI 工作流程

· 阅读需 23 分钟
SEO and Content Writer

应付账款中最令人头疼的部分不是支付发票,而是…… 三周后才找到正确的供应商发票 当财务部门询问时。每个供应商的文件命名方式都不同。一半是 invoice.pdf另一半是 INV-2089-FINAL-v3.pdf 供应商曾四次更改命名规则。解决方法:让 AI 在每张发票到达时立即读取供应商名称,然后在文件进入长期存储之前重命名该文件。本教程将构建这种精确的模式。 ZapierPDF4me AI - 文档解析器 以及 2 行 Zapier 代码 步骤。五个 Zap 步骤。真实截图。供应商名称即为文件名。符合审计要求的文件夹。搜索功能即刻可用。

Zap概览
1. Dropbox: New File in Folder
Trigger. Polls /MuneerTrigger every 2 min for any new vendor invoice that lands in the intake folder.
2. Dropbox: Find File
Looks up the matching file in /pdf4metest/sample so the AI parser gets a real binary, not just a Dropbox metadata pointer.
3. PDF4me: AI - Document Parser
Runs the default_invoice_extraction Analyzer. Returns Vendor Name, Invoice Number, Total, Dates, Line Items as JSON.
4. Code by Zapier: Run JavaScript
Two lines. JSON.parse the Doc Text into a real object so step 5 can use Vendor Name as a Zapier token.
5. Dropbox: Upload File
Writes the original file back to /pdf4meoutput with Vendor Name as the filename and the original extension preserved.

在 Zapier 中使用 AI 重命名供应商发票:Dropbox + PDF4me 的 5 步工作流程

· 阅读需 21 分钟
SEO and Content Writer

应付账款中最令人头疼的部分不是支付发票,而是…… 寻找 三周后有人索要时,发现正确的发票仍然存放在仓库里。每个供应商的文件命名方式都不同,每次扫描都是如此。 untitled (3).pdf每个 Dropbox 文件夹都会变成一个无底洞。解决方法是让 AI 在发票到达时立即读取,提取客户姓名,并在文件进入长期存储之前重命名文件。本教程将构建一个精确的模式。 ZapierPDF4me AI - 文档解析器Dropbox以及 2 行 Zapier 代码 步骤。五个 Zap 步骤。来自一个正常运行的 Zap 的真实屏幕截图。供应商名称将变为文件名。搜索功能再次正常运作。

Zap概览
1. Dropbox: New File in Folder
Trigger. Polls /MuneerTrigger every 2 min for new files. Use any inbox folder where vendor invoices land.
2. Dropbox: Find File
Looks up the matching file in /pdf4metest/sample by File Name so we get the binary content into the Zap.
3. PDF4me: AI - Document Parser
Runs the default_invoice_extraction Analyzer against the file. Returns JSON keyed by the Analyzer schema (Customer Name, dates, totals, line items).
4. Code by Zapier: Run JavaScript
Two lines. JSON.parse the Doc Text into a real object so the next step can read its properties as tokens.
5. Dropbox: Upload File
Writes the original file back to /pdf4meoutput with Customer Name as the filename and the original extension.

Dropbox 里堆满了瑞士二维码账单?用 Zapier 代码自动重命名它们

· 阅读需 15 分钟
SEO and Content Writer

瑞士的二维码发票PDF、付款单、账单和收据都使用通用名称。您需要按债务人、债权人、金额或参考编号重命名这些文件,以便进行搜索、核对和归档。手动重命名效率低下。

解决方法: A Zapier 只需四步即可完成 Zap,无需查找文件。 文件夹中的新文件 (触发器)直接给你文件。 读取 SwissQR 码 (PDF4me)将二维码账单数据提取为 JSON 格式。 Zapier 代码 解析它并提取你想要的字段(债务人)。 ud_Name债权人 cr_Name(IBAN 或参考编号)。 上传文件 每次都保存同一个PDF文件,文件名不变,且文件名可搜索。

本指南将引导您完成每个步骤。每个字段、文件夹路径和映射都经过 Zapier 屏幕截图的核实。