Line Items = Groups of data / lists of things
Syntax
Line items are declared using the syntax{{line_items_$num}} at the beginning of a table row, with associated variables placed in subsequent cells.
Data Source Mapping
| Data Source | Mapping Method |
|---|---|
| Airtable | Automation interface |
| Notion | Relation property → related pages |
| Google Sheets | Linked sheet selection |
| SmartSuite | Linked field mapping |
| Glide | Within Glide interface |
| Noloco | Within Noloco interface |
| Zapier | Zapier configuration |
| API | Array of objects |
Multiple Line Item Sets
Multiple line item sets can be included by incrementing the number:Line item sets must be numbered in correct order (1, 2, 3, etc.).
Features
Adding Images in Line Items
Image placeholders use the{{image_name}} prefix and can map single or multiple images:
Grouping
Line items can be grouped by any variable except images. See Line Items Grouping + Calculations.Conditional Display
Rows can be conditionally shown/hidden based on placeholder values through options/gear icons. See Conditional Show/Hide.Conditional Styling
Text and rows support dynamic styling based on conditions:- Even/odd row alternating colors
- Custom text formatting
- Row background colors
Constraints
API Example
When using the API, pass line items as an array of objects inside thedata object:
Related Pages
Nested Line Items
Create hierarchical data structures
Grouping + Calculations
Group and calculate totals
Auto Row Numbers
Automatic row numbering
Template Guide
Complete template syntax