# How to generate one document per record (mail merge) with an AI agent Mail merge with an AI agent over MCP, locally: one letter, certificate or invoice per record of a JSON array, each file named......`FirstInvoice` (the evaluation note that opens each response is...-template.md" >}}) * [From notes or email to a document]({{<...