Merge Documents - Document Assembly for Zapier
PDF4me Merge Documents combines multiple Word files into one—ideal for assembling reports from department sections, compiling proposals, or merging contract clauses. Use SortPosition to control order, choose how styles merge (KeepSourceFormatting, KeepDifferentStyles, UseDestinationStyles), and set compliance (ECMA, Transitional, Strict). No manual copy-paste, no Word desktop required.
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 document merging services.


Configuration at a Glance
The screenshot shows Number of files = 2, File1 and File2 mapped from previous steps (e.g., 2. File, 4. File), File Name1 = abc.docx, Sort Position1 = 1, Format Mode1 (dropdown). For each file, map File, File Name, and set Sort Position. Lower Sort Position = earlier in merge order.
2
Map from step
abc.docx
1
Choose value...
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.
Key Features
- Multiple Document Support: Merge unlimited number of Word documents into one
- Flexible Ordering: Control merge order with customizable SortPosition values
- Formatting Options: Choose how to handle styles during merge (3 modes)
- Compliance Settings: Apply different compliance levels (ECMA, Transitional, Strict)
- Timezone Metadata: Add timezone information for document tracking
- Style Management: Intelligent handling of document styles and formatting
- Base Document Concept: First document (lowest SortPosition) becomes foundation
- Metadata Preservation: Maintain document properties and custom metadata
Parameters
Complete list of parameters for the Merge Documents action. Parameter names match the Zapier configuration UI.
- Set Number of files (2, 3, etc.)
- Map File1, File2 (and File Name1, File Name2) from previous steps
- Set Sort Position1, Sort Position2 for merge order—lower = earlier
- Set Format Mode1, Format Mode2 per document (KeepSourceFormatting, etc.)
Important: Parameters marked with an asterisk (***) are required. Set Number of files first; Zapier shows File1, File Name1, Sort Position1, Format Mode1, then File2, File Name2, etc. Lower Sort Position = earlier in merge order.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Number of files*** | Number | How many documents to merge—determines how many File/File Name/Sort Position/Format Mode fields appear | 2 |
| File1*** | File | First document—map from previous step (Drive, Dropbox, trigger) | [2. File from Step 2] |
| File Name1*** | String | Filename for first document—with .docx or .doc extension | abc.docx |
| Sort Position1*** | Number | Merge order for first document—lower = earlier in output | 1 |
| Format Mode1 | String | Formatting for first document—KeepSourceFormatting, KeepDifferentStyles, UseDestinationStyles | Choose value... |
| File2*** | File | Second document—map from previous step | [4. File from Step 4] |
| File Name2, Sort Position2, Format Mode2 | — | Same for second document; repeat for File3, File4... if Number of files > 2 | — |
| Merge Options Time Zone | String | Timezone for document metadata—UTC, America/New_York, etc. | UTC |
| Merge Options Compliance Level | String | Document compliance—ECMA, Transitional, Strict | Transitional |
Output
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- Table
- JSON
- Zap Integration
| Parameter | Type | Description |
|---|---|---|
| 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 filename in path |
| File Name | String | Base filename without extension |
| Full File Name | String | Complete filename with extension |
| File Extension | String | File extension (.docx) |
Example JSON output (URLs show format only):
{
"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.
Scenario Examples
The PDF4me Merge Documents action in Zapier provides comprehensive scenario templates:
- Report Assembly
- Proposal Compilation
- Contract Assembly
Automated Multi-Department Report Assembly Workflow
Complete Scenario Steps:
- Trigger: Monthly department reports all submitted
- Get Cover Page: Retrieve from templates (SortPosition = 0)
- Get Executive Summary: From summary folder (SortPosition = 1)
- Get Department Sections: Loop through 5 departments (SortPosition = 2-6)
- Build Documents Array: Add all with FormatMode = "KeepSourceFormatting"
- Set Compliance: Merge Options Compliance Level = "Transitional"
- Set Timezone: Merge Options Time Zone = "UTC"
- Merge Documents: Map File1, File2, … for each section; set Sort Position1, Sort Position2, …
- Upload Final Report: Map File Url from output to executive reports folder
- Email Leadership: Send consolidated report to C-suite
Business Benefits:
- Assembles 12 monthly executive reports automatically
- SortPosition ensures correct section ordering
- KeepSourceFormatting preserves department styling
- Reduces manual assembly from 3 hours to 5 minutes per report
Automated RFP Response Assembly Workflow
Complete Scenario Steps:
- Trigger: All proposal sections approved for submission
- Get Cover Letter: From proposals folder (SortPosition = 0)
- Get Technical Approach: From technical team (SortPosition = 1)
- Get Pricing: From finance (SortPosition = 2)
- Get Team Bios: From HR (SortPosition = 3)
- Set Format Mode: FormatMode = "UseDestinationStyles" for consistency
- Build Documents Array: All sections with sequential SortPosition
- Merge Documents: Map File1, File2, … for each section; set Sort Position per section
- Upload Final Proposal: Map File Url from output to proposals folder
- Email Sales Leadership: Send complete RFP response
Business Benefits:
- Compiles 25+ RFP responses monthly automatically
- UseDestinationStyles ensures consistent formatting
- SortPosition controls professional section flow
- Reduces proposal assembly from 4 hours to 10 minutes
Automated Contract Document Assembly Workflow
Complete Scenario Steps:
- Trigger: Contract terms finalized and approved
- Get Standard Clauses: From clause library (SortPosition = 0)
- Get Custom Terms: From negotiation folder (SortPosition = 1)
- Get Schedules: From exhibits folder (SortPosition = 2)
- Get Signature Page: From templates (SortPosition = 3)
- Set Format Mode: FormatMode = "KeepDifferentStyles" per section
- Build Contract Array: All components with ordering
- Merge Documents: Map File1, File2, … for clauses, terms, schedules; set Sort Position
- Upload Final Contract: Map File Url from output to contracts folder
- Email Legal Team: Send for final review and execution
Business Benefits:
- Assembles 40+ contracts monthly automatically
- KeepDifferentStyles preserves clause formatting variations
- Clause library ensures consistency and completeness
- Reduces contract assembly from 5 hours to 15 minutes
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