Skip to main content

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.

PDF4me Update Headers Footers Word Zapier - Document, File Name, All Pages Header, All Pages Footer
Configure Update Headers and Footers—map File, File Name; set All Pages Header Html, All Pages Footer Html with HTML or page fields (PAGE, NUMPAGES).
Update Headers Footers Word Zapier - First Page, Even Pages, Odd Pages options
Optional—First Page, Even Pages, Odd Pages header/footer for page-specific formatting.

Configuration at a Glance

Example configuration from the Zapier interface

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.

File

Map from step

All Pages Header Html

Ynoox

All Pages Footer Html

Optional

First Page

Optional

Even/Odd

Book layout

Map File from previous steps

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.

File: (Exists but not shown)

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.

Quick setup checklist
  1. Map File and File Name from previous step
  2. Set All Pages Header Html and/or All Pages Footer Html (HTML or "Page PAGE of NUMPAGES")
  3. 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.

ParameterTypeDescriptionExample
File***FileWord document—map from previous step (Drive, Dropbox, trigger)[4. File from Step 4]
File NameStringWord filename—with .docx or .doc extensionabc.docx
All Pages Header HtmlStringHeader for all pages—HTML or plain text. Supports PAGE, NUMPAGES, SECTION, SECTIONPAGESYnoox
All Pages Footer HtmlStringFooter for all pages—HTML or "Page PAGE of NUMPAGES"Page PAGE of NUMPAGES
First Page Header HtmlStringHeader for first page only—HTML or plain textTitle Page
Even Pages Header HtmlStringHeader for even-numbered pages—book layoutsBook Title
Odd Pages Header HtmlStringHeader for odd-numbered pages—alternating layoutsChapter Title
First Page Footer HtmlStringFooter for first page only—optionalConfidential
Even Pages Footer HtmlStringFooter for even pages—optionalPage PAGE
Odd Pages Footer HtmlStringFooter for odd pages—optionalPage PAGE
Culture NameStringDocument 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)

File Url

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=...
Alternate File Url

Alternative download URL with filename in path.

api.pdf4me.com/Zapier/GetAltDocument/.../document.docx
ParameterTypeDescription
Job IdStringUnique identifier for the Zapier job execution
File UrlURLAPI endpoint to download the modified Word file
Alternate File UrlURLAlternate download URL with filename in path
File NameStringBase filename without extension
Full File NameStringComplete filename with extension
File ExtensionStringFile extension (.docx)

Scenario Examples

Automated Company Header/Footer Application

Complete Scenario Steps:

  1. Trigger: Document finalized for distribution
  2. Get Document: Retrieve from folder
  3. Add Company Header: All Pages Header = HTML with company name and logo
  4. Add Page Numbers: All Pages Footer = "Page PAGE of NUMPAGES"
  5. Apply Professional Styling: HTML with centered, bordered layout
  6. Upload Branded: Save to distribution folder
  7. Email Team: Send branded document
  8. Archive Original: Store pre-branding version
  9. Log Branding: Record event
  10. 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

Industry Use Cases & Applications

  • 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

Get Help