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 Document

AI-generated

Summary

Rotates every page of a PDF by the selected amount and returns the resulting PDF as binary data.

Inputs

  • Input Data Type (required) — Choose Binary Data, Base64 String, or URL as the PDF source.
  • Binary Property (required) — For Binary Data, name of the incoming binary property; defaults to data.
  • Input File Name — For Binary Data, optionally provide the input filename; otherwise the filename from the binary data is used. For Base64 String or URL, provide the required input filename, including its extension.
  • Base64 Content (required) — For Base64 String, the base64-encoded PDF content.
  • File URL (required) — For URL, the address of the PDF to rotate.
  • Document Name — Name for the output PDF; defaults to output.pdf.
  • Rotation Type (required) — Choose No Rotation, Clockwise (90°), Counter Clockwise (90°), or Upside Down (180°). Defaults to Upside Down.
  • Output Binary Field Name — Name of the binary property that holds the output PDF; defaults to data.
  • Custom Profiles — Optional custom profile settings for the PDF4me API, entered as a string.

Output shape

A single n8n item containing the rotated PDF in binary data.

The output binary property uses the configured Output Binary Field Name. Runtime response details are not shown in the supplied source pack.

Links

Discussion