跳到主要内容

1 篇博文 含有标签「DOCX template」

查看所有标签

在 Power Automate 中生成个性化邀请函并将其合并到一个 PDF 文件中:Dropbox 工作流程的 7 个步骤

· 阅读需 26 分钟
SEO and Content Writer

批量邮件发送最痛苦的部分不是写信,而是…… 将个性化副本缝合在一起 这样,财务、人力资源或运营部门就能收到一份简洁的PDF文件,而不是五十个附件。本教程将逐步构建出完全相同的模式。 动力自动化PDF4me 生成文档(多个)合并多个PDF文件Dropbox以及一个“应用到每个”循环。七个流程操作。一个 DOCX 模板。一个收件人 JSON 数组。最终生成一个合并的 PDF 文件,每个收件人一页,自动命名并上传回 Dropbox。

流程概览
1. Manual trigger
Manually trigger a flow. Swap in any business trigger later (HTTP, SharePoint, schedule).
2. Get file content (path)
Dropbox path /blog data/merge blog template/template.docx, Infer Content Type Yes.
3. Generate Documents (Multiple)
PDF4me action. Template DOCX plus JSON array of recipients. Output Type PDF. Returns body/outputDocuments.
4. Initialize variable
Name mergefiles, Type Array. Buffer for the per-recipient PDF binaries.
5. Apply to each
Loop body/outputDocuments. Inside, Append to array variable with base64ToBinary on streamFile.
6. Merge multiple PDFs
PDF4me action. Body/docContent mergefiles, Output File Name Test.pdf. One combined PDF out.
7. Create file
Dropbox /blog data/merge blog template/output, File Name Merged_files.pdf.