Rotate Page in Power Automate
PDF4me Rotate Page action rotates specific individual pages in PDF documents in Power Automate with precise page targeting. This selective rotation feature specifies exact page numbers, offers four rotation angles (No Rotation, Clockwise 90°, Upside Down 180°, Counter Clockwise 270°), leaves other pages unchanged, perfect for correcting mixed-orientation documents, fixing specific page errors, and maintaining document integrity while adjusting problematic pages 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 page rotation services.

Key Features
- Selective Page Rotation: Rotate specific pages by number
- Precise Targeting: Specify exact page to rotate
- Multiple Angles: 0°, 90°, 180°, 270° rotation options
- Other Pages Unchanged: Preserve orientation of non-targeted pages
- Mixed Orientation Correction: Fix documents with varied page orientations
Parameters
Complete list of parameters for the Rotate Page action. Configure these parameters to control page rotation.
Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.
| Parameter | Type | Description | Example |
|---|---|---|---|
| File Content*** | Binary | Source PDF Content • 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*** | String | PDF Document Name • Source file name with file extension • Used for processing identification • Should include .pdf extension • Supports dynamic naming | Document.pdf |
| Page Number*** | Integer | Target Page Number • Page number from document to rotate • Numeric value for specific page • Must be valid page within document • Single page per action call | 5 |
| Rotation Type*** | Option | Rotation Angle • No Rotation (0°) - Keep original orientation • Clockwise (90°) - Rotate 90 degrees clockwise • Upside Down (180°) - Rotate 180 degrees • Counter Clockwise (270°) - Rotate 270 degrees (or 90 counter-clockwise) | Clockwise (90°) |
Output
The PDF4me Rotate Page 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 specified page rotated |
| File Name | String | Name of the output PDF file with rotated page |
JSON Response Format
{
"File Content": "[Binary Content of PDF with Rotated Page]",
"File Name": "Document_PageRotated.pdf"
}
Power Automate Flow Usage
Use PDF with rotated page in subsequent actions:
- SharePoint Upload: Save corrected documents to libraries
- Email Distribution: Send properly oriented documents
- Print Services: Send print-ready documents
- Further Rotation: Rotate additional pages if needed
- Archive Storage: Store corrected documents
- Quality Check: Validate orientation correction
Workflow Examples
The PDF4me Rotate Page action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Mixed Orientation Fix
- Landscape Page Correction
- Appendix Correction
- Signature Page Correction
Automated Mixed-Orientation Document Correction
Transform document quality with selective page rotation:
Complete Workflow Steps:
- Trigger: Scanned document with mixed page orientations uploaded
- Get Document: Retrieve PDF with orientation issues
- Identify Wrong Pages: Detect pages 3, 7, 12 need rotation
- Rotate Page 3: Apply 90° clockwise rotation
- Rotate Page 7: Apply 180° upside-down rotation
- Rotate Page 12: Apply 90° clockwise rotation
- Validate All Pages: Check all pages readable
- Upload Corrected: Save to processed documents library
Business Benefits:
- Fixes 75+ mixed-orientation documents monthly
- Corrects specific problem pages without affecting others
- Reduces manual page-by-page rotation time by 90%
- Improves document readability and professionalism
Automated Landscape Page Rotation Workflow
Streamline document formatting with landscape page fixing:
Complete Workflow Steps:
- Trigger: Report with landscape charts needs orientation fix
- Get Report: Retrieve PDF with mixed portrait/landscape
- Identify Landscape: Find pages 5, 8, 15 are landscape
- Rotate Page 5: Apply 270° to convert to portrait
- Rotate Page 8: Apply 270° rotation
- Rotate Page 15: Apply 270° rotation
- Validate Format: Check all pages now portrait
- Email Distribution: Send standardized portrait document
Business Benefits:
- Standardizes 40+ reports monthly to single orientation
- Enables consistent portrait document format
- Improves printability and binding
- Reduces manual page rotation by 95%
Automated Appendix Page Orientation Workflow
Optimize document completeness with appendix rotation:
Complete Workflow Steps:
- Trigger: Document compiled with appendices from various sources
- Get Document: Retrieve compiled PDF
- Check Appendix Pages: Identify appendix pages needing rotation
- Rotate Appendix 1: Fix page 45 orientation
- Rotate Appendix 2: Fix page 52 orientation
- Validate Document: Check all content readable
- Add Page Numbers: Apply consistent page numbering
- Finalize Document: Save completed corrected version
Business Benefits:
- Completes 30+ compiled documents monthly
- Ensures professional appearance throughout
- Fixes appendix orientation issues automatically
- Reduces document finalization time by 70%
Automated Signature Page Rotation Workflow
Enhance contract processing with signature page fixing:
Complete Workflow Steps:
- Trigger: Contract assembled with signature page from scan
- Get Contract: Retrieve contract PDF
- Check Last Page: Identify signature page orientation
- Rotate Signature Page: Apply rotation to last page only
- Validate Signatures: Ensure signature blocks readable
- Add Page Numbers: Apply consistent numbering
- Email for Signing: Send correctly oriented contract
- Archive Template: Store corrected version as template
Business Benefits:
- Corrects 50+ contract signature pages monthly
- Ensures signature pages properly oriented
- Prevents signing errors from orientation issues
- Improves contract execution success rate
Industry Use Cases & Applications
Corporate & Business
- Mixed Document Fixing: Correct specific pages in multi-source documents
- Landscape Chart Rotation: Fix sideways charts and tables
- Scanned Page Correction: Correct individual scanned page orientation
- Appendix Fixing: Rotate appendix pages to match main document
Legal & Professional Services
- Exhibit Correction: Fix orientation of individual exhibits
- Signature Page Rotation: Correct signature page orientation
- Filed Document Fixing: Correct specific pages in filed documents
- Mixed Source Documents: Fix pages from various scanning sources
Healthcare & Medical
- Medical Record Pages: Correct specific pages in patient records
- Lab Result Rotation: Fix orientation of individual lab pages
- Imaging Report Pages: Correct specific report pages
- Chart Page Fixing: Rotate individual patient chart pages
Education & Training
- Mixed Assignment Pages: Correct student assignment page orientations
- Scanned Material Fixing: Fix specific pages in scanned course materials
- Research Document Pages: Correct individual research document pages
- Handout Correction: Fix orientation of specific handout pages