跳到主要内容

4 篇博文 含有标签「Merge PDFs」

查看所有标签

在 Power Automate 中将每封收到的电子邮件转换为可用于审计的 PDF 存档:7 个步骤的 Outlook 工作流程

· 阅读需 29 分钟
SEO and Content Writer

电子邮件转PDF存档 这是一个 Power Automate 流,它会在收到每封新的 Outlook 邮件时触发,将邮件正文和所有附件转换为 PDF 格式,合并成一个带有时间戳的 PDF 文件,并将结果写入 Dropbox 以进行长期合规性保存。共七个操作。无需编写代码。每封邮件生成一个文件,先生成邮件正文,然后按顺序生成附件。输出文件名为 merge-YYYYMMDD-HHmmss.pdf 因此,每个存档条目都可以唯一排序。

审计团队、档案管理负责人和合规官需要以防篡改、可搜索的格式保存电子邮件证据,并确保其符合 Exchange 的数据保留策略。Outlook 原生导出功能需要手动逐个文件导出,并且会丢失附件。本教程将介绍一种无需编写代码的替代方案:所有收到的电子邮件都会自动合并成一个 PDF 文件,并保留原始文件。 .eml 附件仍保留在 Outlook 中以作法律保留,但存档 PDF 才是权威记录副本。

流程概览
1. When a new email arrives (V3)
Outlook trigger filtered by To address. Include Attachments Yes, Only with Attachments Yes.
2. Initialize variable
Name email, Type Array. Holds every PDF binary in order.
3. Convert to PDF Body
PDF4me action. Reads triggerOutputs body/body (the HTML body), returns the body as a PDF page 1.
4. Append to array (email body)
Pushes base64ToBinary on the converted body PDF onto the email array. Becomes page 1 of the final archive.
5. Apply to each attachment
Loops triggerOutputs body/attachments. Inside, Convert to PDF then Append to array with base64ToBinary on $content.
6. Merge multiple PDFs
PDF4me action. Body/docContent is the email array. Output File Name Email Attachment Merge Output.pdf.
7. Create file
Dropbox /blog data/merge blog template/output. File Name concat(merge-, formatDateTime(utcNow(), yyyyMMdd-HHmmss), .pdf).

在 Power Automate 中自动合并拖放到 Dropbox 文件夹中的每个 PDF 文件:6 步动态工作流程

· 阅读需 25 分钟
SEO and Content Writer

“合并这些PDF”工单最痛苦的部分不是合并本身,而是…… 知道运行时文件夹中包含什么内容名称会更改,文件会添加和删除,有人在下午 4:55 添加了第五个文档。本教程将构建出完全相同的模式。 动力自动化PDF4me 合并多个 PDF 文件Dropbox以及一个“应用到每个”循环。六个流程操作。零硬编码文件名。当有新文件到达时,监控文件夹中当前的所有 PDF 文件都会被拼接在一起,输出名称会包含文件计数,因此每次运行都具有唯一标识。

流程概览
1. When a file is created
Dropbox trigger on /blog data/merge files dropbox. Fires the moment any file lands.
2. List files in folder
Dropbox action on the same folder. Returns every current file as an array of metadata objects.
3. Initialize variable
Name Files, Type Array. Buffer for the binary content of every file.
4. Apply to each
Loop body(List_files_in_folder). Inside, Get file content by Id, then Append to array with base64ToBinary on $content.
5. Merge multiple PDFs
PDF4me action. Body/docContent the Files array, Output File Name Output.pdf. One consolidated PDF out.
6. Create file
Dropbox /blog data/merge blog template/output. File Name expression concat(merge-, length(List_files_in_folder), .pdf).

在 Power Automate 中将电子邮件正文和所有附件转换为一个合并的 PDF 文件:Outlook + PDF4me 的 7 步工作流程

· 阅读需 27 分钟
SEO and Content Writer

以电子邮件为主导的工作流程中最痛苦的部分不是电子邮件本身,而是…… 以及随之而来的一切邮件正文包含上下文信息(谁发的、为什么发的、该怎么做),附件包含相关文件(发票、表格、已签署的合同),将它们分开存储意味着以后你需要点击三次才能重建邮件。本教程将构建一个精确的模式。 动力自动化PDF4me 转换为 PDFPDF4me 合并多个 PDF 文件前景Dropbox以及一个“应用到每个”循环。七个流程操作。一封收到的电子邮件被接收。一个合并后的 PDF 文件被发送出去,先发送正文,然后逐个发送附件,自动添加时间戳并放入您的存档文件夹。

流程概览
1. When a new email arrives (V3)
Outlook trigger on To [email protected]. Include Attachments Yes, Only with Attachments Yes.
2. Initialize variable
Name email, Type Array. Buffer for every PDF binary the flow produces.
3. Convert to PDF Body
PDF4me action. Content triggerOutputs body/body (the HTML body), File Name email-body.html. Returns the body as PDF.
4. Append to array (email body)
Push base64ToBinary on the converted body PDF onto the email array. This is page 1 of the final document.
5. Apply to each attachment
Loop triggerOutputs body/attachments. Convert each to PDF, then Append to array with base64ToBinary.
6. Merge multiple PDFs
PDF4me action. Body/docContent the email array, Output File Name Email Attachment Merge Output.pdf.
7. Create file
Dropbox /blog data/merge blog template/output. File Name concat(merge-, formatDateTime(utcNow(), yyyyMMdd-HHmmss), .pdf).

在 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.