PDF4me icon

PDF4me

PDF4me for n8n automates document workflows: AI-powered parsing, classification, and data extraction, plus PDF conversion, generation, merge/split, editing, forms, stamps, signatures, OCR, barcodes and Swiss QR, invoices, image processing, security, and Word tools.

Actions92

Organize → Rotate Page

AI-generated

Summary

Rotate specified pages in a PDF by 90 degrees clockwise, 90 degrees counter-clockwise, or 180 degrees, or leave them unchanged. Provide the PDF as binary data from an earlier node, a base64 string, or a URL, then select the rotation and page numbers.

Inputs

  • Input Data Type (required) — Choose binary data, base64 content, or a PDF URL as the source.
  • Input Binary Field (required) — When using binary data, the name of the incoming binary property; defaults to data.
  • Base64 PDF Content (required) — When using base64 input, the encoded PDF content.
  • PDF URL (required) — When using URL input, the location of the PDF.
  • Document Name — Output PDF filename; defaults to output.pdf.
  • Rotation Type (required) — Choose no rotation, clockwise 90°, counter-clockwise 90°, or upside down (180°).
  • Page Numbers (required) — Page numbers to rotate, such as 1, 1,3,5, or 2-4.
  • Output Binary Field Name — Name for the output PDF binary property; defaults to data.
  • Custom Profiles — Optional JSON string for additional PDF4me API profile properties.

Output shape

A single n8n item containing the processed PDF as binary data.

The output binary property name is configurable and defaults to data.

Links

Discussion