Mail merge from CSV
Mail merge from CSV: fill a Word template (DOCX with {{placeholders}} or Word MERGEFIELDs) into one DOCX or a ZIP of letters, or produce DIN 5008 letters as one PDF. DOCX: finds {{placeholders}} even when Word split them across runs, plus simple and complex MERGEFIELDs, keeps the run formatting, turns line breaks into Word breaks and builds one document with a new section per record (page numbers restart) or a ZIP with one DOCX per record (headers/footers per record).
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://format.halowerk.com/v1/mail-merge
| Category | Everything else |
|---|---|
| Provider host | format.halowerk.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-28 | valid payment request | 402 | $0.005 | 910 ms |
| 2026-11-27 | valid payment request | 402 | $0.005 | 877 ms |
| 2026-11-26 | valid payment request | 402 | $0.005 | 1000 ms |
| 2026-11-25 | valid payment request | 402 | $0.005 | 897 ms |
| 2026-11-24 | valid payment request | 402 | $0.005 | 905 ms |
Example input (from the provider)
{
"body": {
"csv": "name;street;zip;city;no\nErika Mustermann;Hauptstr. 5;10115;Berlin;R-1",
"letter_template": {
"body": [
"Dear {{name}}, please find invoice {{no}} attached."
],
"recipient": [
"{{name}}",
"{{street}}",
"{{zip}} {{city}}"
],
"sender": {
"city": "Gronau",
"name": "Example GmbH",
"postal_code": "48599",
"street": "Musterweg 3"
},
"subject": "Invoice {{no}}"
},
"output": "pdf"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"csv": {
"maxLength": 2000000,
"type": "string"
},
"delimiter": {
"default": "auto",
"enum": [
"auto",
",",
";",
"\t"
],
"type": "string"
},
"file_name": {
"default": "letter-{{_nr}}",
"maxLength": 120,
"type": "string"
},
"letter_template": {
"type": "object"
},
"output": {
"enum": [
"docx",
"zip",
"pdf"
],
"type": "string"
},
"rows": {
"items": {
"additionalProperties": {
"type": [
"string",
"number",
"null"
]
},
"type": "object"
},
"maxItems": 500,
"minItems": 1,
"type": "array"
},
"template_docx_base64": {
"maxLength": 14000000,
"type": "string"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}