Problem
When generating documents via an Airtable automation script, requests that exceed 120 seconds fail with an error. This is an Airtable platform limitation on automation script execution time.Solution
Addasync: true to your automation script. This allows the script to execute asynchronously without blocking on the DocsAutomator request.
Implementation Steps
Copy the Script
When enabled, a code snippet with
async: true becomes available. Copy this adjusted script from the code area.How It Works
The asynchronous approach prevents the 120-second timeout by allowing Airtable to process the script without waiting for the complete response from DocsAutomator. This enables longer document generation processes to complete successfully.With async mode enabled, the script returns immediately and DocsAutomator continues processing in the background. The generated PDF will still be saved to your specified attachment field.
Related
Airtable Integration
Learn more about setting up Airtable with DocsAutomator