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.

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.
| Parameter | Type | Description | Example |
|---|---|---|---|
| PDF File Content*** | Binary | Source 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*** | String | PDF 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*** | String | Attachment 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*** | Option | Type 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
- JSON
- Flow Integration
Table View
Response data in a structured table format:
| Parameter | Type | Description |
|---|---|---|
| File Content | Binary | PDF document with embedded attachment, ready for distribution or storage |
JSON Response Format
{
"File Content": "[Binary Content of PDF with Attachment]"
}
Power Automate Flow Usage
Use PDF with attachment in subsequent actions:
- Email Distribution: Send PDF with embedded attachments via Outlook
- SharePoint Upload: Save comprehensive document packages to libraries
- OneDrive Storage: Store PDFs with attachments in organized folders
- Teams Sharing: Post complete document packages in Teams channels
- Archive Storage: Maintain all related files in single PDF for archival
- Client Delivery: Provide complete document packages to clients
Workflow Examples
The PDF4me Add Attachment To PDF action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Report Packages
- Proposal Packages
- Contract Packages
- Compliance Packages
Automated Report Package Creation Workflow
Transform your reporting process with automated attachment of supporting documents:
Complete Workflow Steps:
- Trigger: Monthly report generation completes - scheduled trigger
- Generate Report: Create main report PDF from BI tool or Excel
- Get Supporting Files: Retrieve related Excel spreadsheets from SharePoint
- Add Attachment 1: Embed raw data Excel file into report PDF
- Get Charts: Retrieve supplementary chart images from OneDrive
- Add Attachment 2: Embed visualization files into report
- Email Distribution: Send complete report package to stakeholders
- 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
Automated Proposal Assembly Workflow
Streamline your proposal creation with automated attachment of supporting documents:
Complete Workflow Steps:
- Trigger: Sales opportunity reaches "Proposal" stage in Dynamics 365
- Generate Proposal: Create main proposal PDF from template
- Get Product Specs: Retrieve product specification PDFs from library
- Add Attachments: Embed product specs into proposal PDF
- Get Case Studies: Fetch relevant case study documents
- Add References: Embed case studies and testimonials
- Get Pricing: Retrieve detailed pricing spreadsheet
- Add Pricing Sheet: Embed pricing details as attachment
Business Benefits:
- Assembles 50+ proposal packages quarterly automatically
- Ensures comprehensive proposals with all supporting materials
- Reduces proposal preparation time from 2 hours to 15 minutes
- Improves win rate by 35% with complete documentation
Automated Contract Document Package Workflow
Optimize your contract distribution with automated attachment assembly:
Complete Workflow Steps:
- Trigger: Contract approved in legal review workflow
- Get Main Contract: Retrieve approved contract PDF
- Get Exhibits: Fetch all contract exhibits from SharePoint
- Add Exhibits: Embed each exhibit as attachment in contract
- Get Schedules: Retrieve payment and delivery schedules
- Add Schedules: Embed schedules into contract package
- Get Terms: Fetch standard terms and conditions document
- Add Terms: Complete package with embedded T&C attachment
Business Benefits:
- Packages 75+ contracts monthly with all required attachments
- Ensures no exhibits or schedules are missed in delivery
- Reduces contract execution errors by 80%
- Maintains complete contract packages for legal compliance
Automated Compliance Document Package Workflow
Enhance your compliance operations with automated supporting document attachment:
Complete Workflow Steps:
- Trigger: Compliance review period ends - quarterly trigger
- Generate Summary: Create compliance summary PDF report
- Get Audit Logs: Retrieve audit trail Excel files from database
- Add Logs: Embed audit logs as attachments in summary
- Get Evidence: Fetch supporting evidence documents
- Add Evidence: Embed all evidence files into package
- Get Certifications: Retrieve compliance certificates
- Add Certificates: Complete package with embedded certifications
Business Benefits:
- Assembles 10+ compliance packages quarterly automatically
- Ensures all required supporting documents included
- Reduces audit preparation time by 70%
- Maintains comprehensive compliance documentation trail
Industry Use Cases & Applications
- Legal & Professional Services
- Finance & Banking
- Healthcare & Medical
- Education & Training
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
Finance & Banking Use Cases
- Loan Packages: Attach supporting financial documents to loan agreements
- Audit Reports: Embed audit trails and supporting evidence
- Investment Reports: Attach detailed analysis spreadsheets to summaries
- Compliance Filings: Package all required documents for regulatory submission
Healthcare & Medical Use Cases
- Patient Records: Attach lab results and imaging reports to records
- Research Documentation: Embed supporting data files in research papers
- Insurance Claims: Attach all supporting documentation to claim forms
- Treatment Plans: Embed protocols and reference materials
Education & Training Use Cases
- Course Packages: Attach supplementary materials to course documents
- Research Papers: Embed data sets and supporting analysis
- Accreditation Documents: Package all required supporting evidence
- Student Records: Attach transcripts and certificates to portfolios