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
- Insert image in Google Doc
- Set alt text to placeholder name (e.g., "profile picture")
- Map to image URL field in data source
Requirements
- Format: JPG or PNG
- Size: Under 50MB
- Must be publicly accessible URL
Condition Operators
| Operator | Description | Example |
|---|---|---|
= | Equals | status = "Active" |
!= | Not equals | status != "Inactive" |
contains | Contains text | name contains "John" |
> | Greater than | amount > 1000 |
< | Less than | amount < 100 |
>= | Greater than or equal | amount >= 100 |
<= | Less than or equal | amount <= 50 |
is empty | Field is empty | notes is empty |
is not empty | Field has value | email 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
| Issue | Quick Fix |
|---|---|
| Placeholder not replaced | Check mapping, verify field name |
| Section not showing | Check condition, verify syntax |
| Image not loading | Verify URL is public, check format |
| Error generating | Check data source connection |
| Wrong data appearing | Verify field mapping |