Automation library · Data collection

Customer service workflow with Gemini and Google Drive

Started by an event in a connected app, and works across Google Drive, Google Sheets and in-memory vectors. It puts Gemini behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 28 steps: large, and worth reading before you trust it with anything live.

LargeCalls a model: GeminiRetrieval

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

The flow

Starts it 2Model 20Service 6

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Simple MemoryMemory Buffer WindowModel
  3. 3Character Text Splitter1Text Splitter Character Text SplitterModel
  4. 4Zalo Login Via QR CodeZalo Login By QrService
  5. 5ThinkTool ThinkModel
  6. 6Embeddings Google Gemini1Embeddings Google GeminiModel
  7. 7Google Gemini Chat Model1Lm Chat Google GeminiModel
  8. 8Google Gemini Chat Model2Lm Chat Google GeminiModel
  9. 9Embeddings Google Gemini5Embeddings Google GeminiModel
  10. 10Embeddings Google Gemini6Embeddings Google GeminiModel
  11. 11Google Gemini Chat Model4Lm Chat Google GeminiModel
  12. 12Character Text Splitter3Text Splitter Character Text SplitterModel
  13. 13Embeddings Google Gemini7Embeddings Google GeminiModel
  14. 14Zalo THÙY SANGZalo Message triggerStarts it
  15. 15Zalo TIẾNZalo Send MessageService
  16. 16CTKMGoogle DriveService
  17. 17CTVGoogle DriveService
  18. 18Master_AgentAgentModel
  19. 19Default Data Loader1Document Default Data LoaderModel
  20. 20Simple Vector Store2Vector Store In MemoryModel
  21. 21AGENT_CTKMAgent ToolModel
  22. 22Simple Vector Store7Vector Store In MemoryModel
  23. 23Simple Vector Store6Vector Store In MemoryModel
  24. 24AGENT_CS_CTVAgent ToolModel
  25. 25Default Data Loader3Document Default Data LoaderModel
  26. 26Simple Vector Store3Vector Store In MemoryModel
  27. 27Zalo THÙY SANG2Zalo Send MessageService
  28. 28Append row in sheetGoogle SheetsService

How it's built

Starts on
An event in a connected app
Steps
28
Size
Large: read it before trusting it with anything live
Connects to
Google Drive, Google Sheets, in-memory vectors
Model
Gemini
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, Google Sheets and in-memory vectors accounts, and a key for Gemini. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an event in a connected app.

Does it use AI?

Yes. It calls Gemini. 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 28 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 28 steps before you point it at anything that matters.