Generation Link
The generation link integration available to every user type.
Last updated
The generation link integration available to every user type.
Last updated
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.
First, add your Airtable PAT key to connect your Documint account to Airtable. Follow this short video to get that set up.
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.
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.