Updated November 16, 2026 · By TypeFlow

How to Generate a PDF from a Button in Airtable

Copy the URL from your TypeFlow flow, paste it into an Airtable Button field, and click the button on any record: TypeFlow generates that record's PDF and saves it back to Airtable. It is the fastest way to start, and the best way to test a template before automating it.


Overview

The button is the classic TypeFlow setup:

  • One click, one document - each record gets its own button, which generates the PDF for that record only
  • No code - an Airtable Button field and a URL, nothing else
  • Works on every Airtable plan, including Free
  • Same result as any other method - the PDF lands in your attachment field, and e-signature emails go out if you turned them on

How to Set Up

  1. Open your flow in TypeFlow and go to the Actions tab

  2. Under "How do you want to generate your documents?", choose Manual Generation, then Button / Formula

  3. Copy the formula TypeFlow shows you

  4. Open your Airtable table and add a new field of type Button

  5. Name it (for example "Generate PDF"), set the action to Open URL, and paste the formula as the URL formula

  6. Save, then click the button on any record

A new tab opens, TypeFlow generates the document, and the PDF appears in your attachment field a few seconds later.

You can also use a Formula field instead of a Button field: paste the same formula, and the field shows a clickable link.


What the URL Contains

TypeFlow fills in the formula for you. It looks like this:

"https://app.typeflow.us/api/generate-doc?record_id="&RECORD_ID()&"&table_id=tblXXXXXXXX&flow_id=xxxxxxxx"
  • RECORD_ID() - the Airtable record the button is on
  • table_id - the table your flow reads from
  • flow_id - your flow, so TypeFlow knows which template to use

HTML templates and PDF forms use a different address (premium.typeflow.us/api/generate-doc-builder). Always copy the formula from your own flow rather than typing it.


Tips

  • Test 10 documents with the button first. Once the template and data look right, switch to TypeFlow Automation if you want documents to generate on their own.
  • Several documents on one table? Use the Document Selector: one button, and you pick the document.
  • Renamed or moved your table? Copy the formula again from the Actions tab: the table ID in the URL must match.


FAQ

Was this page helpful?