Skip to main content
This feature enables hierarchical data presentation across up to 3 levels of nesting, ideal for invoices with services and tasks, bills of materials, or any parent-child-grandchild data structure.

Supported Levels

LevelDescriptionExample
Level 1 (Parent)Main items from your line items tableProducts
Level 2 (Child)Items from a linked table within Level 1Components
Level 3 (Grandchild)Items from a linked table within Level 2Specifications
Currently available for Airtable or DocsAutomator’s API. Requires linked record fields connecting your tables.

Placeholder Format

Each nesting tier uses a specific prefix structure:
LevelPrefixExample
Level 1 (Parent){{line_items_N}}{{line_items_1}}{{product_name}}
Level 2 (Child){{line_items_N_1}}{{line_items_1_1}}{{component}}
Level 3 (Grandchild){{line_items_N_2}}{{line_items_1_2}}{{specification}}
Where N represents the line item table number (1, 2, 3, etc.).

Setup Steps

1

Configure Data Source

  1. Navigate to automation settings
  2. Under Line Items, select your primary linked field (Level 1)
  3. Click ”+ Add Level 2” to select a linked field from your Level 1 table
  4. Click ”+ Add Level 3” to select a linked field from your Level 2 table
2

Create Template

Using the Template Editor:
  1. Click “Add Line Items” in the sidebar
  2. Configure Level 1 (Parent) columns
  3. Click ”+ Add Nested Level” for Level 2
  4. Configure Level 2 (Child) columns
  5. Click ”+ Add Nested Level” for Level 3 (optional)
  6. Click “Add Line Items” to insert the table

Key Features

Each nesting level can have a different number of columns. DocsAutomator automatically handles this by merging cells when a nested row has fewer columns than its parent.
Enable “Add auto row numbers” in line item settings for hierarchical number generation (e.g., 1, 1.1, 1.1.1).
Configure sorting independently for each nesting level with “smart sort labels” indicating direction (ascending/descending for numbers, dates, and text).

Use Cases

Invoice with Services

Services → Tasks → Subtasks

Bill of Materials

Products → Components → Parts

Project Report

Phases → Milestones → Deliverables

Best Practices

  • Use Airtable views for consistent sorting
  • Test with small datasets before large batches
  • Design columns so nested rows align logically with parents
  • Use clear, meaningful field names for easier maintenance

Troubleshooting

IssueSolution
Nested rows not appearingVerify linked record fields contain data; check that Level 2/3 linked fields are selected in DocsAutomator; ensure placeholders use correct prefixes
Wrong nesting orderCheck Airtable view sorting; configure sorting in DocsAutomator’s line item settings
Merged cells misalignedEnsure template table has correct column count; verify each level’s placeholders are in separate rows
Last modified on February 10, 2026