Skip to main content

Quick Reference Cheat Sheet

A quick reference guide for Gdocify syntax and common patterns.

Placeholder Syntax

Basic Syntax

{{placeholderName}}

Rules

  • Use double curly braces: {{ and }}
  • No spaces inside: {{name}} not {{ name }}
  • Use descriptive names: {{customerName}} not {{n}}
  • Case sensitive: {{Name}} and {{name}} are different

Examples

{{firstName}}
{{customerEmail}}
{{orderTotal}}
{{invoiceNumber}}

Section Syntax

Basic Syntax

[[SectionName]]
Your content here
[[/SectionName]]

Rules

  • Use double square brackets: [[ and ]]
  • Start marker: [[SectionName]]
  • End marker: [[/SectionName]]
  • Names must match exactly
  • Can be nested

Examples

[[DiscountSection]]
Special discount: {{discountAmount}}
[[/DiscountSection]]

[[Notes]]
{{additionalNotes}}
[[/Notes]]

Image Placeholders

Setup

  1. Insert image in Google Doc
  2. Set alt text to placeholder name (e.g., "profile picture")
  3. Map to image URL field in data source

Requirements

  • Format: JPG or PNG
  • Size: Under 50MB
  • Must be publicly accessible URL

Condition Operators

OperatorDescriptionExample
=Equalsstatus = "Active"
!=Not equalsstatus != "Inactive"
containsContains textname contains "John"
>Greater thanamount > 1000
<Less thanamount < 100
>=Greater than or equalamount >= 100
<=Less than or equalamount <= 50
is emptyField is emptynotes is empty
is not emptyField has valueemail is not empty

Filename Templates

Syntax

Use placeholders in filenames:

{{customerName}}_Invoice
{{orderNumber}}_Order_{{date}}

Available Placeholders

  • Any field from your data source
  • {{date}} - Current date
  • {{time}} - Current time
  • {{timestamp}} - Full timestamp

Quick Setup Checklist

Before You Start

  • Gdocify account created
  • Google account connected
  • Data source ready (Airtable/Sheets/API)
  • Google Doc template prepared

Setup Steps

  • Create automation
  • Connect data source
  • Add placeholders to template
  • Map placeholders to fields
  • Configure result settings
  • Set up triggers
  • Test with one record
  • Generate for all records

Common Patterns

Name Formatting

{{firstName}} {{lastName}}

Address Formatting

{{streetAddress}}
{{city}}, {{state}} {{zipCode}}

Conditional Email

{{email}} (only if email exists)

Conditional Section

[[VIPSection]]
VIP benefits apply
[[/VIPSection]]

Troubleshooting Quick Fixes

IssueQuick Fix
Placeholder not replacedCheck mapping, verify field name
Section not showingCheck condition, verify syntax
Image not loadingVerify URL is public, check format
Error generatingCheck data source connection
Wrong data appearingVerify field mapping

Need More Help?