GenAiHub

Last checked 24 November 2026 — responded normally.

Grade assignments from Google Drive with Gemini 4 and teacher-approved Gmail

Grade assignments with AI using your own rubric, while keeping the teacher in charge of every feedback email. It catche…

Live
Open / InstallLast updated November 24, 2026

Description

Grade assignments with AI using your own rubric, while keeping the teacher in charge of every feedback email. It catches unknown students, missing rubrics, repeat files, unreadable scans and questionable model output before a student gets anything. Last updated: November 2026. Quick Overview Grade assignments with AI through a Google Drive intake, a Google Sheets roster and rubric, Gemini 4 and a Gmail approval gate. Each file ID gets its own ledger entry, so a new upload is a separate attempt rather than an overwrite of earlier work. Scores are recomputed from criterion points, bounded by the rubric and flagged when evidence cannot be found in the submission. Every draft needs teacher approval, even if no flags appear. A daily email lists overdue reviews, operational follow-up and all-time averages for released attempts per assignment. The teacher makes the final call. How it works Watch Submissions starts on new files in a selected folder. Config holds the course settings. Loop Submissions handles files one at a time. Parse Submission checks the studentid_assignmentcode file name and accepts PDF, plain text or Google Docs. Valid Submission? sends other files to Build Incident, Save Incident and Notify Teacher. Read Existing Grade and Check Duplicate skip any file ID already logged, including unfinished attempts. Read Roster and Read Rubrics supply the student email and criterion definitions. Prepare Context rejects missing or duplicate matches. Claim File records processing before download. Download Submission converts Google Docs to text. PDF File? selects Extract PDF or Extract Text. Guard Text blocks empty scans, short responses and oversized submissions. There is no OCR or DOCX extractor. Grade Assignment asks Gemini 4 for criterion points, an evidence quote, a strength and an improvement. Verify Scores handles malformed JSON, clamps points and computes totals and percentages itself. Missing criteria and low confidence appear as flags. Save Draft records pending_review. Ask Teacher emails the full breakdown with approve and hold buttons. Approved? only accepts explicit approval. Declined or expired requests become held. Mark Sending writes the delivery intent before Send Student Feedback; Mark Released records the Gmail message ID afterward. Daily Digest reads the ledger through Read Digest Grades. Summarize Grades reports overdue pending reviews and assignment averages across released attempts. Send Digest also works with an empty ledger. Setup Connect Google Drive OAuth on the trigger and download node. Select the submissions folder in Watch Submissions. Use a file name such as student01_essay01.pdf. Convert DOCX and image-only scans before uploading. Connect Google Sheets OAuth on every sheet node. Create one spreadsheet with roster columns studentId, email; rubrics columns assignmentCode, criterion, maxPoints, descriptor; and grades columns fileId, fileName, studentId, assignmentCode, email, status, createdAt, updatedAt, total, maxTotal, percent, passed, confidence, feedback, flags, messageId, reason. Use one roster row per student and unique criterion names per assignment. In Config, set sheetId, rosterTab, rubricsTab, gradesTab and teacherEmail. Adjust filenamePattern, minChars, maxChars, passPercent, minConfidence, reviewHours and approvalHours. Review reviewSubject, studentSubject, digestSubject and incidentSubject. Set folder and digest time on their triggers. Connect OpenRouter on Gemini 4 and Gmail on every email node. Any OpenRouter model can be swapped in. Check student-data consent and provider retention terms. Keep approval links private: the email link is not a separate teacher sign-in check. Run production executions serially to avoid simultaneous read-then-claim races in Sheets. Test approval, rejection and timeout. Keep existing file IDs blocked after failures until a teacher investigates. Held drafts require manual correction and release outside this workflow. Student email sends deliberately have no automatic retries because an ambiguous Gmail response can otherwise duplicate delivery. Quick Answers Can I grade assignments with AI without sending grades automatically? Yes. Every student email is behind an explicit teacher approval. Does it detect plagiarism or AI-written submissions? No. It scores supplied text against the rubric only. What happens to a resubmission? A new Drive file ID is a separate attempt. Reusing the same ID is skipped. Can I edit the grade from the approval email? No. Approve releases the saved draft. Hold it for manual correction instead. Additional info Built with n8n. Need an assessment on your business? Feel free to reach out at https://khmuhtadin.com/consultation/. An n8n automation workflow template by Khairul Muhtadin.

Community Metrics

Views
0
Avg Rating
N/A
Ratings
0
Likes
0
Comments
—

Author

Khairul Muhtadin

Platform

web

Pricing model

paid

Categories

  • Automation
  • AI

Tags

  • n8n
  • workflow
  • google-sheets
  • google-drive
  • gmail
  • code
  • basic-llm-chain
  • openrouter-chat-model

Capabilities

  • 6 nodes

Information

TypeWorkflow
Sourcen8n
AddedNovember 19, 2026

Comments

?

Others in the same category, ranked by how often they are opened.