Skip to content
FlowHubFluxonLab
A
AI Automationfree

AI-Powered Auto-Generate Exam Questions and Answers from Google Docs with Gemini

by Davide Boizzaadapted from n8n official workflow galleryUpdated Aug 2026
RequiresAAI AgentBBasic LLM ChainCCodeDDefault Data LoaderEmbeddings OpenAIEmbeddings OpenAIGoogle DocsGoogle DocsGoogle Gemini Chat ModelGoogle SheetsGoogle SheetsHTTP RequestHTTP RequestItem List Output ParserItem List Output ParserQdrant Vector StoreQdrant Vector StoreQuestion and Answer ChainQuestion and Answer ChainStructured Output ParserStructured Output ParserToken SplitterToken SplitterVector Store Question Answer ToolVector Store Question Answer ToolVector Store RetrieverVector Store Retriever
Share Post Share
MaWhen clicking ‘Test workflow’When clicking ‘…VSQdrant Vector StoreQdrant Vector S…HRCreate collectionCreate collecti…HRRefresh collectionRefresh collect…Embeddings OpenAIEmbeddings Open…DDDefault Data LoaderDefault Data Lo…TSToken SplitterCoConverto di MDGet DocRVVector Store RetrieverVector Store Re…VSQdrant Vector Store1Qdrant Vector S…CTConvert to FileGoogle Gemini Chat ModelGoogle Gemini C…OPItem List Output ParserItem List Outpu…SILoop Over ItemsGoogle Gemini Chat Model1Google Gemini C…Google Gemini Chat Model2Google Gemini C…OPItem List Output Parser1Item List Outpu…SILoop Over Items1Google Gemini Chat Model3Google Gemini C…VSQdrant Vector Store2Qdrant Vector S…Embeddings OpenAI2Embeddings Open…OPStructured Output ParserStructured Outp…TVRAGGoogle Gemini Chat Model4Google Gemini C…CLOpen questionsCLClosed questionsCRAnswer questionsAgAnswer and create optionsAnswer and crea…Write openWrite closedEmbeddings OpenAI1Embeddings Open…1234567891011121314151617181920212223242526272829303132
1/5
FLOWS
STEPS · 32
Run manually by an operator

This workflow automates the creation of exam questions (both open-ended and multiple-choice) from educational content stored in Google Docs, using AI-powered analysis and vector database retrieval This workflow saves educators hours of manual work while ensuring high-quality, curriculum-aligned assessments. Let me know if you'd like help adapting it for specific subjects! Use Cases Educators**: Rapidly generate quizzes, midterms, or flashcards. E-learning platforms**: Automate question banks for courses. Corporate training**: Create assessments for employee onboarding. Technical Requirements: APIs**: Google Gemini, OpenAI, Qdrant, Google Workspace. n8n Nodes**: LangChain, Google Sheets/Docs, HTTP requests, code blocks. This workflow combines AI efficiency with human-curated quality, making it a powerful tool for modern education and training. Advantages of This Workflow ✅ Fully Automated Exam Generation: From document to fully formatted quiz content with no manual intervention. ✅ Supports Comprehension and Critical Thinking: Questions are designed to go beyond factual recall, including inference and application.

Tags

n8nreference-onlyagentchain-llmchain-retrieval-qadocument-default-data-loaderembeddings-open-aigoogle-docsgoogle-sheetslm-chat-google-geminioutput-parser-item-listoutput-parser-structuredretriever-vector-storetext-splitter-token-splittertool-vector-storevector-store-qdrant
Connects
AAI AgentBBasic LLM ChainCCodeDDefault Data LoaderembeddingsopenaiEmbeddings OpenAIgoogledocsGoogle Docs
CategoryAI Automation
Triggermanual
Complexityadvanced
Nodes32
AddedMay 13, 2025

Related workflows

See all AI Automation
BCsheets
free

Extract Twilio voice donation details with Groq, Gemini, and Google Sheets

Quick overview This workflow receives Twilio call recording callbacks, transcribes the audio with Groq Whisper, uses Google Gemini/Groq LLMs to extract structured donation details, and appends the results (with transcript and review flag) to Google Sheets. How it works Receives a Twilio Recording Status Callback webhook and immediately responds with TwiML (``). Captures call metadata (CallSid, caller number, recording URL/SID, and duration) and continues only if the recording exists and is at least 2 seconds long. Waits briefly for Twilio to finalize the media, then downloads the recording MP3 using Twilio HTTP Basic Auth. Sends the audio file to Groq’s Whisper transcription endpoint to generate a text transcript. Uses a LangChain prompt with Google Gemini and Groq chat models to extract donation amount, fee (if mentioned), beneficiary name, currency, a needs-review flag, and a short summary from the transcript. Parses the model output as JSON and falls back to an error summary with needs_review=yes if parsing fails. Checks Google Sheets for an existing row matching the CallSid/RecordingUrl and, if not found, appends a new row with the extracted fields, transcript, and call details

by MD Faizan Uzzaman
binaryinputloaderembeddingsopenaigoogledriveopenaichatmodel
free

Ask questions about a PDF using AI

The workflow first populates a Pinecone index with vectors from a Bitcoin whitepaper. Then, it waits for a manual chat message. When received, the chat message is turned into a vector and compared to the vectors in Pinecone. The most similar vectors are retrieved and passed to OpenAI for generating a chat response. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by David Roberts
ACDgmail
free

AI: Summarize podcast episode and enhance using Wikipedia

The workflow automates the process of creating a summarized and enriched podcast digest, which is then sent via email. Note that to use this template, you need to be on n8n version 1.19.4 or later.

by n8n Team