Template Builder

Design pixel-perfect PDF templates with a visual drag-and-drop editor. No Google account required.


Overview

Template Builder is a visual HTML editor for creating document templates directly in TypeFlow.

Why use Template Builder?

BenefitDescription
No Google accountDesign and generate PDFs without Google Docs
Pixel-perfect controlCSS-level precision for layouts
Pre-built blocks20+ ready-to-use components
Dynamic tablesTables that grow with your linked records
Nested dataLine items within line items
E-signature readyBuilt-in signature field support

Getting Started

Step 1: Create a New Flow

  1. Click New Flow in your dashboard
  2. Connect your data source (Airtable or Softr)
  3. Select your base and table

Step 2: Choose Template Builder

When asked to select a template type, choose Template Builder instead of Google Docs.

Step 3: Start Designing

You'll see the visual editor with:

  • A blank canvas (or starter template)
  • Left sidebar with blocks
  • Right sidebar with fields, layers, and design options
Template Builder overview

The Editor Interface

Left Sidebar - Blocks

Drag and drop pre-built components onto your canvas:

  • Basic: Text, Image, Table, Divider
  • Invoice: Header, Totals, Payment Details
  • Contracts: Parties, Signature Blocks, Terms
  • Certificates: Classic, Modern, Training, Award
  • Reports: Metrics Cards, Executive Summary
  • Utilities: Letterhead, Footer, Callout Box

Right Sidebar - Panels

PanelPurpose
FieldsSee all your Airtable fields, click to copy variable syntax
LayersView element hierarchy, drag to reorder
DesignStyle the selected element (colors, spacing, fonts)

Top Toolbar

  • Undo/Redo - Go back or forward
  • Preview - See how your PDF will look
  • Code - View/edit raw HTML and CSS
  • Save - Save your template

Pre-built Blocks

How to Add a Block

  1. Open the Blocks panel (left sidebar)
  2. Browse categories or search
  3. Click the preview icon to see full-size preview
  4. Drag the block onto your canvas
Drag and drop blocks

Available Block Categories

CategoryBlocksUse Case
InvoiceHeader, Totals, Payment DetailsBilling documents
ContractsHeader, Parties, Signature, Dual Signature, TermsLegal agreements
CertificatesClassic, Modern, Training, Award, ParticipationAchievements, completions
ReportsHeader, Executive Summary, Metrics Cards, Comparison TableBusiness reports
DocumentsQuote Header, Delivery NoteSales documents
UtilitiesLetterhead, Footer, Callout Box, ChecklistReusable components

Customizing Blocks

After adding a block:

  1. Click any element to select it
  2. Use the Design panel to change colors, fonts, spacing
  3. Double-click text to edit content
  4. Replace placeholder variables with your Airtable fields
Contract blocks example

Adding Variables

Variables are placeholders that get replaced with your Airtable data when the document is generated.

Using the Fields Panel

  1. Open the Fields panel (right sidebar)
  2. Find your field
  3. Click to copy the variable syntax
  4. Paste into your template
Fields panel

Variable Syntax

TypeSyntaxExample
Regular field{{field_name}}{{company_name}}
Linked record (comma-joined){{LinkedTable.field}}{{Clients.email}}
Linked record (for loops){{LinkedTable:field}}{{Items:description}}
Nested linked record{{Table>SubTable:field}}{{Orders>Items:price}}

Linked Records

When you click a linked record field, a menu appears with syntax options:

  • Single: {{Clients.name}} - Returns comma-joined values
  • Loop: {{Clients:name}} - Use inside a {{loop_0}} block to repeat for each record
  • Nested: {{Clients>Orders:total}} - Access fields through multiple link levels

Dynamic Tables

Create tables that automatically grow based on your linked records.

Basic Table Loop

  1. Add a table to your template
  2. Add {{loop_0}} to the first cell of the row you want to repeat
  3. Add variables from your linked table in each column

Example:

ItemQuantityPrice
{{loop_0}} {{Items:name}}{{Items:qty}}{{Items:price}}

When generated, this creates one row per linked record.

Template

Loop template

Generated PDF

Loop result

Table Loop Markers

MarkerPurpose
{{loop_0}}Repeat this row for each linked record
{{loop_1}}Repeat for second linked table

Related: Line Items


Nested Line Items

For complex documents with sub-items (e.g., orders containing products).

Setup

  1. Create a table with {{loop_0}} for the main items
  2. Add a nested row with {{nested_items_0}} for sub-items

Example: Invoice with Order > Line Items

OrderProductAmount
{{loop_0}} {{Orders:name}}
{{nested_items_0}} {{Orders>LineItems:product}}{{Orders>LineItems:amount}}

Related: Nested Line Items


Page Settings

Setting Page Size

  1. Click outside any element (select the page)
  2. In Design panel, find Page Settings
  3. Choose from presets or enter custom dimensions
PresetSize
A4210mm x 297mm
Letter8.5" x 11"
Legal8.5" x 14"

Page Margins

Set margins in the Page Settings section. For full-bleed designs, set margins to 0.

Multi-page Documents

Content that exceeds the page height automatically flows to the next page. Add page breaks using the Page Break block.


E-Signature

Template Builder fully supports TypeFlow's e-signature feature.

Adding Signature Fields

Use the signature blocks from the Contracts category, or add variables manually:

VariableDescription
{{e-signature.signature_1}}Signature drawing area
{{e-signature.text_1}}Signer's typed name
{{e-signature.date_1}}Signing date
{{e-signature.checkbox_1}}Confirmation checkbox

The number (1, 2, etc.) corresponds to the signer order.

Pre-built Signature Blocks

  • Signature Block - Single signer
  • Dual Signature Block - Two signers side by side

Related: E-Signature Guide


FAQ

Do I need coding skills to use Template Builder?

No. The editor is visual - drag and drop blocks, click to edit. You can view the code if you want, but it's not required.

Can I import my existing HTML template?

Yes. Click the Code button in the toolbar, then paste your HTML. You can also import CSS.

What's the difference between Template Builder and Google Docs templates?

Google Docs is familiar and quick for simple documents. Template Builder gives you pixel-perfect control, advanced dynamic tables, and works without a Google account.

Can I use custom fonts?

Yes. The editor includes Google Fonts. Select any element and change the font in the Design panel.

Are Template Builder documents compatible with e-signature?

Yes. E-signature works identically for both Google Docs and Template Builder templates.


Troubleshooting

IssueSolution
Variables not replacedCheck syntax - use {{field_name}} with double curly braces
Table not repeatingAdd {{loop_0}} to the first cell of the row
Layout looks different in PDFUse Preview to check. Avoid browser-specific CSS
Page breaks in wrong placeAdd explicit Page Break blocks where needed
Fonts look differentEnsure you're using web-safe or Google Fonts


Need More Help?

Was this page helpful?