Update Headers Footers - Header Management for Zapier
PDF4me Update Headers and Footers is a Zapier action that adds or replaces headers and footers in a Word document using plain text or HTML. Insert company branding, page numbers with the PAGE and NUMPAGES fields, or different content for the first page versus even and odd pages. Returns a new Word file for the next Zap step.
What this action does
Takes a Word document from a previous Zap step and writes header and footer content across up to eight fields: an all-pages header and footer, plus optional first-page and even/odd-page overrides for both. Content can be plain text (automatically styled) or full HTML with inline CSS for logos and custom layout. Useful for branding reports, adding page numbers, or formatting a title page differently from the body.
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 Word header/footer management services.
Important Facts You Should Not Miss
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.


What Are the Key Features of Update Headers and Footers?
- Multiple Page Types: All pages, first page only, and even/odd page variants
- HTML Content Support: Rich HTML with inline CSS for logos and custom layout
- Automatic Styling: Professional default styling applied to plain-text content
- Page Number Fields: PAGE and NUMPAGES insert live, auto-updating field codes
- Flexible Layout: Different headers/footers for different page types
- Culture Support: Locale-specific document processing
Parameters
Complete list of parameters for the Update Headers and Footers action. Parameter names and order match the Zapier configuration UI shown in the screenshots above.
- Map File and File Name from previous step
- Set All Pages Header Html and/or All Pages Footer Html (plain text, HTML, or "Page PAGE of NUMPAGES")
- Optionally set First Page, Even Pages, or Odd Pages Header/Footer Html for page-specific content
| Parameter | Required | What it does | Example |
|---|---|---|---|
| File | Required | Word document to update. Map from a previous step. Must provide full file content. | [4. File from Step 4] |
| File Name | Conditional | Word filename with .docx or .doc extension for the output file. | abc.docx |
| All Pages Header Html | Conditional | Header applied to every page. Plain text or HTML. Supports PAGE, NUMPAGES, SECTION, SECTIONPAGES fields. | Ynoox |
| First Page Header Html | Conditional | Header for the first page only, overrides All Pages Header Html on page one. | Title Page |
| Even Pages Header Html | Conditional | Header for even-numbered pages, for book-style layouts. | Book Title |
| Odd Pages Header Html | Conditional | Header for odd-numbered pages, for alternating layouts. | Chapter Title |
| All Pages Footer Html | Conditional | Footer applied to every page. Plain text or HTML, including page-number fields. | Page PAGE of NUMPAGES |
| First Page Footer Html | Conditional | Footer for the first page only, overrides All Pages Footer Html on page one. | Confidential |
| Even Pages Footer Html | Conditional | Footer for even-numbered pages. | Page PAGE |
| Odd Pages Footer Html | Conditional | Footer for odd-numbered pages. | Page PAGE |
| Culture Name | Conditional | Culture code affecting locale-specific document processing. | en-US |
Important: Only File is required. Page-specific fields (First Page, Even Pages, Odd Pages) override All Pages content only where they are set, everything else falls back to the all-pages value.
What Does Update Headers and Footers Return?
The PDF4me Update Headers and Footers action returns the updated 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| Field | Type | What it contains |
|---|---|---|
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 the filename in the path. |
File Name | String | Base filename without extension. |
Full File Name | String | Complete filename with extension. |
File Extension | String | File extension of the returned file, .docx. |
- JSON
- Zap Integration
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.
Typical Setups
Workflow ExamplesCommon Zapier workflow patterns using Update Headers and Footers.
- A trigger fires when a document is finalized for distribution.
- PDF4me Update Headers and Footers sets All Pages Header Html to HTML with the company name and logo, and All Pages Footer Html to "Page PAGE of NUMPAGES".
- An upload step saves the branded document to a distribution folder.
- A trigger fires when a manuscript is marked ready for layout.
- PDF4me Update Headers and Footers sets Even Pages Header Html to the book title, Odd Pages Header Html to the chapter title, and First Page Header Html to blank for a clean title page.
- The formatted manuscript uploads to a publication-ready folder.
- A trigger fires when a report is generated on a schedule.
- PDF4me Update Headers and Footers sets All Pages Footer Html to "Page PAGE of NUMPAGES" and First Page Footer Html to blank so the cover page has no page number.
- The numbered report is emailed to the distribution list.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | Update Headers and Footers |
| File | [Mapped from previous step] |
| All Pages Header Html | Company Name |
| All Pages Footer Html | Page PAGE of NUMPAGES |
| First Page Header Html | (blank for clean title page) |
| Culture Name | en-US (optional) |
Common Questions
Related Actions
Same Task on Other Platforms
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