Generate interactive MCQ quizzes from PDF textbooks with Google Gemini, UploadToURL and Gmail
UnknownWhat this workflow does
This AI workflow has 7 nodes and runs when someone submits an n8n form (“PDF textbook -> MCQ's”). Along the way it connects Google Gemini Chat Model, Gmail and Uploadtourl (community).
How it runs
Trigger: When someone submits an n8n form (“PDF textbook -> MCQ's”).
- Extract from File: extracts data from a file (pdf)
- Generate-MCQ (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
- Template (Code): runs custom JavaScript code
- Upload a File (Upload To Url): uses Upload To Url
- Send a message (Gmail): uses Gmail
Services it uses
Other Google Gemini + Gmail templates (518)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-uploadtourl is verified or supports 3.0 (used in Upload a File).
Nodes used (7)
- Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Upload To Url
n8n-nodes-uploadtourl.uploadToUrl - Gmail
n8n-nodes-base.gmail - Extract from File
n8n-nodes-base.extractFromFile - n8n Form Trigger
n8n-nodes-base.formTrigger - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Code
n8n-nodes-base.code
From the author
This workflow transforms any textbook PDF into a fully interactive quiz — automatically. Users upload a PDF, choose difficulty & number of questions, and the system: - Extracts content - Generates MCQs using AI - Builds an interactive quiz webpage - Uploads…