The flow
Starts it 5Model 11Logic 4Service 6
The steps in the order they run, from what starts it.
- 1File CreatedGoogle Drive triggerStarts it
- 2File UpdatedGoogle Drive triggerStarts it
- 3Postgres Chat MemoryMemory Postgres ChatModel
- 4When chat message receivedChat triggerStarts it
- 5WebhookWebhookStarts it
- 6Character Text SplitterText Splitter Character Text SplitterModel
- 7Embeddings OllamaEmbeddings OllamaModel
- 8Embeddings Ollama1Embeddings OllamaModel
- 9Ollama ModelLm OllamaModel
- 10Ollama Chat ModelLm Chat OllamaModel
- 11Set File IDSetLogic
- 12RAG AI AgentAgentModel
- 13Edit FieldsSetLogic
- 14Default Data LoaderDocument Default Data LoaderModel
- 15Insert into Supabase VectorstoreVector Store SupabaseModel
- 16Supabase Vector StoreVector Store SupabaseModel
- 17User_documentsTool Vector StoreModel
- 18Delete Old Doc RowsSupabaseService
- 19Respond to WebhookRespond To WebhookStarts it
- 20Download FileGoogle DriveService
- 21SwitchSwitchLogic
- 22Extract PDF TextExtract From FileService
- 23Extract from ExcelExtract From FileService
- 24Extract Document TextExtract From FileService
- 25AggregateAggregateLogic
- 26SummarizeSummarizeService
How it's built
- Starts on
- Someone opening a chat with it
- Steps
- 26, with 1 branch
- Size
- Large: read it before trusting it with anything live
- Connects to
- Google Drive, Supabase, Supabase vectors
- Model
- a local model
- 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 Google Drive, Supabase and Supabase vectors accounts, and a key for a local model. 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 a local model. 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 26 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 itNothing 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 26 steps before you point it at anything that matters.