Mail Merge
Use Mail Merge when you want to generate one Google Docs™ or Google Slides™ file per spreadsheet row.
You can open the feature in Google Docs™, Google Slides™, or Google Sheets™. The add-on helps you choose the source spreadsheet, match template tags to source columns, preview one generated file, and then run the full job with saved workflow settings.
Before You Start
Section titled “Before You Start”- Put your source headers in the first row of the spreadsheet.
- Use one record per row under those headers.
- Add placeholders in the template such as
{ClientName}or<<Amount>>. - Use Advanced Options when you need a specific source sheet, A1 range, output folder, or output naming pattern.
- Use
[RowNumber]in the output naming pattern when you need guaranteed unique file names.
Quick Start
Section titled “Quick Start”- Open
Mail Merge & Variablesfrom Document Tools. - Confirm the detected context:
- in Docs, the current document is the default template
- in Slides, the current presentation is the default template
- in Sheets, the current spreadsheet is the default data source
- Choose the missing file:
- Choose source if you still need the spreadsheet
- Choose target or Choose template if you still need the Docs or Slides template
- Click Analyze Tags.
- Review the detected tags and fix any wrong column matches.
- If needed, create calculated tags for values such as subtotals, tax, or remaining balance.
- Click Create single document to generate one preview.
- Open the preview and check the replacements, formatting, and file name.
- Click Create all documents only after the preview looks correct.
Best First Example
Section titled “Best First Example”If you are learning the feature for the first time, start in Google Docs™ and use Load Sales Quotation Example.
That example:
- copies a prepared Google Docs™ quotation template
- copies a prepared Google Sheets™ source spreadsheet
- loads both files directly into the current mail merge session
Use it to inspect the tags, run Analyze Tags, create a single preview, and then compare the generated file with the source row data.
Workflow Tips
Section titled “Workflow Tips”- Always run Create single document before Create all documents.
- Keep source header names stable after you save a workflow.
- Review unmatched or low-confidence mappings after Analyze Tags.
- Use calculated tags when you need derived values but do not want to change the source sheet.
- Reopen the feature later to restore the latest run state, continue a run, or clean up created documents.
Smart Variables
Section titled “Smart Variables”Smart Variables are optional placeholders such as {$IssueDate} or {$SignatureBlock}. Use them when the value does not come directly from a source column, or when you want a reusable per-run input.
For the full Smart Variables workflow, use the dedicated guide below.