Sort scanned homework by student and track who turned it in

Last updated

DifficultyEasy
SetupSome code
Best forTeacher
ToolsClaude Code or Codex with a PDF library (for example pypdf), n8n or Make + a vision-capable LLM, Google Drive or OneDrive folders, Google Sheets or Excel, Your school's approved scanning app

Copy this prompt

Paste this into a general agent such as ChatGPT agent or Claude, then add your own inputs.

Help me run this UseCaseProof playbook: Sort scanned homework by student and track who turned it in.

The problem: Teachers who collect paper work often scan a whole stack at once and end up with one long PDF. Splitting it by student, filing each page and updating the completion list by hand takes time every week, and missing work is easy to overlook until a parent asks.

How the agent should work: The agent takes a batch scan, reads the handwritten or printed name at the top of each page, and matches it to your class roster, including nicknames and common misspellings you list. It splits the batch into one PDF per student, names the files the way you choose and saves them to your class folder. It then marks who turned in the assignment in your tracking spreadsheet and lists students with no pages, plus any page it could not match with confidence. Unmatched or uncertain pages go into a review folder for you instead of being guessed. It does not grade the work.

Follow these steps:
1. Export your class roster to a spreadsheet and add nicknames, preferred names and any students with the same first name
2. Ask students to write their full name in the same spot on every page, or use a cover sheet or a QR code sticker per student
3. Scan each class stack as one PDF into an input folder with the class and assignment in the file name
4. Have the agent (for example a Claude Code or Codex script, or an n8n flow with a vision model) read names, split pages, save one PDF per student and write a log of what it matched
5. Have it update the completion column in your tracking sheet and list missing students and unmatched pages
6. Check the review folder and the missing list yourself before you contact any student or family

Human-approval checkpoint: The teacher checks every unmatched or low-confidence page, confirms the missing-work list before telling students or families, and records any marks in the gradebook. The agent never contacts students or parents and never changes grades.

Guardrails: Handwriting recognition can misread names, especially similar names or messy writing, and filing a page under the wrong student is a privacy problem as well as an error. Student work is protected by school and education privacy rules, so use tools your school has approved and do not paste student data into consumer accounts that keep it. Keep the original scan until you have checked the split files. A missing-work flag can be wrong if a page was skipped by the scanner, so treat it as a list to check, not a verdict.

Suggested tools from this playbook (not ranked; check current features and pricing): Claude Code or Codex with a PDF library (for example pypdf), n8n or Make + a vision-capable LLM, Google Drive or OneDrive folders, Google Sheets or Excel, Your school's approved scanning app.

Do not send messages, move money, grant access, merge code, or take any irreversible action until I approve. If you need an input I have not provided, ask me instead of guessing.

The problem

Teachers who collect paper work often scan a whole stack at once and end up with one long PDF. Splitting it by student, filing each page and updating the completion list by hand takes time every week, and missing work is easy to overlook until a parent asks.

How the agent works

The agent takes a batch scan, reads the handwritten or printed name at the top of each page, and matches it to your class roster, including nicknames and common misspellings you list. It splits the batch into one PDF per student, names the files the way you choose and saves them to your class folder. It then marks who turned in the assignment in your tracking spreadsheet and lists students with no pages, plus any page it could not match with confidence. Unmatched or uncertain pages go into a review folder for you instead of being guessed. It does not grade the work.

Setup steps

  1. Export your class roster to a spreadsheet and add nicknames, preferred names and any students with the same first name
  2. Ask students to write their full name in the same spot on every page, or use a cover sheet or a QR code sticker per student
  3. Scan each class stack as one PDF into an input folder with the class and assignment in the file name
  4. Have the agent (for example a Claude Code or Codex script, or an n8n flow with a vision model) read names, split pages, save one PDF per student and write a log of what it matched
  5. Have it update the completion column in your tracking sheet and list missing students and unmatched pages
  6. Check the review folder and the missing list yourself before you contact any student or family

Tools that can do this

  • Claude Code or Codex with a PDF library (for example pypdf)
  • n8n or Make + a vision-capable LLM
  • Google Drive or OneDrive folders
  • Google Sheets or Excel
  • Your school's approved scanning app

Some tool links may be affiliate links. We only list tools that fit the playbook; recommendations are not sold. Disclosure.

Not ranked. Tools marked Featured pay for a highlighted listing; that never decides which tools we include. Check each vendor's current features and pricing.

Make one of these tools? Feature your tool on every playbook where it is already listed.

Human in the loop

The teacher checks every unmatched or low-confidence page, confirms the missing-work list before telling students or families, and records any marks in the gradebook. The agent never contacts students or parents and never changes grades.

Risks and guardrails

Handwriting recognition can misread names, especially similar names or messy writing, and filing a page under the wrong student is a privacy problem as well as an error. Student work is protected by school and education privacy rules, so use tools your school has approved and do not paste student data into consumer accounts that keep it. Keep the original scan until you have checked the split files. A missing-work flag can be wrong if a page was skipped by the scanner, so treat it as a list to check, not a verdict.

ROI notes

Track how long filing and updating the completion list takes before and after, and how many pages land in the review folder each week. The value is less weekly admin and an up-to-date missing-work list; it depends on students writing names consistently.

Quick answers

How do I sort scanned homework by student and track who turned it in?

The agent takes a batch scan, reads the handwritten or printed name at the top of each page, and matches it to your class roster, including nicknames and common misspellings you list. The full setup is 6 steps.

Do I need to code to set this up?

Some code is needed. We rate the setup Easy.

Which tools can do this?

Claude Code or Codex with a PDF library (for example pypdf), n8n or Make + a vision-capable LLM, Google Drive or OneDrive folders, Google Sheets or Excel, Your school's approved scanning app. Not ranked; check each vendor's current features and pricing.

Where does a human stay in control?

The teacher checks every unmatched or low-confidence page, confirms the missing-work list before telling students or families, and records any marks in the gradebook. The agent never contacts students or parents and never changes grades.

What's a starter prompt I can paste into ChatGPT agent or Claude?

A playbook-specific starter prompt is in the Copy this prompt section above. It is written from this playbook's steps and human-approval checkpoint, for a general agent such as ChatGPT agent or Claude.

Also useful: draft rubric-based grading feedback; extract data from documents and PDFs; analyze a spreadsheet by asking questions.

All AI agent examples, by function · More Education playbooks