πŸ“‹ Generate student course schedules based on prerequisites with GPT and Google Sheets

⚑ 616 views Β· πŸ“‹ Project Management

Description

Create a Fall 2025 course schedule for each student based on what they’ve already completed, catalog prerequisites, and term availability (Fall/Both). Reads students from Google Sheets β†’ asks an AI agent to select exactly 5 courses (target 15–17 credits, no duplicates, prereqs enforced) β†’ appends each student’s schedule to a schedule tab.


🧠 Summary


βœ… What this template does


βš™οΈ Setup (only 2 steps)

1) Connect Google Sheets (OAuth2)

> Example spreadsheet (replace with your own):
> - Input: .../edit#gid=0
> - Output: .../edit#gid=572766543

2) Connect OpenAI (API Key)


πŸ“₯ Required input (Sheet1)


πŸ“€ Output (schedule tab)


🧩 Nodes in this template


πŸ›  Configuration tips


πŸ§ͺ Test quickly

  1. Add 2–3 sample student rows with realistic CompletedCourses
  2. Run the workflow and verify:
    • 5 course rows per student in schedule
    • Course IDs respect prereqs & Fall/Both availability
    • Credits sum ~15–17

🧯 Troubleshooting


πŸ”’ Privacy & data handling


πŸ’Έ Cost & performance


🧱 Limitations & assumptions


🧩 Customization ideas


🧾 Version & maintenance


πŸ—‚ Tags & category


πŸ—’ Changelog


πŸ“¬ Contact

Need help customizing this (e.g., cohort logic, program-specific rules, adding rationale to the sheet, or emailing PDFs)?

πŸ”— Nodes Used

Google Sheets, AI Agent, OpenAI Chat Model, Structured Output Parser

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup