Rotate Document in Power Automate
PDF4me Rotate Document action rotates all pages in a PDF document simultaneously in Power Automate for complete orientation correction. This comprehensive rotation feature offers four rotation options (No Rotation, Clockwise 90°, Upside Down 180°, Counter Clockwise 270°), applies rotation to entire document at once, perfect for correcting scanned document orientation, fixing import errors, and standardizing document layouts 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 document rotation services.

Key Features
- Complete Document Rotation: Rotate all pages simultaneously
- Multiple Rotation Angles: 0°, 90°, 180°, 270° rotation options
- Orientation Correction: Fix incorrectly oriented scanned documents
- Batch Processing: Rotate multiple documents in workflows
- Precise Control: Clockwise or counter-clockwise rotation
Parameters
Complete list of parameters for the Rotate Document action. Configure these parameters to control document 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 proper file extension • Used for processing identification • Must include .pdf extension • Supports dynamic naming | Document.pdf |
| 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 Document 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 all pages rotated to specified angle |
| File Name | String | Name of the output rotated PDF file |
JSON Response Format
{
"File Content": "[Binary Content of Rotated PDF]",
"File Name": "Document_Rotated.pdf"
}
Power Automate Flow Usage
Use rotated PDF in subsequent actions:
- SharePoint Upload: Save correctly oriented documents
- Email Distribution: Send properly oriented PDFs
- Print Services: Send correctly oriented documents for printing
- OCR Processing: Process correctly oriented scans
- Archive Storage: Store properly oriented documents
- Further Processing: Use in additional PDF operations
Workflow Examples
The PDF4me Rotate Document action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:
- Scan Orientation Correction
- Fax Orientation Correction
- Batch Correction
- Print Preparation
Automated Scan Orientation Correction Workflow
Transform scanning workflows with automatic orientation fixing:
Complete Workflow Steps:
- Trigger: Document scanned and saved as PDF
- Get Scan: Retrieve scanned PDF from scanner folder
- Detect Orientation: Check if document needs rotation
- Rotate Document: Apply appropriate rotation (90° or 180°)
- Apply OCR: Convert rotated scan to searchable PDF
- Validate Orientation: Confirm text readable with OCR confidence
- Upload SharePoint: Save correctly oriented document
- Delete Original: Remove incorrectly oriented version
Business Benefits:
- Corrects 150+ scanned documents monthly
- Eliminates manual rotation in PDF viewers
- Improves document readability and usability
- Reduces scan reprocessing by 90%
Automated Fax Document Orientation Workflow
Streamline fax processing with automatic rotation:
Complete Workflow Steps:
- Trigger: Fax received and converted to PDF
- Get Fax PDF: Retrieve fax from fax server
- Check Orientation: Analyze if upside down or sideways
- Rotate if Needed: Apply 180° rotation if inverted
- Remove Blank Pages: Clean blank fax pages
- OCR Text: Extract text from correctly oriented fax
- Route by Content: Send to department based on content
- Archive Fax: Store correctly oriented version
Business Benefits:
- Corrects 100+ fax documents weekly
- Ensures faxes are readable upon receipt
- Automates fax orientation handling
- Reduces fax processing delays by 80%
Automated Batch Document Rotation Workflow
Optimize batch processing with bulk orientation correction:
Complete Workflow Steps:
- Trigger: Batch of documents uploaded needing rotation
- Get Document List: Retrieve all documents from folder
- Apply to Each: Process each document
- Rotate 90° Clockwise: Apply standard rotation
- Validate Content: Check text orientation correct
- Compress Document: Optimize after rotation
- Upload Corrected: Save to corrected documents library
- Generate Report: Create batch processing summary
Business Benefits:
- Corrects 200+ documents monthly in batches
- Standardizes document orientation across collections
- Eliminates manual individual rotation
- Reduces batch processing time by 85%
Automated Print Orientation Standardization
Enhance printing with orientation correction:
Complete Workflow Steps:
- Trigger: Document sent to print queue
- Get Document: Retrieve PDF from print folder
- Check Orientation: Detect if landscape needs portrait
- Rotate Document: Apply 90° rotation for proper orientation
- Validate Layout: Check print preview
- Add Print Marks: Insert crop marks if needed
- Send to Printer: Submit correctly oriented document
- Notify Requestor: Confirm print job submitted
Business Benefits:
- Prepares 80+ print jobs monthly with correct orientation
- Prevents wasted prints from orientation errors
- Reduces print waste by 70%
- Ensures professional print output
Industry Use Cases & Applications
Corporate & Business
- Scanned Document Correction: Fix orientation of scanned business documents
- Fax Orientation: Correct fax document rotation issues
- Import Correction: Fix orientation from document imports
- Print Preparation: Ensure correct orientation for printing
Legal & Professional Services
- Case File Correction: Fix orientation of scanned case documents
- Filing Correction: Ensure proper orientation for court filings
- Discovery Documents: Correct orientation in e-discovery batches
- Archive Standardization: Standardize archived document orientation
Healthcare & Medical
- Medical Record Scans: Correct orientation of scanned patient records
- Fax Documents: Fix medical fax orientation
- Imaging Reports: Standardize medical imaging document orientation
- Archive Correction: Fix orientation in medical archives
Education & Training
- Assignment Scanning: Correct student assignment scan orientation
- Document Archival: Standardize historical document orientation
- Research Documents: Fix orientation of research paper scans
- Library Materials: Correct orientation in digital library