Merge Documents - Document Assembly for Zapier
PDF4me Merge Documents is a Zapier action that combines multiple Word files into a single document. Use Sort Position to control merge order, Format Mode to choose how styles combine, and Compliance Level for document standards conformance. Returns one merged Word file for the next Zap step, no manual copy-paste in Word.
What this action does
Takes two or more Word documents from previous Zap steps and combines them into one file, in the order you set with Sort Position. Choose how each document's formatting carries over with Format Mode, and optionally set a compliance level and time zone for the merged output. Useful for assembling multi-department reports, compiling proposal sections, or combining contract clauses without opening Word.
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 document merging services.
Important Facts You Should Not Miss
Use the + button to map File1, File2 (and File Name1, File Name2) from earlier Zap steps. Set Number of files first to reveal the file fields. Each Word file must provide full content, not "Exists but not shown" references.
If you see "File: (Exists but not shown)" and get errors, select the option that provides the full file content. See Zapier & Power Automate Tips for details.


What Are the Key Features of Merge Documents?
- Multiple Document Support: Merge any number of Word documents into one
- Flexible Ordering: Control merge order with per-document Sort Position values
- Formatting Options: Choose how styles carry over with 3 Format Mode options
- Compliance Settings: Apply ECMA, Transitional, or Strict compliance levels
- Timezone Metadata: Optionally add timezone information for document tracking
Parameters
Complete list of parameters for the Merge Documents action. Parameter names and order match the Zapier configuration UI shown in the screenshots above.
- Set Number of files (2, 3, etc.) to reveal the file fields
- Map File1, File Name1, File2, File Name2 (and beyond) from previous steps
- Optionally set Sort Position per document for merge order, lower merges earlier
- Optionally set Format Mode per document and overall Compliance Level/Time Zone
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Number of files | Required | How many documents to merge. Determines how many File/File Name/Sort Position/Format Mode field sets appear. | 2 |
| File1 | Required | First document. Map from a previous step. Must provide full file content. | [2. File from Step 2] |
| File Name1 | Required | Filename for the first document, with .docx or .doc extension. | abc.docx |
| Sort Position1 | Conditional | Merge order for the first document. Lower values merge earlier. | 1 |
| Format Mode1 | Conditional | Formatting for the first document: KeepSourceFormatting, KeepDifferentStyles, or UseDestinationStyles. | KeepSourceFormatting |
| File2 | Required | Second document. Map from a previous step. | [4. File from Step 4] |
| File Name2 | Required | Filename for the second document. | abcd.docx |
| Sort Position2, Format Mode2 | Conditional | Same pattern as document 1. Repeats for File3, File4, and so on if Number of files is greater than 2. | 2 |
| Compliance Level | Conditional | Document standard for the merged output: ECMA, Transitional, or Strict. | Custom |
| Time Zone | Conditional | Timezone applied to document metadata in the merged file. | UTC |
Important: Number of files, and File/File Name for each document, are required. Sort Position, Format Mode, Compliance Level, and Time Zone are all optional.
What Does Merge Documents Return?
The PDF4me Merge Documents action returns the merged Word file 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 merged Word file. 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/.../merged.docx| Field | Type | What it contains |
|---|---|---|
Job Id | String | Unique identifier for the Zapier job execution. |
File Url | URL | API endpoint to download the merged 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/.../merged.docx",
"File Name": "merged",
"Full File Name": "merged.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 Merge Documents.
- A trigger fires once all department report sections have been submitted.
- PDF4me Merge Documents combines the cover page, executive summary, and each department section, using Sort Position to control the final order and Format Mode set to KeepSourceFormatting to preserve each section's own styling.
- The consolidated report uploads to an executive reports folder.
- A trigger fires when all proposal sections are marked approved.
- PDF4me Merge Documents combines the cover letter, technical approach, pricing, and team bios with Format Mode set to UseDestinationStyles for a consistent look across sections written by different teams.
- The finished proposal uploads to the submissions folder for sales leadership to review.
- A trigger fires once negotiated contract terms are finalized.
- PDF4me Merge Documents combines standard clauses, custom terms, schedules, and the signature page, with Format Mode set to KeepDifferentStyles to preserve each clause's original formatting variations.
- The assembled contract routes to the legal team for final review.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Action | Merge Documents |
| Number of files | 2 |
| File1 / File Name1 | [Mapped] / abc.docx |
| Sort Position1 | 1 |
| File2 / File Name2 | [Mapped] / abcd.docx |
| Sort Position2 | 2 |
| Format Mode | KeepSourceFormatting (optional) |
| Compliance Level | Transitional (optional) |
Common Questions
Related Actions
Same Task on Other Platforms
Industry Use Cases & Applications
- Legal & Professional
- Corporate & Business
- Human Resources
- Publishing & Documentation
- Contract Assembly: Merge standard clauses with custom terms into complete contracts
- Legal Brief Compilation: Combine argument sections, exhibits, authorities into final briefs
- Discovery Document Assembly: Merge privilege logs with responsive documents for production
- Matter File Consolidation: Combine case memos, pleadings, correspondence into matter summaries
- Opinion Letter Assembly: Merge research memos with opinion boilerplate into client letters
- Proposal Compilation: Merge cover letter, technical approach, pricing, bios into RFP responses
- Report Assembly: Combine executive summary with department sections into consolidated reports
- Business Plan Consolidation: Merge plan sections (market, operations, financials) into complete plans
- Board Package Assembly: Combine agenda, reports, resolutions into board meeting packages
- Strategic Plan Compilation: Merge vision, goals, initiatives into comprehensive strategic plans
- Employee Handbook Assembly: Merge policy sections into complete employee handbooks
- Onboarding Package Creation: Combine welcome letter, forms, policies into new hire packets
- Benefits Guide Compilation: Merge benefit plan descriptions into comprehensive benefits guides
- Performance Review Assembly: Combine evaluation forms with development plans into review documents
- Training Manual Consolidation: Merge training modules into complete training manuals
- Book Manuscript Assembly: Merge chapter documents into complete manuscript for publishing
- Technical Manual Compilation: Combine technical sections into comprehensive user manuals
- Course Material Assembly: Merge lesson modules into complete course materials
- Documentation Consolidation: Combine API docs, guides, tutorials into unified documentation
- Report Publishing: Merge report components into publication-ready documents