Skip to main content

Compress PDF in Power Automate

PDF4me Compress PDF action delivers intelligent PDF file size reduction in Power Automate with three optimization profiles tailored for specific use cases. This powerful compression service reduces storage requirements and transfer times while preserving document quality, making it ideal for email distribution, web publishing, and archival storage across Microsoft 365 workflows.

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 compression services.

Compress PDF Power Automate

Key Features

  • Multiple Compression Profiles: Choose from Maximum, Web, or Print optimization profiles
  • Intelligent Compression: Automatically optimize images, fonts, and document structure
  • Quality Control: Balance file size reduction with visual quality preservation
  • Fast Processing: Compress large PDFs quickly for immediate use
  • Flow Integration: Use compressed PDFs in subsequent Power Automate actions

Parameters

Complete list of parameters for the Compress PDF action. Configure these parameters to control PDF compression.

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

ParameterTypeDescriptionExample
File Content***BinarySource PDF File Content
• Map PDF file content from previous action output
• Supports PDFs of any size and complexity
• Can be from SharePoint, OneDrive, email attachments, databases
• Accepts dynamic content from flow variables
[File Content from Get File]
File Name***StringPDF File Name
• Specify source PDF file name with .pdf extension
• Used for processing and output file naming
• Should match source file naming convention
• Supports dynamic naming from flow variables
AnnualReport.pdf
Optimize Profile***OptionCompression Strategy Selection
Maximum Compression - Smallest file size, fast downloads, optimized display, ideal for email and online sharing
For Web - Small size, short download time, fast display, perfect for website publishing and web applications
For Print - Correct fonts, right color scheme, suitable resolution, best for print-ready documents with minor image DPI reduction
Maximum Compression

Output

The PDF4me Compress PDF action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
File ContentBinaryCompressed PDF file content in binary format ready for storage or distribution
File NameStringName of the compressed PDF output file

Workflow Examples

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

Automated Report Compression for Email Distribution

Transform your reporting workflows with automated PDF compression before email delivery:

Complete Workflow Steps:

  1. Trigger: Scheduled trigger - monthly on 1st at 9 AM for report generation
  2. Generate Report: Create comprehensive monthly PDF report from data sources
  3. Get Report Size: Check generated PDF file size for compression need
  4. Compress PDF: Apply Maximum Compression for email-friendly file size
  5. Compare Sizes: Calculate compression ratio and size reduction achieved
  6. Email Stakeholders: Send compressed report to distribution list via Outlook
  7. Archive Original: Store uncompressed version in SharePoint archive
  8. Log Metrics: Record compression statistics to Excel tracking sheet

Business Benefits:

  • Reduces report file sizes by 85% enabling email delivery
  • Processes 50+ monthly reports automatically
  • Eliminates email bounce-backs from file size restrictions
  • Saves 200GB annually in email server storage

Industry Use Cases & Applications

Publishing & Media Use Cases

  • Digital Publications: Compress magazines and newspapers for online distribution
  • eBooks: Optimize eBook PDFs for faster downloads and storage
  • Marketing Materials: Reduce brochure and catalog file sizes for email campaigns
  • Press Releases: Compress media kits for journalist distribution

Get Help