Grade assignments against your own rubric, with no feedback reaching a student until you approve it
For trainers, tutors and small schools: each assignment dropped into a Google Drive folder is graded by AI against your own rubric (points per criterion, a quote from the work as evidence, one strength, one improvement). You get the full breakdown by email with a button to approve or hold it: nothing reaches the student without your explicit approval. Every day, a digest lists pending reviews and averages per assignment.
- Difficulty
- Advanced
- Setup time
- ≈ 1 h 30 (estimate), plus the time to enter your rubrics
- Estimated cost
- Free template. n8n: free self-hosted or from €20/month; OpenRouter billed by usage (Gemini 4 by default, any OpenRouter model can replace it); Google Drive, Google Sheets and Gmail: free
- Category
- Small business & freelancers
⏱ Trigger
Each time a new submission lands in the chosen Google Drive folder, plus a daily email digest at the time you set (scheduled trigger)
✋ Human approval
Every piece of feedback needs your approval, even when no flag appears. "Approve" releases the saved draft as is: you cannot edit the grade from the email. To correct it, hold the attempt and handle it manually outside the workflow. You make the final call on every grade.
→ Output
For each submission, a grading draft (points per criterion, quote, strength, improvement) that you approve before it is emailed to the student via Gmail, a grade ledger in Google Sheets and a daily email digest
Autonomy level 2 — Semi-autonomous (approval): Runs on its own but waits for your approval before anything sensitive.
01Connected tools
- n8n template 23070 (Khairul Muhtadin, 17 Nov 2026) ↗
- n8n – Google Drive Trigger ↗
- n8n – Schedule Trigger ↗
- n8n – Extract From File ↗
- n8n – OpenRouter Chat Model ↗
- n8n – Google Sheets ↗
- n8n – Gmail ↗
- OpenRouter ↗
02What the agent does on its own
- step 01
Watches a Google Drive folder and handles new submissions one at a time. The file name must follow the studentid_assignmentcode format (for example student01_essay01.pdf).
- step 02
Accepts PDF, plain text and Google Docs; any other file is logged as an incident and you are notified. A file already handled (same Drive file) is skipped; a new upload counts as a new attempt.
- step 03
Reads the student roster (ID, email) and the assignment rubric (criterion, max points, descriptor) from Google Sheets, and stops if the student or rubric cannot be found.
- step 04
Extracts the text and blocks empty scans, very short answers and oversized submissions: there is no OCR and no Word (DOCX) extraction.
- step 05
Asks the model (Gemini 4 through OpenRouter in the template, swappable) for points per criterion, an evidence quote, a strength and an improvement. It recomputes totals and percentages itself, keeps points within the rubric and flags missing criteria or low confidence.
- step 06
Saves a pending draft and emails you the full breakdown via Gmail with two buttons: approve or hold. Only an explicit approval sends the feedback to the student; a decline or a timeout puts the attempt on hold.
- step 07
Every day, emails you a digest: overdue reviews, incidents to follow up and per-assignment averages for feedback already released.
03Agent instructions
> No instructions to write: the AI follows your rubric. Settings to fill in "Config": sheetId, rosterTab, rubricsTab, gradesTab, teacherEmail = {YOUR_EMAIL}; thresholds minChars, maxChars, passPercent, minConfidence, reviewHours and approvalHours. Review the email subjects (reviewSubject, studentSubject, digestSubject, incidentSubject). In the rubric, one row per criterion: assignmentCode = {ASSIGNMENT_CODE}, criterion = {CRITERION}, maxPoints = {POINTS}, descriptor = {WHAT_YOU_EXPECT}.04Limits and legal points
The AI can misjudge a criterion or misread a submission: review every grade before approving. The workflow does not detect plagiarism or AI-written work. Image-only scans and Word files must be converted before upload. File names must follow the expected format. The approval link in the email does not ask you to sign in again: never forward it. The author recommends running executions one at a time (otherwise Sheets can record duplicates); student emails are deliberately never retried automatically after an error. Submissions and student addresses go through OpenRouter and the model provider: check consent (especially for minors) and data retention terms (GDPR).
05In short
- When does the agent run, and what does it produce?
- Trigger: Each time a new submission lands in the chosen Google Drive folder, plus a daily email digest at the time you set (scheduled trigger). Output: For each submission, a grading draft (points per criterion, quote, strength, improvement) that you approve before it is emailed to the student via Gmail, a grade ledger in Google Sheets and a daily email digest.
- What stays under your control?
- Every piece of feedback needs your approval, even when no flag appears. "Approve" releases the saved draft as is: you cannot edit the grade from the email. To correct it, hold the attempt and handle it manually outside the workflow. You make the final call on every grade. Autonomy level 2 — Semi-autonomous (approval): Runs on its own but waits for your approval before anything sensitive.
- How much does it cost and how long does setup take?
- Estimated cost: Free template. n8n: free self-hosted or from €20/month; OpenRouter billed by usage (Gemini 4 by default, any OpenRouter model can replace it); Google Drive, Google Sheets and Gmail: free. Setup time: ≈ 1 h 30 (estimate), plus the time to enter your rubrics, difficulty "advanced". Tools: n8n template 23070 (Khairul Muhtadin, 17 Nov 2026), n8n – Google Drive Trigger, n8n – Schedule Trigger, n8n – Extract From File, n8n – OpenRouter Chat Model, n8n – Google Sheets, n8n – Gmail, OpenRouter.
Answers taken from this recipe · updated 23 November 2026
06Source
07Related recipes
Same category or same connected tools.