Demo
See how Docamint transforms your Word templates and JSON/XML data into polished DOCX and PDF documents.
Template
Sample Word Template
This is a simplified version of a Word template using Docamint tags:
Dear {{customer.name}},
Thank you for your order {{order.number}} placed on {{order.date}}.
{{#each order.items}}
• {{this.name}} ({{this.sku}}) - Qty: {{this.qty}}, Total: {{this.lineTotal | currency}}
{{/each}}
Order Total: {{order.total | currency}}
Data
Sample JSON Payload
This JSON payload will be merged with the template:
{
"customer": {
"name": "Acme Corporation"
},
"order": {
"number": "SO-10293",
"date": "2026-07-25",
"total": 1299.50,
"items": [
{ "sku": "A100", "name": "Widget Pro", "qty": 2, "lineTotal": 499.00 },
{ "sku": "B200", "name": "Service Plan", "qty": 1, "lineTotal": 300.50 }
]
}
}
Output
Generated Document
When Docamint merges the template and JSON, the output looks like this:
Dear Acme Corporation,
Thank you for your order SO-10293 placed on 2026-07-25.
• Widget Pro (A100) - Qty: 2, Total: $499.00
• Service Plan (B200) - Qty: 1, Total: $300.50
Order Total: $1,299.50
The final output is available as both DOCX and PDF.
Request a live demo