Automation library · AI assistants

Build a product catalog chatbot with Mistral and Google Drive

Started by someone opening a chat with it, and works across Google Drive and Supabase vectors. It puts Mistral behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 23 steps, 3 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: MistralRetrieval

23 stepsLarge: read it before trusting it with anything live
0Branches: places the flow splits
3Loops or waits
2Services it connects to

The flow

Starts it 3Model 9Logic 8Service 3

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

  1. 1Character Text Splitter1Text Splitter Character Text SplitterModel
  2. 2Embeddings Mistral Cloud2Embeddings Mistral CloudModel
  3. 3When clicking ‘Execute workflow’Manual triggerStarts it
  4. 4Mistral Cloud Chat Model4Lm Chat Mistral CloudModel
  5. 5Embeddings Mistral CloudEmbeddings Mistral CloudModel
  6. 6Simple Memory1Memory Buffer WindowModel
  7. 7Webhook1WebhookStarts it
  8. 8When chat message receivedChat triggerStarts it
  9. 9Default Data Loader1Document Default Data LoaderModel
  10. 10Insert into Supabase VectorstoreVector Store SupabaseModel
  11. 11Google Drive1Google DriveService
  12. 12product catalog agentAgentModel
  13. 13Supabase Vector StoreVector Store SupabaseModel
  14. 14Edit Fields1SetLogic
  15. 15Wait4WaitLogic
  16. 16Loop Over ItemsSplit In BatchesLogic
  17. 17extract metadataCodeLogic
  18. 18Set File IDSetLogic
  19. 19Google Drive get fileGoogle DriveService
  20. 20Extract from FileExtract From FileService
  21. 21Wait1WaitLogic
  22. 22map data into fieldsSetLogic
  23. 23convert data into chunksCodeLogic

How it's built

Starts on
Someone opening a chat with it
Steps
23, 3 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Supabase vectors
Model
Mistral
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 and Supabase vectors accounts, and a key for Mistral. 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 Mistral. 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 23 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 23 steps before you point it at anything that matters.