New File in the Folder? Make Generates a PDF and a Word Doc. Six Steps, Fully Automated!
Drop a data file (e.g. JSON) into a Dropbox folder and keep a Google Docs template (e.g. Google Docs Template.docx) in the same place. When a new file appears, Make can run automatically: Find Template File gets the template, PDF4me – Generate Document runs twice—once with Data Text (inline JSON) → PDF, once with Data File (the triggered file) → Word—then Upload File saves both. Six modules. Trigger-based. No manual run.
This guide uses authentic screenshots and descriptive image captions so you can follow each step and match the configuration (folder paths, template name, data format, and output file names) in your own Make scenario.
In a nutshell: Dropbox – New File in Folder (watch /Generate document Mail Merge, Include file contents and sharing link) → Dropbox – Find Template File (same folder, Google Docs Template.docx, first if multiple) → PDF4me – Generate Document (Template from step 2, Template File Type GoogleDocs, Input Data Format Type text, Data Text with JSON, Output Document Type pdf) → Dropbox – Upload File (Google_Docs_Zap_Deployed.pdf) → PDF4me – Generate Document (Template from step 2, Input Data Format Type file, Data File from step 1, Output Document Type docx) → Dropbox – Upload File (Google_Docs_Zap_Deployed-2.docx). Result: one PDF and one Word document in /Generate document Mail Merge/Output per trigger.
What You'll Get
Trigger: A new file in the watched Dropbox folder (e.g. a JSON data file). Input: The triggering file as data and a fixed template (Google Docs Template.docx) in the same folder. Output: A generated PDF (from inline Data Text, e.g. Google_Docs_Zap_Deployed.pdf) and a generated Word document (from the triggered Data File, e.g. Google_Docs_Zap_Deployed-2.docx) in /Generate document Mail Merge/Output. Overwrite is false so existing files are not replaced.
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 modules. See Connect PDF4me to Make.
- Dropbox — With modules: New File in Folder, Find Template File, and Upload File. Space: Default.
- Google Docs template — e.g.
Google Docs Template.docx, with merge fields (e.g.{{name}},{{course}},{{date}},{{instructor}}). Stored in the watched folder so Find Template File can locate it. - JSON data — As a file in the same folder (to trigger the scenario) or as inline Data Text in the first Generate Document step. Keys must match the template placeholders (e.g.
name,course,date,instructor). Example:{"name":"Alice Johnson","course":"Intro to Automation","date":"2026-03-10","instructor":"Mr. Smith"}.
The Scenario at a Glance (6 Modules)
- Dropbox – New File in Folder (1) — Trigger: watch
/Generate document Mail Merge. Include file contents: true. Include sharing link: true. - Dropbox – Find Template File (2) — Same folder. File Name:
Google Docs Template.docx. Include file contents: true. If multiple search results: first. - PDF4me – Generate Document (3) — Template File from step 2. Template File Type: GoogleDocs. Input Data Format Type: text. Data Text: JSON (e.g. name, course, date, instructor). Input Data Type: json. Output Document Type: pdf. Keep Pdf Editable: false.
- Dropbox – Upload File (4) — Folder:
/Generate document Mail Merge/Output. File: 3. File Url. Overwrite: false. Specify File Name:Google_Docs_Zap_Deployed. Specify File Extension:.pdf. Include sharing link: true. - PDF4me – Generate Document (5) — Template File from step 2. Input Data Format Type: file. Data File from step 1 (the triggered file). Input Data Type: json. Output Document Type: docx.
- Dropbox – Upload File (6) — Same output folder. File: 5. File Url. Overwrite: false. Specify File Name:
Google_Docs_Zap_Deployed-2. Specify File Extension:.docx. Include sharing link: true.
Complete scenario overview

Six modules: Trigger (New File in Folder), Find Template File, Generate Document (PDF), Upload File, Generate Document (DOCX), Upload File. Each step shows success; result is one PDF and one Word file in the output folder per run.
Step 1: 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.
- Folder —
/Generate document Mail Merge. - Include files in subfolders? — false (or as needed).
- Include file contents? — true so the file content is available for the Generate Document (Data File) step.
- Include sharing link? — true if you need a link in later steps.
- Save. When a new file appears in the folder, the scenario runs. The output (e.g. 1. File) will be used as Data File in the second Generate Document (step 5).
New File in Folder: Configuration

New File in Folder configured with 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: Find Template File (Dropbox)
Scenario so far: Trigger → Find Template File.
- Add Dropbox → Find Template File (or the module that finds a file by name in a folder).
- Space — Default. Folder —
/Generate document Mail Merge. - Include files in subfolders? — false. File Name —
Google Docs Template.docx. - Include Deleted Files? — false. Include file contents? — true. Include sharing link? — true (if needed).
- Successful if no search results are found? — false. If multiple search results are found — first.
- Save. The output (e.g. 2. File, 2. File Name, 2. File Ext) will be used as Template File in both Generate Document steps.
Find Template File: Configuration

Find Template File configured with Folder /Generate document Mail Merge and File Name Google Docs Template.docx. Output (2. File, 2. File Name, 2. File Ext) is mapped as Template in Generate Document modules.
Step 3: Generate Document (PDF) — Data Text
Scenario so far: Trigger → Find Template → Generate Document (first run).
- Add PDF4me → Generate Document.
- Template File — From step 2 (e.g. 2. File). Template File Name — From step 2 (e.g. 2. File Name: Google Docs Template, 2. File Ext: .docx).
- Template File Type — GoogleDocs.
- Input Data Format Type — text. Data Text — Your JSON (e.g.
[{"name":"Alice Johnson","course":"Intro to Automation","date":"2026-03-10","instructor":"Mr. Smith"}]). Input Data Type — json. - Output Document Type — pdf. Keep Pdf Editable — false.
- Save. The module returns a file URL (e.g. 3. File Url) for the first Upload.
Generate Document: Run details (PDF output)

Generate Document (step 3) with Template from Find Template File, Template File Type GoogleDocs, Data Text with JSON (name, course, date, instructor), Output Document Type pdf. Run details tab shown.
Step 4: Upload File (PDF)
Scenario so far: Trigger → Find Template → Generate Document (PDF) → Upload.
- Add Dropbox → Upload File.
- Space — Default. Folder —
/Generate document Mail Merge/Output. - File — From step 3 (e.g. 3. File Url).
- Overwrite — false. Specify File Name —
Google_Docs_Zap_Deployed. Specify File Extension —.pdf. - Include sharing link? — true (optional).
- Save. The first generated document (PDF) is saved to the output folder.
Upload File: PDF output

Upload File (step 4) with Folder /Generate document Mail Merge/Output, File from step 3 (3. File Url), File Name Google_Docs_Zap_Deployed, Extension .pdf, Overwrite false.
Step 5: Generate Document (DOCX) — Data File
Scenario so far: Trigger → Find Template → Generate PDF → Upload PDF → Generate Document (second run).
- Add a second PDF4me → Generate Document.
- Template File — From step 2 (e.g. 2. File). Template File Name — From step 2 (e.g. 2. File Name: Google Docs Template, 2. File Ext: .docx).
- Template File Type — GoogleDocs.
- Input Data Format Type — file. Data File — From step 1 (e.g. 1. File), the file that triggered the scenario. Input Data Type — json.
- Output Document Type — docx. Keep Pdf Editable — false (or N/A for docx).
- Save. The module returns a file URL (e.g. 5. File Url) for the second Upload.
Generate Document: Configure (DOCX output)

Generate Document (step 5) with Template from step 2, Input Data Format Type file, Data File from step 1 (triggered file), Output Document Type docx. Use 5. File Url in the next Upload step.
Step 6: Upload File (DOCX)
Scenario so far: All six steps connected.
- Add a second Dropbox → Upload File.
- Space — Default. Folder —
/Generate document Mail Merge/Output. - File — From step 5 (e.g. 5. File Url).
- Overwrite — false. Specify File Name —
Google_Docs_Zap_Deployed-2. Specify File Extension —.docx. - Include sharing link? — true (optional).
- Save and run. The scenario produces both a PDF and a Word document in the output folder each time the trigger fires.
Upload File: DOCX output

Upload File (step 6) with Folder /Generate document Mail Merge/Output, File from step 5 (5. File Url), File Name Google_Docs_Zap_Deployed-2, Extension .docx, Overwrite false.
Use Cases
Dual format on trigger: When a new JSON (or data) file lands in the folder, get both a PDF (from inline or fixed data) and a Word doc (from the triggered file) so you have a fixed PDF and an editable DOCX without running the scenario manually.
Certificates and reports: Use the same Google Docs template; trigger with a new data file per person or report. First Generate Document uses static or mapped Data Text for a standard PDF; second uses the new file for a personalized DOCX.
Scheduled or event-driven: Combine with Make scheduling or webhooks so the "new file" is created by another process; the scenario runs automatically and fills the output folder with PDF and Word.
Quick Reference
| Module | Key setting | Example |
|---|---|---|
| Dropbox New File in Folder (1) | Folder, Include file contents | /Generate document Mail Merge; true |
| Dropbox Find Template File (2) | Folder, File Name, If multiple | Same folder; Google Docs Template.docx; first |
| PDF4me Generate Document (3) | Template, Template File Type, Data Text, Output | 2. File; GoogleDocs; JSON; pdf |
| Dropbox Upload File (4) | Folder, File, File Name, Extension | .../Output; 3. File Url; Google_Docs_Zap_Deployed; .pdf |
| PDF4me Generate Document (5) | Template, Data File, Output | 2. File; 1. File; docx |
| Dropbox Upload File (6) | Folder, File, File Name, Extension | .../Output; 5. File Url; Google_Docs_Zap_Deployed-2; .docx |
For full parameter details, see Generate Document Single — Make. For a manual 4-step flow (Download template + Download JSON + Generate + Upload), see Google Docs template in Make (four steps).
Troubleshooting
Ensure Google Docs Template.docx exists in /Generate document Mail Merge and the file name matches exactly. If multiple search results: first uses the first match; adjust folder or name if needed.
JSON keys must match the template placeholders (e.g. name, course, date, instructor). For step 5, the triggered file (1. File) must be valid JSON with those keys. For step 3, Data Text must be valid JSON (e.g. array of one object).
See PDF4me Troubleshooting for API key, credits, and connection issues.
What's Next
- Run the scenario — Add a file to
/Generate document Mail Mergeand confirm bothGoogle_Docs_Zap_Deployed.pdfandGoogle_Docs_Zap_Deployed-2.docxappear in Output. - Single output — If you only need PDF or only Word, remove one Generate Document and its Upload step.
- Manual flow — For a fixed template and JSON path without a trigger, use the 4-step Google Docs in Make guide.
- Map data — Use expressions or a previous module to build the Data Text JSON dynamically instead of inline text.