メインコンテンツへスキップ

1件の投稿 に「Merge PDFs」というタグが付けられています

すべてのタグを表示

Power Automateで受信メールをすべて監査対応PDFアーカイブに変換する:Outlookの7ステップワークフロー

· 1分で読める
SEO and Content Writer

メールからPDFへのアーカイブ これは、新しいOutlookメールを受信するたびに実行されるPower Automateフローです。メッセージ本文とすべての添付ファイルをPDFに変換し、タイムスタンプ付きの統合PDFにマージし、結果をDropboxに書き込んで長期的なコンプライアンス保持に利用します。アクションは7つ。コードは不要です。メールごとに1つのファイルが作成され、本文が最初に、次に添付ファイルが順番に処理されます。出力ファイル名は 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ステップの動的ワークフロー

· 1分で読める
SEO and Content Writer

「これらの PDF を結合する」チケットの苦痛な部分は結合ではなく、 実行時にフォルダの中身を把握する名前が変わったり、ファイルが出入りしたり、誰かが午後4時55分に5つ目のドキュメントを追加したりします。このウォークスルーでは、正確なパターンを構築します。 パワーオートマタ と PDF4meで複数のPDFファイルを結合する、 Dropbox、そして各ループに 1 つの適用処理があります。フローアクションは 6 つ。ファイル名はハードコードされていません。監視対象フォルダにあるすべての 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でメール本文とすべての添付ファイルを1つの統合PDFに変換する:OutlookとPDF4meを使った7ステップのワークフロー

· 1分で読める
SEO and Content Writer

メール主導のワークフローで苦痛なのはメールそのものではなく、 それに伴うすべて本文にはコンテキスト(送信者、送信理由、実行方法)が含まれ、添付ファイルには成果物(請求書、フォーム、署名済み契約書)が含まれます。これらを別々に保存すると、後でメッセージを再構築するのに将来の自分が3回クリックする必要が生じます。このチュートリアルでは、正確なパターンを構築します。 パワーオートマタ と PDF4meでPDFに変換、 PDF4meで複数のPDFファイルを結合する、 見通し、 Dropbox、そして「各ループに適用」が1つ。フローアクションは7つ。受信メールが1通届きます。統合されたPDFが1つ送信され、本文が先に、次に添付ファイルが1つずつ、タイムスタンプ付きで自動的にアーカイブフォルダに保存されます。

流れの概要
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でパーソナライズされた招待状を作成し、1つのPDFに結合する:Dropboxを使った7ステップのワークフロー

· 1分で読める
SEO and Content Writer

大量郵送の一番つらいところは手紙を書くことではなく、 パーソナライズされたコピーを縫い合わせる そのため、財務、人事、または業務部門は、50 個の添付ファイルの代わりに 1 つのクリーンな PDF を受け取ることができます。このウォークスルーでは、正確なパターンを構築します。 パワーオートマタ と PDF4meで文書を生成する(複数)、 複数のPDFファイルを結合する、 Dropbox、そして「各ループに適用」が1つ。フローアクションは7つ。DOCXテンプレートは1つ。受信者のJSON配列。出力は、受信者ごとに1ページずつ、名前が付けられ、Dropboxに自動的にアップロードされた統合PDFファイル1つ。

流れの概要
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.