pdfActions
AI-generatedSummary
Convert images to PDFs, merge PDFs, split PDFs into single-page files, or render PDF pages as images. The action determines which incoming binary properties are processed; generated files are stored under the configured output binary field.
Inputs
- Action (required) — Choose Multiple Images to Multiple PDFs (one PDF per input item), Multiple Images to One PDF (a PDF with a page for each matching image), Multiple PDFs to One PDF (merge matching PDFs in input and binary-property order), One PDF to Multiple Images (render each PDF page as PNG or JPEG), or One PDF to Multiple PDFs (create one PDF per page). Images are identified by image MIME type or file type; PDFs by MIME type, extension, or filename.
- Output Binary Field (required) — Binary property name for generated files. For PDF-to-pages actions, each file is stored under this name with a numbered suffix, such as data_0.
- Output File Name (required) — Base filename for generated files. Merged and combined PDFs receive a .pdf extension if missing. Multi-output actions append a zero-based suffix, such as images_0.pdf or output_0.png.
- Image Format — For One PDF to Multiple Images, choose PNG or JPEG; defaults to PNG.
- Render Scale — For One PDF to Multiple Images, set page rendering scale from 0.5 to 5; defaults to 1. Higher values produce larger images.
- JPEG Quality — For JPEG rendering, set compression quality from 1 to 100; defaults to 90.
- Keep Source Files — When enabled, retain matching source binaries alongside generated files. In image-to-PDF actions, non-image binaries are also retained; in PDF-to-pages actions, each output retains the source PDF binary.
Output shape
One n8n output branch containing generated items with binary files.
The two merge/combine actions return one item with one generated PDF; with Keep Source Files enabled, matching source binaries are included on that item. Multiple Images to Multiple PDFs returns one item per input item, preserving its JSON and non-image binaries, and adds a PDF for that item. PDF-to-pages actions return one item per page across all matching PDFs, preserving source-item JSON and adding outputIndex and one-based pageNumber fields; generated binary fields use a zero-based suffix. Items are paired with their source input. If no matching image or PDF data is found, the operation errors.