Automation library · Data collection

AI agent to chat with Airtable

Started by someone opening a chat with it, and works across Airtable. It puts OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 30 steps, 3 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenAIRetrieval

30 stepsLarge: read it before trusting it with anything live
3Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 8Logic 10Service 10

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

  1. 1OpenAI Chat ModelLm Chat Open AiModel
  2. 2Window Buffer MemoryMemory Buffer WindowModel
  3. 3When chat message receivedChat triggerStarts it
  4. 4Execute Workflow TriggerExecute Workflow triggerStarts it
  5. 5Search recordsTool WorkflowModel
  6. 6Process data with codeTool WorkflowModel
  7. 7Create map imageTool CodeModel
  8. 8Get list of basesTool WorkflowModel
  9. 9Get base schemaTool WorkflowModel
  10. 10AI AgentAgentModel
  11. 11SwitchSwitchLogic
  12. 12Get BasesAirtableService
  13. 13Get Base/Tables schemaAirtableService
  14. 14If filter description existsIfLogic
  15. 15OpenAI - Create threadHttp RequestService
  16. 16AggregateAggregateLogic
  17. 17Aggregate1AggregateLogic
  18. 18MergeMergeLogic
  19. 19Set schema and promptSetLogic
  20. 20OpenAI - Send messageHttp RequestService
  21. 21ResponseSetLogic
  22. 22Airtable - Search recordsHttp RequestService
  23. 23OpenAI - Generate search filterHttp RequestService
  24. 24OpenAI - Run assistantHttp RequestService
  25. 25Aggregate2AggregateLogic
  26. 26OpenAI - Get messagesHttp RequestService
  27. 27If1IfLogic
  28. 28OpenAI - Download FileHttp RequestService
  29. 29Upload file to get linkHttp RequestService
  30. 30Response1SetLogic

How it's built

Starts on
Someone opening a chat with it
Steps
30, with 3 branches
Size
Large: read it before trusting it with anything live
Connects to
Airtable
Model
OpenAI
Retrieval
Answers are drawn from documents you supply, not from the model alone

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 someone opening a chat with it.

Does it use AI?

Yes. It calls OpenAI. Its answers draw on documents you give it, not on the model alone. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 30 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 30 steps before you point it at anything that matters.