MergeHawk
🦅 Dynamics 365 Document Engine

MergeHawk.

A document generator for Dynamics 365 and structured business data. Design branded templates, map merge fields, generate PDFs or Word documents in batches, route approvals, and deliver the finished documents without manual copy-paste.

MergeHawk productises the hard part of CRM document generation: repeatable templates, field mapping, approvals, batch output, and delivery rails without starting from a blank consulting canvas.

📝 Text 📊 Table 🖼️ Image 📋 Section 🔁 Repeater
Company Header — {{account.name}}
Dear {{contact.firstname}},
Invoice #{{invoice.number}} — Total: {{invoice.total}}
🔁 Line Items → {{product.name}} × {{qty}}
Signature Block — {{user.fullname}}
// visual builder

Drag. Drop. Merge.

No Word macros. No XML templates. Build your document templates with a visual drag-and-drop editor. Add text blocks, tables, images, repeating sections — then bind CRM fields with a click.

Non-technical users can build templates. Developers can extend them.

Visual EditorNo CodeLive Preview
📋
Template
MergeHawk Builder
🦅
MergeHawk
Merge Engine
⚙️
DocForge
Rendering
📄
Output
PDF / Word / HTML
// powered by docforge

Two engines. One pipeline.

MergeHawk handles the CRM data extraction and template merging. DocForge handles the document rendering. Together they produce pixel-perfect output every time.

The same rendering engine behind our DocForge standalone product — battle-tested across thousands of documents.

DocForge EngineD365 Plugin.NET / C#
// output

Any format. Any scale.

📄
PDF
Print-ready documents with fonts, images, headers/footers
📝
Word
Editable .docx with styles, tables, and merge fields preserved
🌐
HTML
Email-ready HTML with inline styles for SendGrid delivery
📊
Excel
Data exports with formatting, formulas, and pivot-ready layouts
// workflow

How it works.

From template to delivered document in four steps.

1

Design

Build your template in the visual editor. Drag text, tables, images, repeaters. Bind CRM fields from a picklist.

2

Trigger

Run from a D365 ribbon button, workflow, Power Automate flow, or API call. Single record or bulk batch.

3

Merge

MergeHawk pulls CRM data, resolves lookups, expands related records, and merges into the template. DocForge renders the output.

4

Deliver

Attach to the CRM record, email via SendGrid, save to SharePoint, or return via API. Automatic audit trail.

// use cases

Built for real CRM workflows.

📑

Contracts & Proposals

Generate client-ready contracts from Opportunity data. Merge product line items, pricing, terms. Send for signature.

🧾

Invoices & Statements

Bulk-generate invoices from D365 sales orders. Include line items, tax calculations, payment terms. Auto-email to contacts.

📊

Client Reports

Monthly or quarterly reports pulling from Cases, Activities, KPIs. Branded PDF with charts, tables, and commentary sections.

📋

Onboarding Packs

Welcome documents, NDAs, setup checklists — all merged from Contact and Account records. One click, full pack generated.

🏆

Award Letters

Membership certificates, recognition letters, completion notifications. Merge from custom entities with branding.

📬

Bulk Mail Merge

Marketing letters, event invitations, renewal notices. Process thousands of records in a single batch with SendGrid delivery.

// fixed-scope entry offer

Prove one Dynamics 365 document flow in two weeks.

Start with one high-value quote, contract, report, or onboarding pack. We map safe sample Dataverse data into a branded conditional template, prove the approval path, and leave you with an implementation blueprint instead of an open-ended discovery exercise.

From $7,500AUD + GST · two-week fixed-scope pilot
1. Field map

One source entity plus related account, contact, or line-item fields, mapped from sanitized sample data.

2. Working template

One branded document with merge fields, repeaters, and up to four conditional clauses.

3. Approval proof

A demonstrated draft-to-approved path with one output and delivery destination.

4. Scale blueprint

Architecture, risks, backlog, and fixed next-stage options for production rollout.

Scope the fixed-scope pilot → Try the conditional merge demo Boundaries: one document workflow, safe sample data only, one approval route, one delivery target. Production credentials and live customer data stay out of the pilot.
// technical

Under the hood.

⚡ CRM Integration

  • Native D365 plugin (runs server-side)
  • FetchXML query engine for data extraction
  • Related record traversal (N:1, 1:N, N:N)
  • Lookup resolution and option set labels
  • Custom entity and field support
  • Multi-currency and multi-language

🎨 Template Engine

  • Visual drag-and-drop builder (React)
  • Conditional sections (show/hide by field value)
  • Repeating sections for line items
  • Expression engine for calculations
  • Image binding (entity images, logos)
  • Header/footer with page numbers

📄 Rendering (DocForge)

  • PDF generation with embedded fonts
  • Word .docx with full style support
  • HTML email with inline CSS
  • Excel data exports
  • Batch processing (1000s of records)
  • Async queue for large jobs

📬 Delivery

  • Attach to CRM record (Notes/Annotations)
  • Email via SendGrid with tracking
  • SharePoint document library upload
  • API response (base64 or stream)
  • Azure Blob Storage archival
  • Full audit trail in CRM

Ready to stop building documents by hand?

Start with the two-week fixed-scope pilot, then move to a managed D365 rollout only after the field map, template logic, approval route, and delivery path are proven.

Scope the fixed-scope pilot → Try Live Demo

Part of the Sparrofox product suite