Add Page Number to PDF for Zapier
What this action does
What this action does: The PDF4me Add Page Number to PDF action stamps sequential page numbers onto every page of a PDF inside your Zap. Choose where the number appears - top, middle, or bottom; left, centre, or right - and dial in font size, bold/italic style, millimetre margins, and a page number format. Enable Skip First Page to leave the cover unnumbered. The output is a new numbered PDF ready to save to Google Drive, send via email, upload to SharePoint, or pass to the next step in your Zapier workflow.
Authenticating Your API Request
Every PDF4me action in Zapier requires a valid API key. Connect PDF4me once in Zapier's account settings - your key is stored securely and reused across all PDF4me Zaps automatically.
Important Facts You Should Not Miss

Parameters
⚠️ Parameters marked Required must be provided for the action to run. Optional parameters control number formatting, font styling, and margin - defaults are applied when omitted.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Yes | The PDF file to add page numbers to. Map the binary file output from a Zapier trigger or previous action - Google Drive file, Gmail attachment, OneDrive/Dropbox file, or a PDF generated by an earlier Zap step. | quarterly_report.pdf (from Google Drive trigger) |
| Vertical Alignment | Yes | Vertical position of the page number on the page. Top - near the top edge. Middle - equidistant from top and bottom edges (Vertical Margin is ignored). Bottom - near the bottom edge. | Bottom |
| Horizontal Alignment | Yes | Horizontal position of the page number across the page. Left - near the left edge. Center - centred across the page (Horizontal Margin is ignored). Right - near the right edge. | Center |
| File Name | No | Custom name for the output PDF file. If omitted, the name is derived automatically from the source file. Do not include the path - just the filename with or without the .pdf extension. | report_numbered.pdf |
| Page Number Format | No | The format string used to display page numbers. Supports numeric (1, 2, 3…), Roman numerals (i, ii, iii…), and compound formats such as "Page 1 of N". See the Zapier dropdown for all available options. | Page 1 of N |
| Horizontal Margin | No | Gap in millimetres from the nearest horizontal edge. Applied when alignment is Left (gap from left edge) or Right (gap from right edge). Ignored when alignment is Center. Default: 0. | 10 |
| Vertical Margin | No | Gap in millimetres from the nearest vertical edge. Applied when alignment is Top (gap from top) or Bottom (gap from bottom). Ignored when alignment is Middle. Default: 0. | 10 |
| Font Size | No | Point size for the page number text. Controls visibility and proportion relative to the page content. Recommended range: 8–14 pt for standard A4/Letter documents. | 12 |
| Set Bold | No | Apply bold weight to the page number text. true - bold numbers; false - normal weight. Useful for making numbers stand out on dense pages. | false |
| Set Italic | No | Apply italic style to the page number text. true - italic; false - upright. Often used to visually distinguish page numbers from body text. | false |
| Skip First Page | No | When true, no page number is stamped on page 1 (the title or cover page). The numbering sequence continues from the actual page position - page 2 shows "2", not "1". Standard for reports, proposals, and legal documents with a cover. | true |
Output Fields
| Output Field | Description |
|---|---|
File | URL of the numbered PDF ready to download, upload, or pass to the next Zap step |
File Name | Output filename without extension |
Full File Name | Complete filename including the .pdf extension |
File Extension | File extension of the output document (always .pdf) |
Quick Setup
- Create or open a Zap and add a trigger that supplies a PDF - Google Drive new file in folder, Gmail new attachment, OneDrive, or a form submission upload.
- Add an action step → search PDF4me → select Add Page Number to PDF.
- Authenticate with your PDF4me API key if not already connected.
- Map File from the trigger output (the binary file field, not a URL link).
- Set Vertical Alignment - choose Top, Middle, or Bottom for page number vertical placement.
- Set Horizontal Alignment - choose Left, Center, or Right.
- Configure optional settings: set Page Number Format, Font Size, Bold, Italic, and margins if needed.
- Enable Skip First Page if your document has a title or cover page that should not be numbered.
- Test the step - Zapier will process a sample PDF and return the output File URL.
- Add downstream steps - upload the numbered PDF to Google Drive, send via Gmail, or pass the File URL to the next action.
Workflow Examples
Workflow ExamplesCommon Zapier patterns using Add Page Number to PDF.
Automatically add page numbers to generated reports and email the final PDF to stakeholders.
- Google Drive: New File in Folder - watch 'Reports – Pending' folder for newly generated PDFs
- PDF4me: Add Page Number to PDF - map File; Vertical Alignment = Bottom, Horizontal Alignment = Center; Page Number Format = 'Page 1 of N'; Skip First Page = true
- Google Drive: Upload File - save numbered PDF to 'Reports – Final' folder
- Gmail: Send Email - attach the numbered PDF; send to finance or management distribution list
Stamp sequential page numbers on contracts the moment they are generated and archive them in SharePoint for legal compliance.
- PDF4me (or DocuSign / PandaDoc): New Contract PDF generated and available in Google Drive or as a Zap output
- PDF4me: Add Page Number to PDF - set Bottom + Right alignment; Vertical Margin = 8mm; Horizontal Margin = 12mm; Font Size = 10; Set Bold = true; Skip First Page = true
- Microsoft SharePoint: Create File - upload numbered contract to the 'Contracts – Signed' document library
- Slack: Post Message to #legal - notify team with contract name, page count from Full File Name, and SharePoint link
When a training manual PDF is updated in Dropbox, add page numbers and push the refreshed document to your Learning Management System.
- Dropbox: New or Updated File in Folder - watch 'Training Manuals' folder
- PDF4me: Add Page Number to PDF - set File Name dynamically from Dropbox filename; Top + Right placement; Font Size = 11; Skip First Page = true for cover page
- Zapier Filter: Continue only if Full File Name ends with .pdf (skip non-PDF uploads)
- TalentLMS / Teachable / Moodle: Upload or update course material with the numbered PDF URL from the output File field