Skip to main content

What this tool does

The Document Generator creates formatted documents from a template you design. Each record in your Airtable table produces its own document (contracts, invoices, reports, certificates, proposals) populated with that record’s data. Documents can be saved back to Airtable, sent for signatures, routed through an approval chain, or downloaded directly.

Settings reference

Source

SettingDescription
Source tableThe table to generate documents from.
Output formatPDF, HTML, or DOCX.
Page sizeA4, Letter, Legal, Tabloid, A3, or A5.

Page margins

SettingDescription
Top / Bottom / Left / Right marginMargins in millimeters. Defaults: 20/20/15/15.

Storage

SettingDescription
Save to attachment fieldThe Airtable attachment field where generated documents are saved.

Delivery

SettingDescription
Delivery modeDirect Download (generate and save immediately) or Collect Signatures First (route to signer before saving).
Signer email fieldEmail field for the signer. (Signature mode)
Signer name fieldName field for the signer. Optional. (Signature mode)
Email signers automaticallySend an email to the signer when the document is ready. (Signature mode)
Signed document fieldAttachment field where the final signed PDF is saved. (Signature mode)

Status writeback

SettingDescription
Document status fieldTracks status: Generated, Pending Signature, Signed, Pending Approval, Approved, Rejected.
Document URL fieldURL to view or download the document.
Signed at fieldDate field for when the document was signed.
Signed by fieldText field for who signed.
Approval status fieldTracks approval state.
Link expiration (days)Days before signing or approval links expire. Default: 30.

The template editor

The document template is a rich-text editor where you design the document layout. The template supports:

Variables

Type @ to insert a field value from the connected Airtable table. Variables are resolved per-record at generation time.

Block types

BlockWhat it does
Loop blockRepeats its content for each linked record in a linked record field.
Conditional blockShows or hides content based on a field condition.
Repeating table rowRepeats a table row for each linked record.
Linked tableAuto-generates a full table from linked records with configurable columns.
Page breakForces a page break in the PDF output.
Signature blockA placeholder replaced with the actual signature image after signing.
Dynamic imageAn image resolved from an Airtable attachment field.
QR codeA QR code generated from a field value at render time.

Conditional operators

is, is not, is empty, is not empty, contains, does not contain, starts with, ends with, greater than, less than, greater than or equal to, less than or equal to, is checked, is unchecked

Signature workflow

When Delivery mode is Collect Signatures First:
  1. The document is generated and a signing link is created
  2. If Email signers automatically is on, an email is sent to the signer
  3. The signer opens the link, reviews the document, and draws or types their signature
  4. The signature is composited into the PDF
  5. The signed document is saved to the Signed document field
  6. Status fields are updated to “Signed”

Approval chain

For documents that require approval before signing:
  1. Configure an approval chain (Settings > Approval chain) with one or more approvers
  2. When a document is generated, approval emails are sent to each approver in order
  3. After all approvers approve, the signing flow begins (if signature mode is active)

Common questions

Yes. The tool processes all records matching your source view and filter conditions. Each record produces one document.
Yes. Use a Linked table block or Loop block to iterate over linked records and display their field values in the document.
The variable resolves to an empty string. The document generates without an error, but the blank space appears where the value would have been.
Yes. The Generate PDF action in form automations uses the same document generation engine. Configure it in the Automations tab of the form editor.