Automation library · Data collection

AI-powered auto-generate exam questions

Started by an event in a connected app, and works across Google Docs, Google Sheets and Qdrant. It puts Gemini and OpenAI behind a retrieval step, so answers are drawn from documents you supply rather than from the model alone. 32 steps, 2 loops or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Gemini, OpenAIRetrieval

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

The flow

Starts it 1Model 22Logic 3Service 6

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

  1. 1When clicking ‘Test workflow’Manual triggerStarts it
  2. 2Create collectionHttp RequestService
  3. 3Embeddings OpenAIEmbeddings Open AiModel
  4. 4Token SplitterText Splitter Token SplitterModel
  5. 5Google Gemini Chat ModelLm Chat Google GeminiModel
  6. 6Item List Output ParserOutput Parser Item ListModel
  7. 7Google Gemini Chat Model1Lm Chat Google GeminiModel
  8. 8Google Gemini Chat Model2Lm Chat Google GeminiModel
  9. 9Item List Output Parser1Output Parser Item ListModel
  10. 10Google Gemini Chat Model3Lm Chat Google GeminiModel
  11. 11Embeddings OpenAI2Embeddings Open AiModel
  12. 12Structured Output ParserOutput Parser StructuredModel
  13. 13Google Gemini Chat Model4Lm Chat Google GeminiModel
  14. 14Embeddings OpenAI1Embeddings Open AiModel
  15. 15Refresh collectionHttp RequestService
  16. 16Qdrant Vector StoreVector Store QdrantModel
  17. 17Default Data LoaderDocument Default Data LoaderModel
  18. 18Open questionsChain LlmModel
  19. 19Answer questionsChain Retrieval QaModel
  20. 20Closed questionsChain LlmModel
  21. 21Answer and create optionsAgentModel
  22. 22Qdrant Vector Store2Vector Store QdrantModel
  23. 23RAGTool Vector StoreModel
  24. 24Qdrant Vector Store1Vector Store QdrantModel
  25. 25Get DocGoogle DocsService
  26. 26Loop Over ItemsSplit In BatchesLogic
  27. 27Write openGoogle SheetsService
  28. 28Loop Over Items1Split In BatchesLogic
  29. 29Write closedGoogle SheetsService
  30. 30Vector Store RetrieverRetriever Vector StoreModel
  31. 31Converto di MDCodeLogic
  32. 32Convert to FileConvert To FileService

How it's built

Starts on
An event in a connected app
Steps
32, 2 loops or waits
Size
Large: read it before trusting it with anything live
Connects to
Google Docs, Google Sheets, Qdrant
Model
Gemini, OpenAI
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 Docs, Google Sheets and Qdrant accounts, and a key for Gemini and OpenAI. 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 and OpenAI. 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 32 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 32 steps before you point it at anything that matters.