Update Headers Footers - Header Management for Zapier
PDF4me Update Headers and Footers adds or updates headers and footers in Word docs with HTML content—company name, page numbers (PAGE, NUMPAGES), or custom text. Support for all pages, first page only, or even/odd alternating layouts. Ideal for branding reports, adding page numbers, or formatting title pages before distribution.
Authenticating Your API Request
To access the PDF4me Web API through Zapier, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Zapier workflows and PDF4me's powerful Word header/footer management services.


Configuration at a Glance
File mapped from step 4, File Name = abc.docx; All Pages Header Html = Ynoox (or HTML); All Pages Footer Html, First Page Header Html, Even/Odd Pages Header Html, etc. optional.
Map from step
Ynoox
Optional
Optional
Book layout
Use the + button next to File and File Name to map from earlier Zap steps (e.g., Google Drive, Dropbox, or a trigger). The Word file must provide full content, not "Exists but not shown" references.
If you see "File: (Exists but not shown)" in the File field and get errors, select the option that provides the full file content instead. See Zapier & Power Automate Tips for details.
Key Features
- Multiple Page Types: Support for all pages, first page, even/odd pages
- HTML Content Support: Rich HTML content with professional styling and CSS
- Automatic Styling: Professional default styling for plain text content
- Page Number Fields: Support for PAGE, NUMPAGES, SECTION, SECTIONPAGES
- Flexible Layout: Different headers/footers for different page types
- Culture Support: Locale-specific document processing
- Format Preservation: Maintains original document structure
- Professional Appearance: Automatic application of professional typography
Parameters
Complete list of parameters for the Update Headers and Footers action. Parameter names match the Zapier configuration UI.
- Map File and File Name from previous step
- Set All Pages Header Html and/or All Pages Footer Html (HTML or "Page PAGE of NUMPAGES")
- Set First Page Header Html, Even Pages Header Html, Odd Pages Header Html for page-specific content if needed
Important: Parameters marked with an asterisk (***) are required. Advanced parameters provide fine-grained control over page-specific headers and footers with HTML formatting.
| Parameter | Type | Description | Example |
|---|---|---|---|
| File*** | File | Word document—map from previous step (Drive, Dropbox, trigger) | [4. File from Step 4] |
| File Name | String | Word filename—with .docx or .doc extension | abc.docx |
| All Pages Header Html | String | Header for all pages—HTML or plain text. Supports PAGE, NUMPAGES, SECTION, SECTIONPAGES | Ynoox |
| All Pages Footer Html | String | Footer for all pages—HTML or "Page PAGE of NUMPAGES" | Page PAGE of NUMPAGES |
| First Page Header Html | String | Header for first page only—HTML or plain text | Title Page |
| Even Pages Header Html | String | Header for even-numbered pages—book layouts | Book Title |
| Odd Pages Header Html | String | Header for odd-numbered pages—alternating layouts | Chapter Title |
| First Page Footer Html | String | Footer for first page only—optional | Confidential |
| Even Pages Footer Html | String | Footer for even pages—optional | Page PAGE |
| Odd Pages Footer Html | String | Footer for odd pages—optional | Page PAGE |
| Culture Name | String | Document Culture/Locale • Culture code (e.g., "en-US", "fr-FR", "de-DE") • Default: null • Affects document language and formatting | en-US |
Output
The PDF4me Update Headers and Footers action returns the modified Word document for use in subsequent Zap steps. The output format is common across all PDF4me Word file-returning actions in Zapier.
Key output fields (map these to your next step)
API endpoint to download the Word file with updated headers/footers. Map this to the next step's file input.
api.pdf4me.com/Zapier/GetDocument?d=...Alternative download URL with filename in path.
api.pdf4me.com/Zapier/GetAltDocument/.../document.docx- Table
- JSON
- Zap Integration
| Parameter | Type | Description |
|---|---|---|
| Job Id | String | Unique identifier for the Zapier job execution |
| File Url | URL | API endpoint to download the modified Word file |
| Alternate File Url | URL | Alternate download URL with filename in path |
| File Name | String | Base filename without extension |
| Full File Name | String | Complete filename with extension |
| File Extension | String | File extension (.docx) |
Example JSON output (URLs show format only—not working links):
{
"Job Id": "...",
"File Url": "api.pdf4me.com/Zapier/GetDocument?d=...",
"Alternate File Url": "api.pdf4me.com/Zapier/GetAltDocument/.../document.docx",
"File Name": "document",
"Full File Name": "document.docx",
"File Extension": ".docx"
}
Use + to map File Url or Alternate File Url to the next step—Drive, Dropbox, Email, or another PDF4me Word action.
Scenario Examples
- Company Branding
- Book Layout
- Report Page Numbering
Automated Company Header/Footer Application
Complete Scenario Steps:
- Trigger: Document finalized for distribution
- Get Document: Retrieve from folder
- Add Company Header: All Pages Header = HTML with company name and logo
- Add Page Numbers: All Pages Footer = "Page PAGE of NUMPAGES"
- Apply Professional Styling: HTML with centered, bordered layout
- Upload Branded: Save to distribution folder
- Email Team: Send branded document
- Archive Original: Store pre-branding version
- Log Branding: Record event
- Update Tracking: Mark as branded
Business Benefits:
- Brands 200+ documents monthly automatically
- Consistent professional headers/footers
- Page numbers accurate and formatted
- Saves 10 minutes per document
Professional Book Layout with Even/Odd Pages
Complete Scenario Steps:
- Trigger: Manuscript ready for publication
- Get Manuscript: Retrieve final document
- Add Even Page Header: Book title on right
- Add Odd Page Header: Chapter title on left
- Add Page Numbers: Centered on all pages
- Set First Page Different: No header on first page
- Upload Formatted: Save publication-ready document
- Email Publisher: Send formatted manuscript
- Archive Final: Store publication version
- Log Formatting: Record completion
Business Benefits:
- Formats 30+ manuscripts monthly
- Professional book layout
- Even/odd page distinction
- Publication-ready output
Automated Report Page Number Insertion
Complete Scenario Steps:
- Trigger: Monthly report generation completed
- Get Report: Retrieve generated report
- Add Page Numbers: All Pages Footer = "Page PAGE of NUMPAGES"
- Add Report Title: All Pages Header = report name
- Different First Page: No page number on cover
- Upload Numbered: Save to reports folder
- Email Management: Send numbered report
- Archive: Store final version
- Log Distribution: Record event
- Update Metrics: Track report generation
Business Benefits:
- Numbers 12 monthly reports automatically
- Professional page numbering
- Consistent formatting
- Zero manual numbering errors
Industry Use Cases & Applications
- Corporate & Business
- Legal & Professional
- Publishing
- HR
- Report Branding: Add company headers with logo and name using HTML formatting
- Page Numbering: Insert "Page X of Y" footers in reports and proposals
- Document Finalization: Add professional headers/footers before distribution
- Title Page Formatting: Different first page header for cover pages
- Multi-Section Documents: Section-specific headers for complex documents
- Case Headers: Add case style and matter number in headers
- Page Numbering: Insert page numbers in legal briefs and pleadings
- Confidentiality Footers: Add confidentiality notices in footers
- Exhibit Headers: Add exhibit numbers and case information
- Filing Information: Insert court and filing date in headers/footers
- Book Headers: Add book title on even pages, chapter on odd pages
- Page Numbering: Professional page numbering for manuscripts
- Author Attribution: Add author name in headers or footers
- Copyright Footers: Insert copyright and ISBN information
- Chapter Headers: Add chapter titles using HTML formatting
- Policy Headers: Add policy name and version in headers
- Effective Date Footers: Insert effective date in policy footers
- Confidentiality Notices: Add "HR Confidential" in headers
- Handbook Numbering: Add page numbers to employee handbooks
- Department Headers: Insert department name in document headers