listRecords reads matching records and follows Airtable offset pagination
automatically. Use it for table scans and provider-native filtered queries.
Example
automations/list-open-leads.automation.ts
Inputs
Output
Returns{ records: AirtableRecord[]; count: number }. Each record contains
id, createdTime, and fields.
When both view and filterByFormula are present, Airtable applies both. A
sort supplied here overrides the view’s ordering. Invalid formulas and unknown
field names fail with Airtable’s provider error.