Skip to main content

Add Attachment To PDF in Power Automate

PDF4me Add Attachment To PDF action enables embedding file attachments directly into PDF documents through Power Automate workflows. This powerful feature allows you to create comprehensive document packages by attaching supporting files, supplementary materials, and related content within PDFs, with customizable positioning and display text for enhanced document organization across Microsoft 365 automation.

Authenticating Your API Request

To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me's powerful PDF attachment services.

Add Attachment To PDF Power Automate

Key Features

  • File Embedding: Attach files directly within PDF documents for complete packages
  • Custom Positioning: Control attachment icon size and position on pages
  • Display Text Configuration: Add descriptive text for attached files
  • Multiple Attachment Types: Support various file types as PDF attachments
  • Workflow Integration: Use in document assembly and distribution processes

Parameters

Complete list of parameters for the Add Attachment To PDF action. Configure these parameters to control attachment embedding.

Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.

ParameterTypeDescriptionExample
PDF File Content***BinarySource PDF File Content
• Map PDF file from previous action output
• Supports PDFs from SharePoint, OneDrive, email attachments
• Can be dynamically retrieved from flow variables
• Must be valid PDF document for attachment addition
[File Content from Get File]
PDF File Name***StringPDF Document Name
• Specify source PDF file name with .pdf extension
• Used for processing and output file naming
• Must include proper file extension
• Supports dynamic naming from flow variables
Report.pdf
Text***StringAttachment Display Text
• Text label for the attachment icon
• Appears as visible text near attachment in PDF
• Helps users identify the attached file
• Supports dynamic content from flow variables
Supporting Documents
Attachment Type***OptionType of Attachment
File - Attach external file to PDF
Document - Embed another document as attachment
Note - Add text note as attachment
• Determines how attachment is handled in PDF
File

Output

The PDF4me Add Attachment To PDF action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
File ContentBinaryPDF document with embedded attachment, ready for distribution or storage

Workflow Examples

The PDF4me Add Attachment To PDF action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Report Package Creation Workflow

Transform your reporting process with automated attachment of supporting documents:

Complete Workflow Steps:

  1. Trigger: Monthly report generation completes - scheduled trigger
  2. Generate Report: Create main report PDF from BI tool or Excel
  3. Get Supporting Files: Retrieve related Excel spreadsheets from SharePoint
  4. Add Attachment 1: Embed raw data Excel file into report PDF
  5. Get Charts: Retrieve supplementary chart images from OneDrive
  6. Add Attachment 2: Embed visualization files into report
  7. Email Distribution: Send complete report package to stakeholders
  8. Archive Package: Store comprehensive report in SharePoint library

Business Benefits:

  • Creates 25+ complete report packages monthly automatically
  • Ensures all supporting materials travel with main report
  • Reduces email attachment management by 90%
  • Maintains document relationships in single file for archival

Industry Use Cases & Applications

Legal & Professional Services Use Cases

  • Contract Packages: Embed exhibits, schedules, and appendices in contracts
  • Case Files: Attach evidence documents and supporting materials
  • Legal Opinions: Embed reference documents and case law citations
  • Client Deliverables: Package all related documents for client delivery

Get Help