Skip to main content
This page consolidates every placeholder syntax supported in DocsAutomator templates. Use it as a quick reference while building your templates.
This {{...}} syntax applies to Google Doc and native Word (.docx) templates, where the brackets sit directly in the document and get replaced at generation time. PDF templates do not use this syntax. Don’t type {{...}} into a PDF; use the visual editor to position fields instead.

Standard Text Placeholders

Replace a placeholder with a text value from your data source.
Placeholder names must be unique within a document. The same placeholder can appear multiple times, but you only need to map the data once.

Image Placeholders

Insert images dynamically using the image_ prefix. Images must be publicly accessible URLs.
Supports JPG, PNG, GIF, BMP, TIFF, SVG, WebP, and more. PNG files retain transparency. See Dynamic Images for quality settings and resizing options.

Line Item Placeholders

Line items represent variable-length lists of data (invoice rows, attendees, products). They are declared as table rows in your template.

Basic Line Items

Where N is the line item set number (1, 2, 3, etc.). The marker goes in the first cell, immediately followed by the first field placeholder. There is no closing tag.

Multiple Line Item Sets

Use incrementing numbers for separate line item tables:
Line item sets must be numbered sequentially (1, 2, 3, etc.), and each number must be unique across the entire template. Even if two line item tables are in mutually exclusive sections, they must use different numbers — e.g. {{line_items_1}} and {{line_items_2}}, not {{line_items_1}} twice.

Images in Line Items

See Line Items for complete documentation.

Nested Line Items

Create hierarchical data structures with up to 3 levels of nesting. Available for Airtable, Notion, and API data sources. Google Doc templates only. Where N is the line item set number.

API Data Structure

When using the API, pass line items inside the data object using the children key for nesting:
See Nested Line Items for setup steps and configuration.

Section Placeholders

Sections wrap larger areas of your document for conditional rendering. Everything between the opening and closing tags can be shown or hidden based on conditions configured in the automation settings.
The same section name can be used more than once in a template. Each pair of tags is its own block, and the one rule configured for that name controls every copy, so they show or hide together. Give blocks different names if they need different conditions.

Available Conditions

See Sections for use cases and configuration.

E-Signature Placeholders

Add e-signature fields to collect legally binding signatures. Fields use the format {{esign.TYPE_SIGNER}}. Where N is the signer number (1, 2, 3, etc.).
See DocsAutomator eSign for signer configuration, email customization, and API reference.

PDF Template Placeholders

PDF templates use a visual editor instead of text-based syntax. Rather than typing {{placeholder}} in a document, you upload an existing PDF and position data fields on top of it. The PDF itself is not modified — DocsAutomator overlays your data onto the original layout at generation time. PDF templates support the following placeholder types: Each placeholder has a Name property that maps to your data source fields, just like {{fieldName}} in Google Doc templates. See the PDF Template Guide for detailed instructions on uploading PDFs and using the visual editor.

Advanced Placeholder Options

These features are configured through the settings/gear icon next to each placeholder in your automation settings. They do not require additional syntax in your template.

Conditional Paragraph / Row Deletion

Automatically remove entire lines or table rows when a placeholder value is empty. See Conditional Paragraph / Row Deletion.

Conditional Show / Hide

Show or hide individual placeholder values based on conditions (equals, contains, exists, etc.). Combine with row deletion to remove the entire line when hidden. See Conditional Show / Hide.

Conditional Styling

Apply dynamic text formatting (color, bold, italic, font size, and more) when conditions are met. See Conditional Styling.

Markdown Formatting

Interpret a placeholder value as Markdown to render headings, bold, italic, lists, and links in the generated document. Enable per-placeholder via the settings gear. See Enable Markdown Formatting.

Hidden Values

Set a placeholder to “Always hide” so its value is never rendered in the document. Useful for driving section conditions or email routing without displaying the data. See Hidden Values.

Auto Row Numbers

Enable automatic sequential numbering for line item rows. Configured in the line item settings (not via template syntax). See Auto Row Numbers.

Quick Reference Table


Google Doc Template Guide

Template creation guide and best practices

PDF Template Guide

Overlay data fields on existing PDFs

Line Items

Variable-length lists and tables

Sections

Conditional document sections

DocsAutomator eSign

E-signature configuration and workflows

Dynamic Images

Image insertion and quality settings
Last modified on August 18, 2026