# 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......record of a JSON array, each file named after a field, with failed...an invoice per order — each file named after a field of its record...