Templates / Convert PDF content to an MCQ question bank in Excel with Google Gemini

Convert PDF content to an MCQ question bank in Excel with Google Gemini

Ready for 3.0

by Ramdoni βœ“ Β· 406 views Β· created 2026-03-18 Β· Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

Nodes used (10)

Google GeminiTelegramGoogle Drive

What it does

πŸš€ 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 1. Webhook Trigger 2. Validate File 3. Conditional Check (Success / Failed) 4. Extract Text from PDF 5. Chunk Text 6. Generate MCQs (Google Gemini) 7. Clean JSON Output 8. Convert to Excel 9. Upload to Google Drive 10. Send via Telegram 11. 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 file - email β†’ (optional) - telegramchatid β†’ (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

View the original on n8n.io β†’ Check your own copy

Get the weekly β€œwhat broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.