跳到主要内容

1 篇博文 含有标签「PDF - Sign」

查看所有标签

在 Power Automate 中将 SharePoint 列表转换为已填写和签名的 PDF!

· 阅读需 23 分钟
SEO and Content Writer

填写PDF表格 是一个 动力自动化 该操作接受一个可填写的 PDF 模板和一个 JSON 有效负载,并返回一个所有字段都已预先填充的 PDF 文件。添加 PDF签名SharePoint 创建项目时 触发后,整个发票生成流程将实现无人值守:同事添加一行,Power Automate 生成签名 PDF,Dropbox 将其存储在带有时间戳的文件名下。

发票式工作流程中最令人头疼的部分不是PDF文件,而是…… 中间的手动步骤有人打开模板,从电子表格的一行中重新输入八个字段,打印、签名、扫描并上传。每个字段都可能导致客户姓名拼写错误或金额少一个零。本教程用七个 Power Automate 操作取代了这些繁琐的步骤:SharePoint 触发,Dropbox 提供模板和签名图片,PDF4me 填写表单并添加签名,Dropbox 存储最终文件。提供真实屏幕截图、精确的“撰写”表达式、SharePoint 架构和已签名发票示例供下载。

流程概览
1. When an item is created
SharePoint trigger on New Customer Invoices list. Fires the flow every time a row is added.
2. Get file content
Dropbox reads sample_fill_form.pdf from /blog data/fill a pdf/. Infer Content Type Yes to keep the binary intact.
3. Get file content 1
Dropbox reads signature.png from the same folder. Same Infer Content Type Yes toggle.
4. Compose
Builds one JSON payload from the SharePoint row: customerName, email, phone, invoiceNumber, invoiceDate, address, amount.
5. Fill a PDF Form
PDF4me action. Template File Data the PDF binary, JSON Data the Compose output, Keep PDF template Editable No.
6. PDF - Sign
PDF4me action. Stamps signature.png right-bottom on page 1, 50 wide by 20 high, margin 15, opacity 100.
7. Create file
Dropbox /blog data/fill a pdf/output. File Name concat(Signed_, invoiceNumber, _, ticks(utcNow()), .pdf).