Automation library · Research and reporting

Generate professional reports from Excel/CSV with Gemini

Started by someone submitting a form, and works across Gmail 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. 35 steps, 3 branches, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: GeminiRetrieval

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

The flow

Starts it 4Model 12Logic 12Service 7

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

  1. 1WebhookWebhookStarts it
  2. 2On form submissionForm triggerStarts it
  3. 3Google Gemini Chat ModelLm Chat Google GeminiModel
  4. 4ThinkTool ThinkModel
  5. 5Think1Tool ThinkModel
  6. 6Create a document in Google DocsGoogle Docs ToolService
  7. 7Default Data LoaderDocument Default Data LoaderModel
  8. 8Embeddings Google GeminiEmbeddings Google GeminiModel
  9. 9Google Gemini Chat Model2Lm Chat Google GeminiModel
  10. 10Embeddings Google Gemini2Embeddings Google GeminiModel
  11. 11Get a document in Google DocsGoogle Docs ToolService
  12. 12Update a document in Google DocsGoogle Docs ToolService
  13. 13DBForm triggerStarts it
  14. 14Create a presentation in Google SlidesGoogle Slides ToolService
  15. 15Send a message in GmailGmail ToolService
  16. 16Replace text in a presentation in Google SlidesGoogle Slides ToolService
  17. 17Extract from FileExtract From FileService
  18. 18CodeCodeLogic
  19. 19AI AgentAgentModel
  20. 20AI Agent1AgentModel
  21. 21AI Agent Tool1Agent ToolModel
  22. 22Insert Data to StoreVector Store In MemoryModel
  23. 23Query Data Tool1Vector Store In MemoryModel
  24. 24AggregateAggregateLogic
  25. 25SwitchSwitchLogic
  26. 26Edit FieldsSetLogic
  27. 27IfIfLogic
  28. 28Aggregate DataCodeLogic
  29. 29Call Transform pdf data to markdownExecute WorkflowLogic
  30. 30If1IfLogic
  31. 31WaitWaitLogic
  32. 32Respond to WebhookRespond To WebhookStarts it
  33. 33Set data for llmSetLogic
  34. 34Parse and Clean AI ResponseCodeLogic
  35. 35Wait2WaitLogic

How it's built

Starts on
Someone submitting a form
Steps
35, with 3 branches, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Gmail, 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 Gmail 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 someone submitting a form.

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 35 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 35 steps before you point it at anything that matters.