Convert PDF content to an MCQ question bank in Excel with Google Gemini
Workflow preview
$20/month : Unlimited workflows
2500 executions/month
THE #1 IN WEB SCRAPING
Scrape any website without limits
HOSTINGER
Early Deal
DISCOUNT 20% Try free
DISCOUNT 20%
Self-hosted n8n
Unlimited workflows - from $4.99/mo
#1 hub for scraping, AI & automation
6000+ actors - $5 credits/mo
Overview
π Convert PDF to MCQ Question Bank in Excel with AI (Gemini)
Convert any PDF into a structured Multiple Choice Question (MCQ) bank with answer keys and explanations β fully automated using n8n and Google Gemini.
π― Use Case
- Teachers & Educators
- Trainers & Course Creators
- HR & Corporate Training Teams
- EdTech Builders
βοΈ Features
- Webhook-based PDF upload
- File validation (max 5MB + file existence check)
- PDF text extraction
- Automatic text chunking
- AI-generated MCQs using Google Gemini
- Clean JSON parsing
- Export to Excel (.xlsx)
- Upload to Google Drive
- Send results via Email & Telegram
π Workflow Steps
- Webhook Trigger
- Validate File
- Conditional Check (Success / Failed)
- Extract Text from PDF
- Chunk Text
- Generate MCQs (Google Gemini)
- Clean JSON Output
- Convert to Excel
- Upload to Google Drive
- Send via Telegram
- Send via Email
π Requirements
- n8n (self-hosted or cloud)
- Google Gemini API Key
- Google Drive credentials
- Email (SMTP / Gmail)
- Telegram Bot Token
π₯ How to Use
Send POST request to webhook with form-data:
fileβ PDF fileemailβ (optional)telegram_chat_idβ (optional)
π€ Output
- Excel file with MCQs
- Stored in Google Drive
- Delivered via Email / Telegram
β οΈ Notes
- Max file size: 5MB
- Works best with text-based PDFs
- AI output quality depends on input clarity
π‘ Ideas for Improvement
- Difficulty level classification
- Multi-language support
- LMS export (Moodle, Google Forms)
- Bulk PDF processing
π° Commercial Use
This workflow can be used for:
- Internal automation
- Client services
- Digital product monetization
β€οΈ Support
If you find this useful:
- Upvote on n8n
- Share with others