The placeholder name in your template must exactly match the field name from your data source. Placeholder names are case-sensitive.
Template
Data Field
Result
{{customer_name}}
customer_name
Replaced
{{Customer_Name}}
customer_name
Not replaced
{{customer name}}
customer_name
Not replaced
Google Docs may insert invisible formatting characters inside your placeholder brackets, especially if you typed the brackets and placeholder name separately, or copy-pasted from another source.Solution:
Delete the entire placeholder text in Google Docs
Type the full placeholder (including {{ and }}) in one go without pausing
Or copy the placeholder from a plain text editor and paste it into Google Docs
Google Docs may auto-convert straight quotes to curly/smart quotes inside placeholders. While this primarily affects text content, some formatters may also alter bracket characters.Solution: Disable smart quotes in Tools > Preferences and uncheck “Use smart quotes.”
If you’re using a data source with field mapping (Airtable, SmartSuite, etc.), ensure the field is properly mapped in your automation settings.
Always use exactly two opening braces {{ and two closing braces }}. Use the Template Check feature in DocsAutomator to validate your template before generating documents.
The Template Check badge on your automation page validates all placeholders. A green badge means all placeholders are properly formatted and mapped.
Missing table row: Line item placeholders must be placed inside a table row in your Google Docs template. They cannot be used in regular paragraph text.
Wrong prefix: Line item placeholders use the format {{line_items_N_fieldName}} where N is the line item group number (1, 2, 3, etc.).
Inconsistent group numbers: All placeholders in the same table row must use the same group number.
Do not use spaces, hyphens, periods, or other special characters in placeholder names
Start with a letter or underscore, not a number
Valid
Invalid
{{customer_name}}
{{customer-name}}
{{address_line_1}}
{{address.line.1}}
{{total_amount}}
{{total amount}}
If your data source field names contain special characters (e.g., Airtable field “Customer Name”), DocsAutomator’s field mapping automatically converts them. Check the mapped placeholder name in your automation settings.