Page cover
githubEdit

Automation Script

This feature allows you to create documents within Airtable, automatically, using Airtable automations.

Create documents automatically using Airtable Automations.

Setup

1

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.

2

Connect the template with your database

In the template builder, select the Airtable to connection you made by adding the PAT key, pick the base, and the table you'd like to integrate with Documint.

3

Create the Script

Hop over to the Integrations. tab and go for the Airtable option in the setup section

In the table you have integrated the template with, add an attachment field to store the created document.

Go to the Automation Script tab, select the attachment field from the dropdown, and the Script will show up for you to copy.

4

Create the Automation

Switch back to Airtable and open the Automations panel

Create a new automation and add your trigger. This can be any trigger that you'd like.

Configure your trigger.

Add an action and select 'Run script'

Paste your script

Add an input variable named record_id and set the value to the Record ID

Test your script and click Finish editing

Last updated

Was this helpful?