Merge Documents - Document Assembly for Zapier
PDF4me Merge Documents action enables combining multiple Word documents into a single document within Zapier workflows with advanced formatting and compliance options. This powerful document merging service supports flexible document ordering with SortPosition, customizable formatting modes (KeepSourceFormatting, KeepDifferentStyles, UseDestinationStyles) per document, compliance level settings (ECMA, Transitional, Strict), timezone metadata for document tracking, and intelligent style handling with full control over merge behavior—perfect for document assembly, report consolidation, content management, contract compilation, and multi-document packaging workflows across cloud storage platforms and business applications.
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.

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 action. Configure these parameters to control document merging behavior.
Important: Parameters marked with an asterisk (***) are required. The Documents array must contain at least one document with all required properties.
| Parameter | Type | Description | Example |
|---|---|---|---|
| Documents*** | Array | Array of Documents to Merge • Array of document objects to merge • Must contain at least one document • Documents merged in ascending SortPosition order • Each object requires: Filename*, DocContent*, SortPosition* • Optional per document: FormatMode • Lowest SortPosition becomes base document • Document with lowest SortPosition = base, others appended | [{"Filename":"doc1.docx","DocContent":"[Base64]","SortPosition":0}] |
| Documents[].Filename*** | String | Document Filename • Original filename of document • Must include file extension (.docx, .doc) • Used for reference and processing • Supports dynamic naming | document1.docx |
| Documents[].DocContent*** | File | Document Content • Base64-encoded binary content • Map from previous step • Must be valid Word format (.docx, .doc) | [File] |
| Documents[].SortPosition*** | Number | Merge Order Position • Position in merge order (ascending) • Lowest SortPosition becomes base document • Must be unique within array • Can use any numbering (0,1,2 or 10,20,30) | 0 |
| Documents[].FormatMode | String | Formatting Mode • "KeepSourceFormatting" - Preserves original formatting (default) • "KeepDifferentStyles" - Keeps different styles, merges similar • "UseDestinationStyles" - Uses base document formatting • Controls style handling during merge | KeepSourceFormatting |
| Merge Options Time Zone | String | Document Timezone Metadata • Timezone for document metadata • Examples: "UTC", "America/New_York", "Europe/London" • Added as custom document property • Used for tracking and compliance • Default: null | UTC |
| Merge Options Compliance Level | String | Document Compliance Level • "ECMA" - ECMA-376 2006 standard • "Transitional" - ISO 29500:2008 Transitional (default) • "Strict" - ISO 29500:2008 Strict • "Custom" - Custom compliance • Affects document OOXML compliance | Transitional |
Output
The PDF4me Merge Documents action returns comprehensive output data for seamless Zapier workflow integration:
- Table
- JSON
- Zap Integration
Table View
| Parameter | Type | Description |
|---|---|---|
| File | URL | Direct URL to access the merged Word document |
| File Name | String | The filename without extension |
| Full File Name | String | Complete filename with .docx extension |
| File Extension | String | File extension (.docx) |
JSON Response Format
{
"File": "https://...",
"File Name": "document",
"Full File Name": "document.docx",
"File Extension": ".docx"
}
Zapier Workflow Usage
- Report Assembly: Combine department sections into full report
- Proposal Compilation: Merge proposal sections into complete submission
- Contract Assembly: Combine contract clauses into final agreement
- Manual Consolidation: Combine chapters into complete manual
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 All Sections: Combine into single consolidated report
- Upload Final Report: Save 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 Proposal: Combine preserving cover letter formatting
- Upload Final Proposal: Save to proposals submitted 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 Contract: Combine in correct legal order
- Upload Final Contract: Save to executed 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