AutomationMart
Home/Browse/AI-powered auto-generate exam questions and answers from Google Docs with Gemini
n8n

AI-powered auto-generate exam questions and answers from Google Docs with Gemini

n8nn8n32 modulesv1.0
Google SheetsOpenAILinkedInGemini

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 ban

At a glance

AI-powered auto-generate exam questions and answers from Google Docs with Gemini is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Sheets, OpenAI, LinkedIn, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Sheets, OpenAI, LinkedIn, Gemini
Modules
32
Price
Free
Version
v1.0
AI-powered auto-generate exam questions and answers from Google Docs with Gemini workflow diagram

About this workflow

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. ✅ Uses AI and RAG for Accuracy: Ensures that answers are grounded in the document content, reducing hallucination. ✅ Seamless Google Integration: Pulls content from Google Docs and writes outputs to Google Sheets. ✅ Scalable for Any Subject: Works with any article or content domain as input. ✅ Modular and Customizable: Can be easily adapted to generate different question types or to use other LLMs or storage systems. --- How It Works 1. Document Ingestion: - The workflow starts by fetching an educational document (e.g., textbook chapter, lecture notes) from Google Docs. - Converts the document to Markdown for structured processing. 2. AI Processing: - Splits text into chunks and generates vector embeddings (via OpenAI) for semantic analysis. - Stores embeddings in Qdrant (vector database) for retrieval. 3. Question Generation: - Open-ended questions: Google Gemini AI creates 10 critical-thinking questions. - Multiple-choice questions: Generates 10 MCQs (1 correct + 3 plausible distractors) using RAG to validate answers against the vector DB. 4. Answer Validation: - For open questions: Retrieves context-aware answers from the vector store. - For MCQs: Ensures distractors are incorrect but believable via AI cross-checking. 5. Output: - Saves questions/answers to Google Sheets in two tabs: - Open questions: Question + AI-generated answer. - Closed questions: MCQ + options + correct answer. --- Set Up Steps 1. Prerequisites: - APIs/Accounts: - Google Workspace (Docs + Sheets). - OpenAI (for embeddings). - Google Gemini (for question generation). - Qdrant (vector DB – self-hosted or cloud). - n8n Nodes: Ensure LangChain, Google Sheets/Docs, and HTTP request nodes are installed. 2. Configure Connections: - Link credentials for: - Google Docs/Sheets (OAuth2). - OpenAI (API key). - Google Gemini (API key). - Qdrant (URL + API key). 3. Customize Input: - Replace the default Google Doc ID in the "Get Doc" node with your source document. - Adjust chunk size/overlap (Token Splitter node) for optimal text processing. 4. Tweak Question Generation: - Modify prompts in: - "Open questions" node: Adjust criteria (e.g., difficulty, question types). - "Closed questions" node: Edit MCQ formatting rules. 5. Output Settings: - Update the Google Sheet ID in "Write open" and "Write closed" nodes. - Map columns in Google Sheets to match question/answer formats. 6. Run & Automate: - Trigger manually ("Test workflow") or schedule periodic runs (e.g., for updated content). --- Need help customizing? Contact me for consulting and support or add me on Linkedin.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Create Pastebin pastes from new Google Sheets rows

Every time a new row is added to your Google Sheets spreadsheet, Make will automatically create a paste for it.

Free

Store retell transcripts in Sheets, Airtable or Notion from webhook

Automatically store Retell transcripts in Google Sheets/Airtable/Notion from webhook Overview - This workflow stores the results of a Retell voice call (transcript, analysis, etc.) once it has ended and been analyzed. - It listens for callanalyzed webhook events from Retell and stores the data in Airtable, Google Sheets, and Notion (choose based on your stack). - Useful for anyone building Retell agents who want to keep a detailed history of analyzed calls in structured tools. Who is it for For

Free

Add your Thanks.io recipient from a Google Sheets spreadsheet

Every time you add a row to a Google Sheets spreadsheet, Make will automatically add a recipient to a Thanks.io mailing list. The template uses this [example spreadsheet](https://docs.google.com/spreadsheets/d/13Q9-mFjgGxd-eaX4DXta87RwYfY6nt2dJPBxuELvJBA/edit?usp=sharing).

Free

Create email drafts using a ChatGPT assistant for new incoming emails

Use this automation to draft email responses using a ChatGPT assistant for every new incoming email, streamlining your communication process with AI-generated content.

Free

Update Google Sheets rows with responses from ChatGPT Assistant messages

Automatically update Google Sheets rows with AI-generated responses. Triggered by changes in Google Sheets, OpenAI GPT-3 processes data, updating rows efficiently.

Free

Send data from a Webhook to ChatGPT and add the results to a Google Sheet

Instantly transfer information from Webhooks to ChatGPT, transforming your data swiftly and effortlessly integrating the outcomes into a Google Spreadsheet for easy access and analysis.

Free

Skip trace property owners with ScraperCity and sync contacts to Airtable

Who is this for This workflow is built for real estate investors, wholesalers, and skip tracers who need to find contact details -- phone numbers, emails, and addresses -- for property owners at scale. It automates the entire lookup process using the ScraperCity People Finder API and stores clean results in Airtable for follow-up. How it works 1. A manual trigger starts the workflow. A configuration node lets you define the list of property owner names (or phones/emails) to look up. 2. The workf

Free

Talk to your Google Sheets using ChatGPT-5

This n8n workflow template creates an intelligent data analysis chatbot that can answer questions about data stored in Google Sheets using OpenAI's GPT-5 Mini model. The system automatically analyzes your spreadsheet data and provides insights through natural language conversations. What This Workflow Does - Chat Interface: Provides a conversational interface for asking questions about your data - Smart Data Analysis: Uses AI to understand column structures and data relationships -

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free