Transform YouTube videos into interactive MCQ quizzes with Google Forms & Gemini
Ready for 3.0What this workflow does
This AI workflow has 15 nodes and runs when someone submits an n8n form. Along the way it connects Google Gemini Chat Model.
How it runs
Trigger: When someone submits an n8n form.
- filter (If): checks a condition and branches into true / false
- Set Prompt and Model (Edit Fields (Set)): sets or maps fields
- Error Output (n8n Form): shows the next form page
- HTTP Request: calls an HTTP API
- If: checks a condition and branches into true / false
- Set Fields: Define Outcome (Edit Fields (Set)): sets or maps fields
- Extract JSON (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model; output parser: Structured Output Parser
- Create a Google Form (HTTP Request): calls an HTTP API
- Prepare Questions for API call (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
…plus 2 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code - n8n Form
n8n-nodes-base.form
From the author
AI-Powered MCQ Quiz Generator from YouTube Videos Transform any YouTube video into an interactive MCQ quiz automatically! This workflow uses Google Gemini AI to analyze video content and generate comprehensive multiple-choice questions with automatic grading…