跳到主要内容

2 篇博文 含有标签「Office 365」

查看所有标签

在 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 中将电子邮件正文和所有附件转换为一个合并的 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).