Grade PDF assignments with Google Gemini and upload reports to Google Drive
AI Assignment Grader with Automated Reporting Who’s it for This workflow is designed for educators, professors, academic institutions, coaching centers, and edtech platforms that want to automate the grading of writte...
Template notes
AI Assignment Grader with Automated Reporting
Who’s it for This workflow is designed for educators, professors, academic institutions, coaching centers, and edtech platforms that want to automate the grading of written assignments or test papers. It’s ideal for scenarios where consistent evaluation, detailed feedback, and structured result storage are required without manual effort.
---
What it does / How it works This workflow automates the end-to-end grading process for student assignments submitted as PDFs.
1. A student’s test paper is uploaded via a webhook endpoint. 2. The workflow extracts text from the uploaded PDF file. 3. Student metadata (name, assignment title) is prepared and combined with the extracted answers. 4. A predefined answer script (model answers with marking scheme) is loaded into the workflow. 5. An AI grading agent powered by Gemini compares the student’s responses against the answer script. 6. The AI: - Evaluates each question - Assigns marks based on correctness and completeness - Generates per-question feedback - Calculates total marks, percentage, and grade 7. The structured grading output is converted into: - An HTML grading report - A CSV file for records 8. The final CSV grading report is automatically uploaded to Google Drive for storage and sharing.
All grading logic runs automatically once the test paper is submitted.
---
Requirements - Google Gemini (PaLM) API credentials - Google Drive OAuth2 credentials - A webhook endpoint configured in n8n - PDF test papers submitted in a supported format - A predefined answer script with marks per question