Help Center
Go to siteOpen app
  • Help Center
  • Welcome to the Help Center!
  • Guides
    • Designing a Basic Template from Scratch
    • Adding Variables
    • e-signatures with SignNow
    • How to create Tables
  • Templates
    • What's a template?
    • Page Elements
      • Layout Elements
      • Content Elements
      • Conditional Logic
      • Repeating Elements
    • Settings
    • Headers & Footers
    • Data and Variables
      • Syntax
      • Data Types
      • Formatting
      • Functions
        • $calc (beta)
      • Operators
    • Template Designer v2 (Beta)
      • Connections
        • Airtable Connection
        • HubSpot (Coming Soon)
      • Fields Editor
      • Tokens
      • Coming soon
  • Documents
    • What is a Document?
    • Minted Documents
  • Additional Resources
    • How-To Videos
      • Formatting Variables
      • Airtable Integrations
      • Airtable Data and Variables Videos
      • How to add variable images from your Airtable attachments
      • How to filter items in your Documents
      • How to group items in your Documents
      • Signing Documents with SignNow and Zapier
      • Add charts to your Documents with QuickChart.io
      • Add a Word Cloud chart to your Documents with QuickChart.io
      • Using Make.com (Integromat) to create line items in your documents
      • How to QR codes to your documents with QuickChart.io
      • How to add a progress chart to your documents with QuickChart.io
      • How to connect your Documint account using API keys
      • How to connect your Documint account to Airtable using your Personal Access Token (PAT)
    • Glossary
    • Frequently Asked Questions
    • Troubleshooting
  • Integrations
    • HubSpot
      • Installing the Documint app
      • Connecting your Documint account
      • Navigating the Documint App
      • Working with Custom Object Data
      • Adding HubSpot Properties to Your Template
      • Generating Your documents
      • Using Quick-Create
      • Using Workflows to Create Your Documents
      • Troubleshooting the Documint App
      • Uninstalling the Documint App
    • Airtable
      • Add your Airtable Personal Access Token
      • Airtable Extension
      • Generation Link
      • Automation Script
      • Field Types to Documint Variables
      • Adding Images from Airtable
      • Expanding Linked Records
      • Lookup Fields
      • Documents from Multiple Records
      • Duplicate Document Prevention
      • Password Protection
      • Creating Documents
        • Preview Mode
    • Zapier
    • Make.com
    • Coda
    • Stacker
    • Noloco
    • Softr
    • Pory
    • REST API
Powered by GitBook
On this page
  • Generation Link
  • Add your Airtable PAT key to Documint
  • Create the formula for your Generation Link
  • Create Button Field

Was this helpful?

  1. Integrations
  2. Airtable

Generation Link

The generation link integration available to every user type.

PreviousAirtable ExtensionNextAutomation Script

Last updated 1 year ago

Was this helpful?

Generation Link

The Generation Link integration uses a special URL to generate your document. This URL is created dynamically by a formula in either a Formula field or Button field. When the link or button is clicked, Documint creates a document using the template id and record id provided in the URL.

Add your Airtable PAT key to Documint

First, add your Airtable PAT key to connect your Documint account to Airtable. Follow this short video to get that set up.

Create the formula for your Generation Link

Now that our Airtable account is linked, we need to tell Documint which Table in Airtable to extract data from.

Head over to your base in Airtable, and then to the desired table. Here, we are working with the Orders table. Copy the URL of the table page (copying the entire URL is fine, Documint will parse only the relevant parts).

In Documint, navigate to Integrations > Airtable > Generation Link, and paste the table URL you just copied.

Fill in the attachment field name. This is the field in Airtable where the auto-generated document will be located. If you don’t already have a field for this, create it in Airtable by adding a new field called ‘Documents’ with the field type ‘attachments.’

Then, fill in the attachment field name in Documint’s integration window as ‘Documents’. Copy the entire formula at the bottom of the window, this will be used in the next step.

Additional Options

Overwrite Attachments

When set, this will overwrite all existing attachments in the specified attachment field with the latest document.

Expand Linked Records

Mode

Mode allows you to control how documents are created.

There are 3 options:

  1. Default (Recommended) - uses the Active status of the template

  2. Active - renders documents as Active (meaning they will count towards your quota) whether your template status is Active or Inactive.

Watch / ignore data changes

Create Button Field

Then, in Airtable, create another button field with an ‘Open URL’ action to open this formula. Paste the formula copied in the previous step into the URL formula field and click "Create field".

That’s it! Now, whenever a user clicks the button you’ve added a document will be generated for that record. If a document already exists with the data from that record and the template has not been changed, then the existing document will be displayed. This prevents generating the same document multiple times.

Linked Record fields in Airtable are sent from Airtable as record ids instead of the actual data of the linked records. If you want to use the data from linked records then you'll need to tell Documint to expand those records. By default, Documint will only expand linked records (with ) on the record that the document is generated from. If you want to expand linked records of linked records (and so on) then you'll have to set this value to the number of relationships that you want to expand.

Documint will only expand records of Linked Record fields that have an associated Table_Id field.

Preview - renders documents as inactive (meaning they won't count towards your quota) and they won't be saved back to Airtable. This is great when testing documents and acts as an alternative to using the Previewer in the Template Designer.

Set which fields to either watch for changes or ignore changes to when

Table_Id fields
Learn more.
Learn more.
preventing duplicate document creation