Skip to main content

Add HTML Header Footer - Branding for Make

What this module does
PDF4me Add HTML Header and Footer inserts a richly formatted HTML header or footer into every page of a PDF inside your Make scenario. Write any HTML — company logo as base64, page number variables, dates, confidentiality notices — and the module renders it onto the document. Set margins in millimetres, skip the first page for cover sheets, and target specific page ranges. The output PDF is ready for email, storage, or further PDF4me processing.
Location must be set to Header or Footer — not both in one call

Each module call inserts content in one location only — either Header or Footer. To add both a header and a footer, chain two modules: the first adds the header (mapping the output Doc Data as input to the second), and the second adds the footer. This two-step chain is the standard pattern for full document branding.

Embed images as base64 — external URLs may not resolve server-side

If your header includes a company logo, convert the image to a base64 data URI and embed it inline in the HTML: <img src="data:image/png;base64,..." />. External image URLs may not resolve during server-side rendering, resulting in a broken image in the header. Base64 encoding guarantees the image is always rendered correctly.

Set Margin Top or Bottom to match your header/footer height

If the header or footer overlaps the main page content, increase Margin Top in MM (for headers) or Margin Bottom in MM (for footers) to push the content area away from the edge. A 10–15mm margin is typical for single-line footers; taller multi-line headers may need 20–25mm to avoid overlap.

Authenticating Your API Request

To access the PDF4me Web API through Make, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Make scenarios and PDF4me's powerful header/footer services.

Add HTML Header Footer Make

Key Features

  • HTML Formatting: Use HTML and CSS for rich header/footer design
  • Dynamic Content: Include page numbers, dates, and dynamic variables
  • Logo Embedding: Insert company logos and branding images
  • Page Range Control: Apply to specific pages or skip first page
  • Margin Control: Fine-tune positioning with margin settings

Parameters

Complete list of parameters for the Add HTML Header Footer module. Configure these parameters to control header/footer insertion.

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

ParameterTypeDescriptionExample
File Name***StringSource PDF Filename
• Specify filename with .pdf extension
• Map from previous module output
• Used for output identification
• Supports dynamic naming
report.pdf
Document***BufferPDF File Content
• Map PDF file buffer from previous module
• Source from Dropbox, Google Drive, HTTP
• Binary PDF to add header/footer
• Any PDF document
[PDF Buffer]
HTML Content***StringHeader/Footer HTML Code
• HTML markup for header or footer
• Supports CSS styling and formatting
• Can include images as base64 or URLs
• Dynamic content with variables
<p>Page: pageNumber</p>
Location***StringPlacement Position
• Header - Top of page
• Footer - Bottom of page
• Determines where HTML content appears
• Choose based on content purpose
Footer
skip First PageBooleanExclude Cover Page
• Yes - Skip header/footer on first page
• No - Apply to all pages including first
• Useful for cover pages and title pages
• Common for professional documents
Yes
Pages***StringTarget Page Selection
• Comma-separated page indices (0-based)
• Supports ranges with hyphen notation
• Empty processes all pages
• String format for flexibility
0-
Margin top in MMDoubleTop Margin Spacing
• Distance from page top edge in millimeters
• Controls header vertical position
• Prevents overlap with page content
• Adjust for header height
10
Margin Bottom in MMDoubleBottom Margin Spacing
• Distance from page bottom edge in millimeters
• Controls footer vertical position
• Prevents overlap with page content
• Adjust for footer height
10
Margin Left in MMDoubleLeft Margin Spacing
• Distance from page left edge in millimeters
• Controls horizontal positioning
• Creates left padding for header/footer
• Align with document margins
15
Margin Right in MMDoubleRight Margin Spacing
• Distance from page right edge in millimeters
• Controls horizontal positioning
• Creates right padding for header/footer
• Align with document margins
15

Output

The PDF4me Add HTML Header Footer module returns comprehensive output data for seamless Make scenario integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
Document NameStringOutput PDF filename with header/footer added
Document DataBase64PDF with HTML header/footer in Base64 format

Scenario Examples

The PDF4me Add HTML Header Footer module in Make provides comprehensive scenario templates for header/footer automation:

Automated Report Header Footer Branding Scenario

Transform your reports with automated professional header/footer addition:

Complete Scenario Steps:

  1. Trigger: Monthly report generation completed
  2. Get Report PDF: Download generated report from system
  3. Prepare HTML Header: Build HTML with company logo and date
  4. Prepare HTML Footer: Create footer with page numbers and confidential notice
  5. Add Header: Insert branded header to all pages
  6. Add Footer: Insert footer skipping first page
  7. Upload Branded Report: Save to Google Drive reports folder
  8. Email Stakeholders: Send professionally branded report

Business Benefits:

  • Brands 50+ reports monthly automatically
  • Ensures consistent professional report appearance
  • Eliminates manual header/footer addition
  • Maintains company branding across all reports

Industry Use Cases & Applications

  • Report Branding: Add company headers to business reports
  • Proposal Formatting: Insert branded headers/footers in proposals
  • Document Tracking: Add document numbers in footers
  • Professional Formatting: Brand all outgoing documents

Step-by-step guides to add HTML headers and footers to PDFs:

Get Help