Google Workspace Add-on · Sheets & Docs

Generate Contracts & Invoices from Google Sheets — Instantly.

Docs & PDF Mail Merge automates PDF generation directly inside Google Workspace. Connect your Sheets data to a Docs template and produce branded, personalised documents in seconds.

PDF Generation Queue
ACME Corp — Invoice #1042 ✓ PDF Ready
Jane Smith — Contract Q3 Generating…
Delta Ltd — NDA 2024 Queued
📁 All PDFs saved to Docs & PDF Mail Merge – Output in your Drive
🔒 No data sold or shared
🔑 Minimal OAuth scopes
Google API Policy Compliant
🛡️ HTTPS/TLS encryption
🗑️ No persistent server storage

Everything you need for document automation.

Docs & PDF Mail Merge runs entirely within Google Workspace using your own Google Drive. No external servers receive your data.

📊
Google Sheets Data Source
Connect any Sheet as your data source. Each row becomes a unique document — client name, amounts, dates and more.
📄
Google Docs Templates
Use any Google Doc with {placeholder} syntax. The add-on replaces placeholders with your Sheets data automatically.
📥
One-Click PDF Export
Documents are exported as pixel-perfect PDFs and saved directly to a dedicated folder in your Google Drive.
Smart Conditional Clauses
Define rules like "IF Tier = Premium → include Premium SLA Clause". Clauses are automatically inserted per row.
📚
Reusable Clause Library
Save legal boilerplate, warranty text, or standard terms as named clauses for reuse across any document.
🚀
Bulk & Preview Mode
Preview individual rows before generating, or batch-generate PDFs for all rows in your sheet at once.

Simple setup, powerful results.

Four steps from install to PDF — everything stays within Google Workspace.

1

Open a Google Sheet

Your Sheet is the data source. Each column becomes a merge field. The add-on reads only the active spreadsheet you authorise.

2

Select a Google Docs Template

Pick any Google Doc from your Drive using the built-in Google Picker. Add {ColumnName} placeholders anywhere in the document.

3

Configure Clauses & Conditions

Optionally define conditional logic. Save reusable text blocks and rules that automatically insert the right clauses per row.

4

Generate & Download PDFs

Click Generate — PDFs are created and saved to a Docs & PDF Mail Merge – Output folder in your own Google Drive. No data leaves your Workspace.

The add-on uses only the minimum OAuth scopes required. Here is exactly what is accessed and why:

Scope Purpose
drive.file Access only files created or opened by the add-on — templates you select and output PDFs.
documents.currentonly Replace placeholder text in the currently open document copy only.
script.container.ui Display the add-on sidebar UI inside Google Sheets.
script.external_request Call Google Drive and Docs REST APIs to copy files and export PDFs.
script.locale Read the user's locale for correct date formatting in documents.