# 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......certificate or invoice per record of a JSON array, each file named after...every customer in customers.json, as PDFs named after the customer...