Mail merge from CSV
format.halowerk.com/v1/mail-merge
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
POST
https://format.halowerk.com/v1/mail-mergeUptime100% of 2 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://format.halowerk.com/v1/mail-merge", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"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"}),
});
console.log(await res.json());Example input
{
"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"
}