Automation library · Documents and files

Crawl documentation sites and build an AI knowledge base

Started by an event in a connected app, and works across Google Docs and Google Drive. It hands the judgement calls to Gemini. 26 steps, 2 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini

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

The flow

Starts it 1Model 4Logic 14Service 7

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

  1. 1When clicking ‘Execute workflow’Manual triggerStarts it
  2. 2Google Gemini Chat Model2Lm Chat Google GeminiModel
  3. 3Google Gemini Chat ModelLm Chat Google GeminiModel
  4. 4Create a mapOlostep ScrapeService
  5. 5Information ExtractorInformation ExtractorModel
  6. 6AI AgentAgentModel
  7. 7Service NameSetLogic
  8. 8Split Out1Split OutLogic
  9. 9Merge1MergeLogic
  10. 10Create a documentGoogle DocsService
  11. 11Create Parent FolderGoogle DriveService
  12. 12MergeMergeLogic
  13. 13WaitWaitLogic
  14. 14Update a documentGoogle DocsService
  15. 15Edit FieldsSetLogic
  16. 16Loop Over ItemsSplit In BatchesLogic
  17. 17No Operation, do nothingNo OpLogic
  18. 18counterSetLogic
  19. 19If1IfLogic
  20. 20Search files and foldersGoogle DriveService
  21. 21set dataSetLogic
  22. 22IfIfLogic
  23. 23Scrape a URLOlostep ScrapeService
  24. 24counter++1SetLogic
  25. 25Create folderGoogle DriveService
  26. 26counter++SetLogic

How it's built

Starts on
An event in a connected app
Steps
26, with 2 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Docs, Google Drive
Model
Gemini

Questions

What does it need to run?

An n8n account, plus your own Google Docs and Google Drive 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. 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 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 26 steps before you point it at anything that matters.