Automation library · Data collection

AI data extraction with Airtable

Started by another system calling it, and works across Airtable. It hands the judgement calls to OpenAI. 36 steps, 1 branch, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAI

36 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
2Loops or waits
1Service it connects to

The flow

Starts it 2Model 4Logic 17Service 13

The steps in the order they run, from what starts it.

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2OpenAI Chat Model1Lm Chat Open AiModel
  3. 3Airtable WebhookWebhookStarts it
  4. 4When clicking ‘Test workflow’Manual triggerStarts it
  5. 5Generate Field Value1Chain LlmModel
  6. 6Generate Field ValueChain LlmModel
  7. 7Get Table SchemaAirtableService
  8. 8Set Airtable VarsSetLogic
  9. 9Get Result1SetLogic
  10. 10Get ResultSetLogic
  11. 11Get Prompt FieldsCodeLogic
  12. 12Get Table Schema1AirtableService
  13. 13FieldsChanged WebhookHttp RequestService
  14. 14Add Row ID to PayloadSetLogic
  15. 15Update RowAirtableService
  16. 16Get Webhook PayloadHttp RequestService
  17. 17Get "Input" FieldSetLogic
  18. 18Update RecordAirtableService
  19. 19Loop Over ItemsSplit In BatchesLogic
  20. 20Parse EventCodeLogic
  21. 21RecordsChanged WebhookHttp RequestService
  22. 22Loop Over Items1Split In BatchesLogic
  23. 23Row ReferenceNo OpLogic
  24. 24Event TypeSwitchLogic
  25. 25Row RefNo OpLogic
  26. 26Get File DataHttp RequestService
  27. 27Event Ref1No OpLogic
  28. 28Event RefNo OpLogic
  29. 29Get File Data1Http RequestService
  30. 30Extract from FileExtract From FileService
  31. 31Get RowAirtableService
  32. 32Filter Valid FieldsFilterLogic
  33. 33Extract from File1Extract From FileService
  34. 34Filter Valid RowsFilterLogic
  35. 35Fetch RecordsAirtableService
  36. 36Fields to UpdateCodeLogic

How it's built

Starts on
Another system calling it
Steps
36, with 1 branch, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Airtable
Model
OpenAI

Questions

What does it need to run?

An n8n account, plus your own Airtable account, and a key for OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on another system calling it.

Does it use AI?

Yes. It calls OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 36 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 36 steps before you point it at anything that matters.