New File in Your Dropbox Folder? Run a Mail Merge in Make. Six Steps, Fully Automated!
Drop a Word template (e.g. simple_mail_merge_template.docx) into a Dropbox folder and keep a JSON file (e.g. sample_mail_merge_data.json) in the same place. When a new file appears, Make can run a mail merge automatically: find the JSON, call PDF4me – Generate Document (Template File Type: Mail Merge), then upload the result as Word and again as PDF. Six modules. Trigger-based. No manual run.
This guide is fact-checked against real Make screenshots: New File in Folder, Find Json Data File, Generate Document (template + data file or data text), and Upload File (with folder path, file name, and extension).
In a nutshell: Dropbox – New File in Folder (watch /Generate document Mail Merge) → Dropbox – Find Json Data File (same folder, sample_mail_merge_data.json, include file contents) → PDF4me – Generate Document (Template File Type: Mail Merge, template from step 1, data from step 2) → Dropbox – Upload File (e.g. Mail_Merge_Zap_deployed.docx) → PDF4me – Generate Document (second run, e.g. PDF output) → Dropbox – Upload File (e.g. Mail_Merge_Zap_deployed-2.pdf). Result: one Word and one PDF in /Generate document Mail Merge/Output per trigger.
What You'll Get
Trigger: A new file in the watched Dropbox folder (e.g. a new or updated template). Input: The triggering file as template and a fixed JSON file (sample_mail_merge_data.json) in the same folder. Output: A generated Word document and a generated PDF uploaded to /Generate document Mail Merge/Output with names like Mail_Merge_Zap_deployed.docx and Mail_Merge_Zap_deployed-2.pdf. Overwrite is set to False so existing files are not replaced (Make can create new names).
What You Need
- Make — Create a Make account and open a new scenario.
- PDF4me API key — Get your API key. Connect PDF4me when you add the Generate Document module. See Connect PDF4me to Make.
- Dropbox — With modules: New File in Folder, Find Json Data File, and Upload File. Space: Default (or your connected space).
- Word mail merge template — e.g.
simple_mail_merge_template.docx, with merge fields matching your JSON keys. Place it (or trigger with a new file) in the watched folder. - JSON data file — e.g.
sample_mail_merge_data.json, with keys likefirstname,lastname,gender,member. Example:{"firstname":"John","lastname":"Adams","gender":"Female","member":"Basic"}. Stored in the same folder so Find Json Data File can pick it up.
The Scenario at a Glance (6 Modules)
- Dropbox – New File in Folder (1) — Trigger: watch
/Generate document Mail Merge. Include file contents and sharing link as needed. - Dropbox – Find Json Data File (2) — Same folder, file name
sample_mail_merge_data.json. Include file contents: true. - PDF4me – Generate Document (3) — Template File from step 1 (e.g. 1. File), Template File Name/Ext from step 1 (e.g.
simple_mail_merge_template,.docx). Template File Type: Mail Merge. Input Data Format Type: File. Data File from step 2 (2. File). Input Data Type: Json. - Dropbox – Upload File (4) — Folder:
/Generate document Mail Merge/Output. File: 3. File Url. Overwrite: False. Specify File Name: e.g.Mail_Merge_Zap_deployed. Specify File Extension:.docx. - PDF4me – Generate Document (5) — Same template and data; can use Input Data Format Type Text and Data Text (e.g. JSON from step 2) and set output to PDF if your module supports Output Type.
- Dropbox – Upload File (6) — Folder: same Output path. File: 5. File Url. Overwrite: False. Specify File Name: e.g.
Mail_Merge_Zap_deployed-2. Specify File Extension:.pdf.
Complete scenario overview

Fact-checked: Six modules in order. Trigger: New File in Folder. Find Json Data File returns the JSON; Generate Document runs twice (e.g. Word then PDF); each upload saves to /Generate document Mail Merge/Output. Run status: Successful.
Step 1: Dropbox – New File in Folder (Trigger)
Scenario so far: Trigger only.
- Add Dropbox → New File in Folder (or equivalent trigger that watches a folder).
- Space — Default (or your Dropbox space).
- Folder —
/Generate document Mail Merge. This is the folder where you (or another process) will add the template or trigger file. - Include files in subfolders? — Set as needed (e.g. false to watch only the top-level folder).
- Include file contents? — true so the file content is available for the Generate Document module.
- Include sharing link? — true if you need a link in later steps; otherwise optional.
- Save. When a new file appears in the folder, the scenario runs. The output (e.g. 1. File, 1. File Name, 1. File Ext) will be used as the template in PDF4me.
New File in Folder: Configuration

Fact-checked: Folder = /Generate document Mail Merge. Include file contents and Include sharing link set to true. Trigger fires when a new file is added to this folder.
Step 2: Dropbox – Find Json Data File
Scenario so far: Trigger → Find JSON.
- Add Dropbox → Find Json Data File (or the module that finds a file by name in a folder).
- Space — Default.
- Folder —
/Generate document Mail Merge(same as step 1). - Include files in subfolders? — false so only the specified folder is searched.
- File Name —
sample_mail_merge_data.json. - Include file contents? — true so the JSON content is passed to PDF4me.
- Save. The output (e.g. 2. File or file content) will be mapped as Data File in Generate Document.
Find Json Data File: Configuration

Fact-checked: Folder = /Generate document Mail Merge; File Name = sample_mail_merge_data.json; Include file contents = true. Map this module's file output to PDF4me Data File (2. File).
Step 3: PDF4me – Generate Document (Template from 1, Data from 2)
Scenario so far: Trigger → Find JSON → Generate Document.
- Add PDF4me → Generate Document.
- Template File — Map from step 1 (e.g. 1. File). (Exists but not shown in UI.)
- Template File Name — From step 1: 1. File Name: simple_mail_merge_template, 1. File Ext: .docx.
- Template File Type — Mail Merge.
- Input Data Format Type — File.
- Data File — Map from step 2 (e.g. 2. File).
- Input Data Type — Json.
- Save. The module returns a file (e.g. 3. File Url or Document) for the first Upload.
Generate Document: Template and Data File

Fact-checked: Template from 1. File; Template File Name = simple_mail_merge_template, Ext = .docx; Template File Type = Mail Merge; Data File from 2. File; Input Data Type = Json. Configure tab shown.
Step 4: Dropbox – Upload File (Word)
Scenario so far: Trigger → Find JSON → Generate Document → Upload.
- Add Dropbox → Upload File.
- Space — Default.
- Folder —
/Generate document Mail Merge/Output. - File — Map from step 3 (e.g. 3. File Url).
- Overwrite — False (existing file with same name will not be replaced; Make may create a new name).
- Specify File Name — e.g.
Mail_Merge_Zap_deployed. - Specify File Extension —
.docx. - Save. The first generated document (Word) is saved to the output folder.
Upload File: Word output

Fact-checked: Folder = /Generate document Mail Merge/Output; File = 3. File Url; Overwrite = False; Specify File Name = Mail_Merge_Zap_deployed; Specify File Extension = .docx.
Step 5: PDF4me – Generate Document (Second run, e.g. PDF)
Scenario so far: Trigger → Find JSON → Generate Document → Upload Word → Generate Document again.
- Add a second PDF4me → Generate Document.
- Template File — Same as step 3 (from step 1, e.g. 1. File).
- Template File Name / Ext — Same (e.g. 1. File Name: simple_mail_merge_template, 1. File Ext: .docx).
- Template File Type — Mail Merge.
- Input Data Format Type — Text (or File if you prefer to pass 2. File again).
- Data Text — If using Text: map or paste the JSON, e.g.
[{"firstname":"John","lastname":"Adams","gender":"Female","member":"Basic"}]. If using File, map 2. File (or equivalent). - Input Data Type — Json.
- Set Output Type to Pdf if the module exposes it, so the second output is a PDF.
- Save. Output (e.g. 5. File Url) goes to step 6.
Generate Document: Data Text (second run)

Fact-checked: Template File Type = Mail Merge; Input Data Format Type = Text; Data Text contains JSON array with firstname, lastname, gender, member; Input Data Type = Json. Use this output for PDF upload in step 6.
Step 6: Dropbox – Upload File (PDF)
Scenario so far: All six steps connected.
- Add a second Dropbox → Upload File.
- Space — Default.
- Folder —
/Generate document Mail Merge/Output. - File — Map from step 5 (e.g. 5. File Url).
- Overwrite — False.
- Specify File Name — e.g.
Mail_Merge_Zap_deployed-2. - Specify File Extension —
.pdf. - Save and run. The scenario produces both a Word and a PDF in the output folder each time the trigger fires.
Upload File: PDF output

Fact-checked: Folder = /Generate document Mail Merge/Output; File = 5. File Url; Overwrite = False; Specify File Name = Mail_Merge_Zap_deployed-2; Specify File Extension = .pdf.
Real-World Use Cases
Template drop and run: Team drops a new Word template into the folder; the scenario finds the shared JSON, generates Word and PDF, and saves both to Output. No manual "Run" needed.
Certificates and letters: Update sample_mail_merge_data.json with new data; drop or update the template in the folder to trigger a fresh Word and PDF.
Dual format delivery: Get both .docx (editable) and .pdf (fixed) in one run. Overwrite False keeps previous runs; use unique file names or timestamps if you need multiple versions.
Quick Reference
| Module | Key setting | Example / output |
|---|---|---|
| Dropbox New File in Folder (1) | Folder | /Generate document Mail Merge; Include file contents true |
| Dropbox Find Json Data File (2) | Folder, File Name | Same folder; sample_mail_merge_data.json; Include file contents true |
| PDF4me Generate Document (3) | Template File, Template File Type, Data File | 1. File; Mail Merge; 2. File; Input Data Type Json |
| Dropbox Upload File (4) | Folder, File, File Name, Extension | /Generate document Mail Merge/Output; 3. File Url; Mail_Merge_Zap_deployed; .docx |
| PDF4me Generate Document (5) | Same template; Data Text or Data File | Mail Merge; Json; output for PDF |
| Dropbox Upload File (6) | Folder, File, File Name, Extension | Same Output folder; 5. File Url; Mail_Merge_Zap_deployed-2; .pdf |
For full parameter details, see Generate Document Single — Make. For a manual 4-step flow (Download template + Download JSON + Generate + Upload), see Mail Merge in Make (four steps).
Troubleshooting
Ensure sample_mail_merge_data.json exists in /Generate document Mail Merge and that the file name matches exactly. Include files in subfolders = false means only that folder is searched.
Map the correct step outputs (1. File for template, 2. File for data). Use the mapping panel to select the module and output field; "Exists but not shown" means the mapping is set but the value is not displayed in the config summary.
Check PDF4me Troubleshooting for API key, credits, and connection issues.
What's Next
- Run once — Add a file to
/Generate document Mail Mergeand confirm both Word and PDF appear in Output. - Schedule — Use the scenario scheduler so the trigger runs at the interval you want (e.g. every 15 minutes for new files).
- Single output — If you only need Word or only PDF, remove the second Generate Document and the corresponding Upload step.
- Manual flow — For a fixed template and JSON path without a trigger, use the 4-step Mail Merge in Make guide.