Actions92
- AI Actions
- AI - Universal Document Data Extraction
- AI Auto Crop Document
- AI-Invoice Parser
- AI-Process Bank Cheque
- AI-Process Bank Statement
- AI-Process Contract
- AI-Process HealthCard
- AI-Process Marriage Certificate
- AI-Process Mortgage Document
- AI-Process Order
- AI-Process Pay Stub
- AI-Process Receipt
- AI-Process Shipping Label
- AI-Process Tax Document
- Barcode Actions
- Convert Actions
- Edit Actions
- Extract Actions
- Find Search Actions
- Form Actions
- Generate Actions
- Image Actions
- Invoice Actions
- Merge & Split Actions
- Optimize Compress Actions
- Organize Actions
- PDF Actions
- PDF4me Actions
- Security Actions
- Word Actions
Edit → Add Page Number to PDF
AI-generatedSummary
Add page numbers to a PDF using PDF4me, with configurable placement and text styling. Supply the PDF as incoming binary data, a base64 string, or a URL, then choose the output filename and binary field name.
Inputs
- Input Data Type (required) — Choose Binary Data, Base64 String, or URL as the PDF source.
- Input Binary Field (required) — For Binary Data input, the name of the incoming binary property; defaults to
data. - Base64 PDF Content (required) — For Base64 String input, the PDF document content encoded as base64.
- PDF URL (required) — For URL input, the address of the PDF file.
- Output File Name — Name for the processed PDF; defaults to
document_with_page_numbers.pdf. - Document Name — Source PDF name for reference; defaults to
document.pdf. - Horizontal Alignment — Place page numbers left, center, or right; defaults to right.
- Vertical Alignment — Place page numbers at the top, middle, or bottom; defaults to bottom.
- Horizontal Margin (Mm) — Horizontal margin in millimeters, from 0 to 100; defaults to 2.
- Vertical Margin (Mm) — Vertical margin in millimeters, from 0 to 100; defaults to 2.
- Font Size — Page number font size, from 8 to 72; defaults to 12.
- Set Bold — Whether page numbers are bold; defaults to true.
- Set Italic — Whether page numbers are italic; defaults to false.
- Skip First Page — Whether to leave the first page unnumbered; defaults to false.
- Advanced Options: Custom Profiles — Optional JSON for additional PDF4me API profile properties.
- Binary Data Output Name — Name of the output binary property; defaults to
data.
Output shape
A processed PDF returned as binary data in an n8n item.
The operation-specific source implementation is not included beyond its signature in the provided source pack, so output details are based on the declared output binary name and PDF operation properties.
Examples
Example 1: Add page numbers to a PDF arriving from a previous node
Set Input Data Type to Binary Data, provide its binary field name, configure placement and styling as needed, and set an output filename.