{"slug":"format-halowerk-com-v1-mail-merge-b407c7","title":"Mail merge from CSV","host":"format.halowerk.com","method":"POST","resource":"https://format.halowerk.com/v1/mail-merge","category":"other","description":"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, tur","price_listed":0.005,"price_asked":0.005,"state":"answering","state_label":"Answering","checks_7d":5,"answered_7d":5,"latency_ms_median":905,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"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"},"output_schema":{"$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"},"history":[{"day":"2026-11-28","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":910,"error":null},{"day":"2026-11-27","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":877,"error":null},{"day":"2026-11-26","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":1000,"error":null},{"day":"2026-11-25","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":897,"error":null},{"day":"2026-11-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.005,"price_match":true,"latency_ms":905,"error":null}],"description_full":"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).","last_updated":"2026-11-24T10:13:39.951Z","schemes":["exact"]}