Skip to main content
DocsAutomator’s Google Sheets integration enables rapid document generation from spreadsheet data. The system operates on a primary sheet and linked sheets basis, converting rows into professional PDFs or Google Docs.

Key Features

Primary Sheet Processing

Documents are generated from rows in your primary sheet

Linked Sheets

Line items can be added from related sheets

Automatic PDF Storage

Generated PDFs save to specified columns automatically

Flexible Triggers

Choose between auto-creation, webhooks, or Apps Script buttons

Step-by-Step Setup

1

Create an Automation

Initialize a new automation in your DocsAutomator account.
2

Select Data Source

Choose Google Sheets as your data integration source.
3

Choose Template

Select or create a Google Doc template to use as your document foundation.
4

Prepare Your Spreadsheet

Structure your sheet with:
  • Header row with column titles (required)
  • Primary sheet containing main document data
  • Linked sheets for related line items (optional)
5

Select Your Google Sheet

Connect your specific spreadsheet to the automation.
6

Define Primary Sheet

Identify which sheet contains your primary records.
7

Configure Key Columns

Set up the following columns:
  • Primary Column: Identifies rows (e.g., Invoice Number)
  • Document Name Column: Unique identifier for generated documents
  • PDF Link Column: Where generated PDF links are stored
8

Map Placeholders

Connect template placeholders to spreadsheet columns. AI-assisted mapping is available.
9

Configure Line Items (Optional)

Select the line item sheet, set the primary column for matching, and map line item placeholders to columns.
10

Create Previews

Test document generation using sample rows before full deployment.
11

Setup Document Creation Trigger

Choose your preferred triggering method.

Triggering Methods

The system checks every 5 minutes for new rows and automatically generates documents. Enable it from your automation’s settings under the Google Sheets section.How it works:
  • DocsAutomator tracks a “last processed row” cursor for each automation
  • Every 5 minutes, it checks your sheet for rows after that cursor
  • New rows are queued for document creation automatically
  • Up to 50 new rows are processed per polling cycle
Controls:
  • Editable cursor — Click the last processed row number to change it. Set it lower to re-process rows, or higher to skip rows.
  • Skip to end — Sets the cursor to the last row in your sheet, so only future rows are processed.
  • Run Now — Triggers an immediate poll without waiting for the next 5-minute cycle.
Automatic safety shutoff: Auto-creation is automatically disabled in two cases, and workspace owners receive an email notification:
  • Polling failures — If checking your sheet fails 5 times in a row (e.g., disconnected Google account, deleted sheet)
  • Document creation failures — If 5 consecutive polling cycles result in all documents failing (e.g., broken template, missing permissions)
Fix the underlying issue and re-enable auto-creation to resume.
Perfect for hands-off automation where documents should be created as soon as data is added.

Additional Features

Add images via column links. Separate multiple images with commas.
Configure expiration periods for generated PDFs under template options.
Enable Google Doc generation and specify storage location and Drive folder.
Save generated PDFs to Google Drive with optional custom folder paths.
Send documents automatically with dynamic parameters and conditional logic.

E-Signatures

DocsAutomator supports collecting legally binding e-signatures on documents generated from Google Sheets rows. After a document is created, it can be automatically routed to one or more signers. To enable e-signatures, open your automation’s output settings and toggle on the e-signature option. Map signer email and name to columns in your spreadsheet using placeholder names like {{client_email}} and {{client_name}}. Add e-signature placeholders such as {{esign.signature.1}} and {{esign.date.1}} to your template to control where signatures appear. You can configure sequential signing (signers sign in order) or parallel signing (all signers receive the request at the same time). When all parties have signed, the completed PDF is available via the signing session and can be delivered via email or webhook.
E-signatures work with both Google Doc templates and PDF templates. See the E-Signature Guide for full configuration details and placeholder reference.

Next Steps

Line Items

Learn how to add tables and repeating rows

Send Email

Configure automatic email delivery

Save PDFs to Drive

Store PDFs in Google Drive folders

Template Guide

Master the template syntax
Last modified on March 25, 2026