Mail Merge List of Docs in Make
This module will be deprecated soon. Migrate to Generate Documents Multiple for enhanced batch document generation with better performance and expanded features.
What this module does
PDF4me — Mail Merge With Data String List of Docs merges a Word or PDF template with a JSON array of data records inside a Make scenario — producing one personalized document per array object. Set Merge Output File to Yes to receive all documents combined into a single PDF, or No (default) for a zip archive of individual files. Typical uses include bulk contract generation, mass invoicing, certificate batches, and personalized letter campaigns.
Authenticating Your API Request
Every PDF4me module in Make requires a valid Connection. Create or select one that holds your PDF4me API key so the scenario can authenticate batch document generation requests securely.
Important Facts You Should Not Miss
Yes for a single PDF containing all documents in sequence. Set to No (default) for a zip archive with one file per data record — use Make's Archive module to extract and an Iterator to process individually.
File receives the template binary; Merge Data receives the JSON array — one object per document. Merge Output File controls whether output is a combined PDF or a zip archive.
Parameters
Required: Connection, File, and Merge Data — all three must be provided. Merge Output File defaults to No (zip archive).
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Connection | Yes | PDF4me API connection. Click Add and paste your API key if connecting for the first time. | Your PDF4me connection |
| File | Yes | Binary content of the Word or PDF template. Map from a preceding download module such as Dropbox Download a File. | 1. Data |
| Merge Data | Yes | JSON array of data records. Each object generates one document. Field key names must exactly match the mail merge placeholder names in the template. | [{"Name":"John","Co":"Acme"}] |
| Merge Output File | No | Controls the output format. Yes = single combined PDF of all documents. No (default) = zip archive with one file per data record. | No |
Quick Setup
- Add PDF4me → Mail Merge With Data String List of Docs to your Make scenario.
- Select Connection (or click Add to create one with your API key).
- Map File to the binary output of the preceding template download module.
- Set Merge Data to a JSON array — each object's keys must match the merge field names in your template exactly.
- Set Merge Output File to
Yesfor a single combined PDF or leave asNofor a zip, then click Save and run.
For new scenarios, use Generate Documents Multiple — it supports the same JSON array approach with improved batch performance, better memory management for large datasets, and extended format options.
Workflow Examples
Workflow ExamplesCommon Make scenario patterns using Mail Merge With Data String List of Docs.
- A scheduled trigger fires on the first of the month.
- A CRM query returns all contracts expiring within 30 days as a JSON array.
- Mail Merge List of Docs merges the contract template with the array — one renewal document per client.
- Make's Archive module extracts the zip; an Iterator emails each client their personalised renewal contract.
- A scheduled trigger fires on the last day of the month.
- Google Sheets returns all unbilled orders as a structured JSON array.
- Mail Merge List of Docs runs with Merge Output File set to Yes — producing one combined PDF of all invoices.
- The combined PDF is uploaded to Dropbox for the finance team to review and distribute.
- An LMS webhook fires when a cohort completes a course, passing all student names as a JSON array.
- Google Drive downloads the certificate Word template.
- Mail Merge List of Docs generates one certificate per student in the array.
- The Archive module extracts the zip; an Iterator applies a digital signature and emails each certificate to the respective student.