Skip to main content

Add Page Number to PDF in Power Automate

PDF4me Add Page Number to PDF action enables adding professional page numbering to PDF documents in Power Automate with complete formatting control. This versatile feature supports multiple number formats (Page X, X of Y, Roman numerals), customizable positioning, font styling (bold, italic), margin control, and the ability to skip cover pages, perfect for creating professionally formatted reports, manuals, and documents across Microsoft 365 workflows.

Authenticating Your API Request

To access the PDF4me Web API through Power Automate, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Power Automate flows and PDF4me's powerful page numbering services.

Add Page Number to PDF Power Automate

Key Features

  • Multiple Number Formats: Choose from various page number styles and formats
  • Flexible Positioning: Control horizontal and vertical alignment with margin adjustments
  • Font Customization: Set font size, bold, and italic styling
  • Skip First Page: Exclude page numbers from cover or title pages
  • Batch Processing: Add page numbers to multiple documents automatically

Parameters

Complete list of parameters for the Add Page Number to PDF action. Configure these parameters to control page numbering.

Important: Parameters marked with an asterisk (***) are required and must be provided for the action to function correctly.

ParameterTypeDescriptionExample
PDF File Content***BinarySource PDF File
• Map PDF file from previous action output
• Supports PDFs from SharePoint, OneDrive, email
• Can be dynamically retrieved from flow variables
• Must be valid PDF document
[File Content from Get File]
PDF File Name***StringPDF Document Name
• Specify PDF file name with .pdf extension
• Used for processing and output naming
• Must include proper file extension
• Supports dynamic naming from flows
Report.pdf
Page FormatOptionPage Number Format Style
Page X - Simple page number (Page 1, Page 2)
X - Number only (1, 2, 3)
X of Y - Current and total (1 of 10, 2 of 10)
Page X of Y - Full format (Page 1 of 10)
• Default is "Page X" if not specified
X of Y
Horizontal Alignment***OptionHorizontal Position
Left - Align to left edge of page
Center - Center horizontally on page
Right - Align to right edge of page
• Controls left-right positioning
Center
Vertical Alignment***OptionVertical Position
Top - Position at top of page
Bottom - Position at bottom of page
Middle - Center vertically on page
• Controls up-down positioning
Bottom
Horizontal MarginIntegerHorizontal Offset
• Margin from alignment edge in millimeters
• Adjusts distance from left/right/center
• Positive values move inward from edges
• Default is 0 if not specified
10
Vertical MarginIntegerVertical Offset
• Margin from alignment edge in millimeters
• Adjusts distance from top/bottom
• Positive values move inward from edges
• Default is 0 if not specified
10
Font Size***IntegerText Size
• Font size for page numbers in points
• Standard range 8-16 points for readability
• Larger sizes for visibility, smaller for subtlety
• Must provide value
10
Set BoldBooleanBold Styling
True - Apply bold font weight
False - Use regular font weight
• Enhances page number visibility
• Default is False
true
Set ItalicBooleanItalic Styling
True - Apply italic font style
False - Use regular font style
• Adds stylistic variation
• Default is False
false
Skip First PageBooleanExclude Cover Page
True - No page number on first page
False - Number all pages including first
• Useful for documents with cover pages
• Default is False
true

Output

The PDF4me Add Page Number to PDF action returns comprehensive output data for seamless Power Automate flow integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
File ContentBinaryPDF document with page numbers added in specified format and position
File NameStringName of the output PDF file with page numbers

Workflow Examples

The PDF4me Add Page Number to PDF action in Power Automate provides comprehensive workflow templates designed for real-world business scenarios:

Automated Report Page Numbering Workflow

Transform your reporting with automated professional page numbering:

Complete Workflow Steps:

  1. Trigger: Monthly report generation completes - scheduled trigger
  2. Generate Report: Create report PDF from BI tool or Excel
  3. Add Page Numbers: Insert "Page X of Y" at bottom center
  4. Set Font Style: Apply 10pt bold font for visibility
  5. Skip Cover: Exclude first page from numbering
  6. Set Margins: Apply 15mm bottom margin for positioning
  7. Email Distribution: Send numbered report to stakeholders
  8. Archive Report: Store professionally formatted report

Business Benefits:

  • Numbers 50+ reports monthly with consistent formatting
  • Improves document navigation and reference
  • Eliminates manual page numbering saving 10 minutes per report
  • Ensures professional appearance for all distributions

Industry Use Cases & Applications

Corporate & Business Use Cases

  • Business Reports: Add page numbers to quarterly and annual reports
  • Proposals: Number sales proposals for easy reference
  • Policy Documents: Create numbered employee handbooks and policies
  • Meeting Packets: Number board meeting materials for discussion

Get Help