Actions20
- Document Management Actions
- PDF to Format Actions
- Format to PDF Actions
- Security & Signing Actions
Document Management → Rotate PDF
AI-generatedSummary
Rotate specified pages of a PDF document by a given angle or apply per-page rotation angles.
Inputs
- Input Method (required) — Choose how to provide the input PDF file: either as binary data from a previous node or via a public URL (URL recommended for AI tool usage).
- File URL — Public URL of the PDF file to process (required if Input Method is URL).
- Input Binary Property — Name of the binary property containing the input PDF file (required if Input Method is binary).
- Rotation Angle (required) — Global rotation angle to apply to specified pages: 90° clockwise, 180°, or 90° counter-clockwise.
- Pages (required) — Pages to rotate, specified as "all", a list of pages (e.g. "1,3,5"), or a range (e.g. "1-5").
- Per-Page Rotations (JSON) — JSON object mapping individual page numbers to rotation angles, overriding the global rotation angle if provided (format: {"1":90, "3":180}).
- Output Type (required) — How to return the processed PDF: as binary data or a temporary download URL valid for 1 hour.
- Output Binary Property — Name of the binary property to save the output PDF file if Output Type is binary.
Output shape
a single file output
Returns the rotated PDF file either as binary data in the specified output binary property or as a JSON containing a temporary download URL valid for one hour.