Skip to main content

Add Text Header Footer to Excel using Zapier

PDF4me Add Text Header Footer to Excel adds professional headers and footers to your spreadsheets automatically—perfect for branding, page numbering, or adding disclaimers and titles. Set text, color, and font size independently for each section (left, center, right) in both header and footer. Apply to specific worksheets or across entire workbooks for consistent document presentation and professional branding.

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 Excel text branding services.

PDF4me Excel Add Text Header Footer Zapier configuration part 1 - File, File Name, Header Left/Center/Right Text, Color, Font Size
Configure the Excel Add Text Header Footer action—File input and header text, color, and font size for left, center, and right sections.
PDF4me Excel Add Text Header Footer Zapier configuration part 2 - Footer Left/Center/Right Text, Color, Font Size, Target Worksheets, Culture
Footer settings, worksheet targeting, and culture options.

Configuration at a Glance

Example configuration from the Zapier interface

The screenshots above show a typical setup: adding text to header and footer sections (left, center, right) with customizable color and font size for each section.

File

add_header_sample_file.xlsx

Header Left

Text, Color, Font Size

Header Center

Text, Color, Font Size

Header Right

Text, Color, Font Size

Footer L/C/R

Text, Color, Font Size

Default Color

Black

Default Font Size

11

:::tip Map File and File Name from previous steps Use the + button next to File and File Name to map from earlier Zap steps—e.g., Excel from Google Drive. You can combine File Name and File Ext from a previous step to build the full filename. The Excel file must provide full content, not "Exists but not shown" references. :::

:::warning File: (Exists but not shown) If you see "File: (Exists but not shown)" in the File field and get "File is Empty" errors, select the option that provides the full file content instead. See Zapier & Power Automate Tips for details. :::

Key Features

  • Six Text Sections: Add text to header left, center, right and footer left, center, right
  • Per-Section Styling: Set text, color, and font size independently for each section
  • Worksheet Targeting: Target specific sheets by name or index, or leave empty for all
  • Culture & Language: Configure locale for date and number formatting

Parameters

Complete list of parameters for the Add Text Header Footer action. Parameter names match the Zapier configuration UI.

Quick setup checklist
  1. Map File (Excel) from your trigger or a previous step
  2. Map File Name (e.g., combine File Name + File Ext from previous step)
  3. Enter text for Header Left-Text, Header Center-Text, Header Right-Text (or leave empty)
  4. Enter text for Footer Left-Text, Footer Center-Text, Footer Right-Text (or leave empty)
  5. Optionally set Color and Font Size for each section (defaults: Black, 11)
  6. Optionally specify Target Worksheets-By Name or Target Worksheets-By Index (or leave empty for all sheets)

Important: Parameters marked with an asterisk (***) are required. Use the + button next to each field to map data from previous steps. Worksheet indexes are 1-based. Color accepts hex codes (#RRGGBB) or color names (e.g., Black, Red).

ParameterTypeDescriptionExample
File***FileExcel File Content
• Labeled "File" in Zapier—map from previous step
• Source from Dropbox, Google Drive, HTTP request
• Binary Excel file to add text headers/footers to
• Shows "File: (Exists but not shown)" when mapped—ensure full file content is passed
[2. File from Step 2]
File Name***StringExcel Filename
• Specify filename with .xlsx or .xls extension
• Map from previous step (e.g., File Name + File Ext)
• Used for output file identification
add_header_sample_file.xlsx
Header Left-TextStringText for left header sectionYnoox or map dynamic value
Header Left-ColorStringColor for left header text. Hex or color nameBlack
Header Left-Font SizeNumberFont size (points) for left header11
Header Center-TextStringText for center header sectionQ4 2024 Report
Header Center-ColorStringColor for center header textBlack
Header Center-Font SizeNumberFont size for center header11
Header Right-TextStringText for right header section
Header Right-ColorStringColor for right header textBlack
Header Right-Font SizeNumberFont size for right header11
Footer Left-TextStringText for left footer section
Footer Left-ColorStringColor for left footer textBlack
Footer Left-Font SizeNumberFont size for left footer11
Footer Center-TextStringText for center footer sectionConfidential
Footer Center-ColorStringColor for center footer textBlack
Footer Center-Font SizeNumberFont size for center footer11
Footer Right-TextStringText for right footer section
Footer Right-ColorStringColor for right footer textBlack
Footer Right-Font SizeNumberFont size for right footer11
Target Worksheets-By NameArrayTarget worksheets by exact name. Empty = all sheetsSheet1, Sheet2
Target Worksheets-By IndexArrayTarget worksheets by index (1-based). Empty = all[1, 2]
Culture & Language SettingsStringLocale for date/number formattingen-US
Apply to all worksheets

Leave both Target Worksheets-By Name and Target Worksheets-By Index empty to apply text headers/footers to all worksheets in the workbook.

Output

The PDF4me Add Text Header Footer to Excel action returns the modified Excel file for use in subsequent Zap steps. The output format is common across all PDF4me Excel actions in Zapier—use the fields below to map results to your next step.

Key output fields (map these to your next step)

File Url

API endpoint to download the processed Excel file. Map this to the next step's file input (e.g., Google Drive, Dropbox, or another PDF4me Excel action).

Generated URLs follow this format (example—not a working link):

api.pdf4me.com/Zapier/GetDocument?d=...
Alternate File Url

Alternative download URL with the filename in the path. Use when the receiving app expects a human-readable filename in the URL.

Generated URLs follow this format (example—not a working link):

api.pdf4me.com/Zapier/GetAltDocument/.../add_header_sample_file.xlsx
File Name / Full File Name / File Extension

Use for naming the saved file or passing metadata to the next step. Values match your input filename.

Complete output structure

All output fields (Zapier Test/Output panel)

ParameterTypeDescription
Job IdStringUnique identifier for the Zapier job execution
File UrlURLAPI endpoint to download the processed Excel file
Alternate File UrlURLAlternate download URL with filename in path
File NameStringBase filename without extension
File ExtensionStringFile extension (e.g., .xlsx)
Full File NameStringComplete filename with extension
Document IdStringUnique identifier for the processed document
File SizeNumberSize of the output file in bytes
Doc TextStringExtracted text (typically empty for Excel operations)

:::info Same output for all PDF4me Excel actions This output structure is shared across Add Text Header Footer, Add Rows, Update Rows, Add Watermark, and other PDF4me Excel actions in Zapier. The URLs are temporary—use them in the next step before they expire. :::

Scenario Examples

The PDF4me Add Text Header Footer to Excel action in Zapier provides comprehensive scenario templates designed for real-world branding and compliance needs:

Automated Financial Report Text Branding Workflow

Transform your financial reporting with automated header and footer text branding:

Complete Scenario Steps:

  1. Trigger: Monthly financial close completion event
  2. Get Financial Report: Retrieve monthly workbook from Google Drive
  3. Add Title Header: Set Header Center-Text = "Q4 2024 Financial Results", Header Center-Font Size = 14, Header Center-Color = #003366
  4. Add Confidential Footer: Set Footer Center-Text = "Confidential - Internal Use Only"
  5. Apply to All Sheets: Leave Target Worksheets-By Name and Target Worksheets-By Index empty
  6. Upload Branded Report: Map File Url from output to Google Drive executive folder
  7. Email CFO: Send notification with download link to finance leadership
  8. Archive Report: Store in monthly reports archive

Business Benefits:

  • Brands 12 monthly financial reports automatically each year
  • Ensures consistent confidentiality marking on all worksheets
  • Eliminates manual header/footer edits, saving 15 minutes per report
  • Professional appearance for executive distribution and compliance

Industry Use Cases & Applications

  • Financial Statement Titles: Add period titles to header (e.g., "Q4 2024 Statement of Cash Flows")
  • Confidentiality Footers: Insert "Confidential - Internal Use Only" footer on all financial reports
  • Report Generation Dates: Add "Generated: MM/DD/YYYY" footer for version control and tracking
  • Budget Report Headers: Insert department and period headers on budget vs. actual reports
  • Audit Trail Footers: Add "Prepared By: [Name]" and "Review Date: [Date]" for compliance

Get Help