Skip to main content

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.

Related Blog Posts
No blog post yet for this feature — coming soon.
In the meantime, browse the PDF4me blog for tutorials and workflows across every platform.
Visit the blog →

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.

Rotate Page Power Automate

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.

ParameterRequiredWhat it doesExample
PDF File contentRequiredContent of the PDF. Map it from the file content returned by a previous action, such as SharePoint or OneDrive Get file content.@{body('Get_file_content')?['$content']}
PDF File NameRequiredName of the PDF, including its extension (for example `invoice.pdf`). Map it from the file name returned by a previous action.invoice.pdf
Page NumberRequiredNumber of the page to rotate. Defaults to `1`.5
Rotation TypeRequiredHow to rotate the page. Options: NoRotation, Clockwise, CounterClockwise, UpsideDown. Defaults to `NoRotation`.Clockwise (90°)

Output​

The PDF4me Rotate Page action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

FieldTypeWhat it contains
File ContentFile contentContent of the PDF with the rotated page. Map it into the next action, for example the File Content field of SharePoint or OneDrive Create file.
File NameTextFile name of the PDF with the rotated page, as returned by PDF4me. Use it as the file name when saving the file.
Page CountTextPage count reported by PDF4me for the processed document. Returned as text; wrap it in int() to use it as a number.

Workflow Examples​

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

Automated Mixed-Orientation Document Correction

Transform document quality with selective page rotation:

Complete Workflow Steps:

  1. Trigger: Scanned document with mixed page orientations uploaded
  2. Get Document: Retrieve PDF with orientation issues
  3. Identify Wrong Pages: Detect pages 3, 7, 12 need rotation
  4. Rotate Page 3: Apply 90° clockwise rotation
  5. Rotate Page 7: Apply 180° upside-down rotation
  6. Rotate Page 12: Apply 90° clockwise rotation
  7. Validate All Pages: Check all pages readable
  8. 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

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
  • 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

Get Help​