Merge Documents - Document Assembly for Make
Merge Documents is a Make module by PDF4me that combines multiple Word (.docx) files into a single document. Use it to assemble reports from department sections, compile proposals, or consolidate contract clauses, with full control over merge order and formatting.
What this module does
PDF4me Merge Documents combines multiple Word documents into a single document within Make scenarios with advanced formatting and compliance options. It supports flexible document ordering with SortPosition, customizable formatting modes (KeepSourceFormatting, KeepDifferentStyles, UseDestinationStyles) per document, compliance level settings (ECMA, Transitional, Strict), and timezone metadata for document tracking, ideal for document assembly, report consolidation, contract compilation, and multi-document packaging workflows.
How Do I Authenticate My Make Scenario?
To access the PDF4me Web API through Make, every request must include a valid Connection holding your PDF4me API key. This enables secure, authenticated communication between your Make scenario and PDF4me's Word document merging service.
Important Facts You Should Not Miss

Build the Documents array with Filename, DocContent, and SortPosition per document. The lowest SortPosition becomes the base document.
What Parameters Does Merge Documents Need?
Required: Documents array must contain at least one entry, and every entry needs Filename, DocContent, and SortPosition.
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Documents | Required | Array of document objects to merge. Must contain at least one document. Documents are merged in ascending SortPosition order; the lowest SortPosition becomes the base document. | [{"Filename":"doc1.docx","SortPosition":0}] |
| Documents[].Filename | Required | Original filename of the document, including extension (.docx, .doc). Used for reference and format detection. | document1.docx |
| Documents[].DocContent | Required | Base64-encoded binary content of the document. Map from a previous module. Must be a valid Word format. | [Buffer] |
| Documents[].SortPosition | Required | Position in merge order, ascending. Must be unique within the array. Any numbering scheme works (0,1,2 or 10,20,30). | 0 |
| Documents[].FormatMode | Conditional | Per-document formatting mode: KeepSourceFormatting (default, preserves original), KeepDifferentStyles (keeps styles distinct), or UseDestinationStyles (forces base document styling). | KeepSourceFormatting |
| Merge Options Time Zone | Conditional | Timezone metadata written to the merged document, e.g. UTC, America/New_York, Europe/London. Used for tracking and compliance. | UTC |
| Merge Options Compliance Level | Conditional | OOXML compliance standard: ECMA, Transitional (default), Strict, or Custom. | Transitional |
Output
| Field | Type | What it contains |
|---|---|---|
Name | String | Output Word filename, taken from the base document (lowest SortPosition). |
Doc Data | Buffer | The merged Word document containing all input documents combined in SortPosition order. |
Typical Setups
Workflow ExamplesCommon Make scenario patterns using Merge Documents.
- A scheduled trigger fires once all department reports are submitted for the month.
- A cover page (SortPosition 0) and executive summary (SortPosition 1) are retrieved from a templates folder.
- An Iterator loops through each department's report, assigning ascending SortPosition values.
- Merge Documents combines all sections with FormatMode set to KeepSourceFormatting, preserving each department's own styling.
- The consolidated report is uploaded to an executive reports folder and emailed to leadership.
- A trigger fires when all proposal sections (cover letter, technical approach, pricing, team bios) are marked approved.
- Each section is retrieved from its owning team's folder with sequential SortPosition values.
- FormatMode is set to UseDestinationStyles so every section adopts the cover letter's formatting for a consistent look.
- Merge Documents combines all sections into the final proposal document.
- The completed proposal is uploaded to a submissions folder and routed to sales leadership for final review.
- A trigger fires when negotiated contract terms are finalized and approved.
- Standard clauses are retrieved from a clause library (SortPosition 0), custom terms from the negotiation folder (SortPosition 1), schedules (SortPosition 2), and the signature page (SortPosition 3).
- FormatMode is set to KeepDifferentStyles so each clause type keeps its own formatting variations.
- Merge Documents assembles the components in correct legal order into a single contract.
- The final contract is uploaded to an executed-contracts folder and routed to the legal team for review.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Module | Merge Documents |
| Connection | PDF4me API key |
| Documents array | One entry per file: Filename, DocContent, SortPosition |
| FormatMode (preserve each doc) | KeepSourceFormatting |
| FormatMode (single consistent look) | UseDestinationStyles |
| FormatMode (keep styles distinct) | KeepDifferentStyles |
| Compliance Level default | Transitional |
| Output fields | Name, Doc Data |
Frequently Asked Questions
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