Skip to main content

Resize PDF in Power Automate

PDF4me Resize PDF action resizes PDF pages to different paper sizes in Power Automate with standard format conversion, padding control, and custom dimension support. This comprehensive resizing feature converts pages to standard formats (A0-A6, Letter, Legal), adds padding margins, supports custom width/height dimensions, and applies to specific pages or entire documents, perfect for format standardization, print preparation, and document layout optimization 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 resizing services.

Resize PDF Power Automate

Key Features

  • Standard Paper Sizes: Convert to A0-A6, Letter, Legal, Ledger formats
  • Custom Dimensions: Set exact width and height in millimeters
  • Padding Control: Add padding margins on all sides
  • Page Selection: Apply resizing to specific pages or all pages
  • Format Standardization: Standardize document formats for consistency

Parameters

Complete list of parameters for the Resize PDF action. Configure these parameters to control page resizing.

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

ParameterTypeDescriptionExample
File Content***BinarySource PDF File
• Map PDF file content from previous action
• Supports PDFs from SharePoint, OneDrive, email
• Can be dynamically retrieved from flows
• Must be valid PDF document
[File Content from Get File]
File Name***StringPDF Document Name
• Source file name with proper file extension
• Used for processing identification
• Must include .pdf extension
• Supports dynamic naming
abc.pdf
Page SequenceStringPage Selection
• Pages where resizing needs to be applied
• Use numbers: 1,2,3 for specific pages
• Use all for all pages
• Use first or last for single pages
• Default is 1 for first page
1
Is PageSize RequestedOptionEnable Page Size Resizing
Yes - Apply page size resizing
No - Skip page size resizing
• Controls whether page size is changed
• Required for resizing functionality
Yes
Page Size TypeOptionTarget Paper Format
A0, A1, A2, A3, A4, A5, A6 - ISO A-series formats
B5 - ISO B-series format
Letter, Legal, Ledger - North American formats
11*17 - Tabloid format
• Determines target page dimensions
A6
Padding TopNumberTop Padding Margin
• Padding margin at top of page in millimeters
• Additional space added above content
• Default is 0 if not specified
• Creates space for headers or annotations
0
Padding BottomNumberBottom Padding Margin
• Padding margin at bottom of page in millimeters
• Additional space added below content
• Default is 0 if not specified
• Creates space for footers or page numbers
0
Padding LeftNumberLeft Padding Margin
• Padding margin at left side of page in millimeters
• Additional space added to left of content
• Default is 0 if not specified
• Creates space for binding or annotations
0
Padding RightNumberRight Padding Margin
• Padding margin at right side of page in millimeters
• Additional space added to right of content
• Default is 0 if not specified
• Creates space for annotations or margins
0
Custom Width(mm)NumberCustom Page Width
• Custom page width in millimeters
• Used when standard sizes don't fit requirements
• Overrides Page Size Type if specified
• Enables exact dimension control
-
Custom Height(mm)NumberCustom Page Height
• Custom page height in millimeters
• Used when standard sizes don't fit requirements
• Overrides Page Size Type if specified
• Enables exact dimension control
-

Output

The PDF4me Resize 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 pages resized to specified dimensions
File NameStringName of the output resized PDF file

Workflow Examples

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

Automated Document Format Standardization Workflow

Transform your document management with automated format standardization:

Complete Workflow Steps:

  1. Trigger: Document uploaded to SharePoint library
  2. Get Document: Retrieve uploaded PDF file
  3. Check Page Size: Detect current page dimensions
  4. Resize to A4: Convert all pages to A4 format
  5. Add Padding: Add standard margins if needed
  6. Validate Format: Confirm all pages are A4
  7. Upload Standardized: Save formatted document to library
  8. Notify Team: Alert team via Teams that document standardized

Business Benefits:

  • Standardizes 200+ documents monthly automatically
  • Ensures consistent document formats across organization
  • Reduces manual format conversion time by 90%
  • Improves document consistency and professionalism

Industry Use Cases & Applications

Corporate & Business Use Cases

  • Format Standardization: Standardize document formats across organization
  • Print Preparation: Prepare documents for specific print sizes
  • Report Formatting: Format business reports to standard sizes
  • Archive Management: Standardize archived document formats

Get Help