Problem
When generating documents from Airtable, DocsAutomator requires a valid Record ID to know which record to use for document generation. Without this, the process fails.Error Location
The error typically appears:- In Airtable automation scripts on the right side of the script window
- Often accompanied by a red squiggly line under the variable name in the code editor
Solution
Check Input Variables
Open Input Variables
Navigate to the Input variables section on the left side of your Airtable automation script
Configure Correctly
To fix the issue:- Select the record id field from your input variables dropdown
- Name this variable
recIdwith the correct capitalization - Confirm the variable appears without error indicators in your script
Why This Matters
DocsAutomator needs a valid Record ID to be passed so that it knows for which record you’re trying to generate a document. Without this identifier, the system cannot retrieve the correct data for your template.Related
Airtable Integration
Complete guide to Airtable setup and configuration