AutomationMart
Home/Browse/Generate student course schedules based on prerequisites with GPT and Google Sheets
n8n

Generate student course schedules based on prerequisites with GPT and Google Sheets

n8nn8n9 modulesv1.0
Google SheetsOpenAI

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 - Trigger: Manual — “When clicking ‘Execute workflow’” - I/O: Google Sheets in → OpenAI decisioning → Google Shee

At a glance

Generate student course schedules based on prerequisites with GPT and Google Sheets is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Sheets, OpenAI. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Sheets, OpenAI
Modules
9
Price
Free
Version
v1.0
Generate student course schedules based on prerequisites with GPT and Google Sheets workflow diagram

About this workflow

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 - Trigger: Manual — “When clicking ‘Execute workflow’” - I/O: Google Sheets in → OpenAI decisioning → Google Sheets out - Ideal for: Registrars, advisors, degree-planning prototypes --- ✅ What this template does - Reads: StudentID, Name, Program, Year, CompletedCourses (pipe-separated CourseIDs) from Sheet1 - Decides: AI Scheduling Agent chooses 5 courses per student following catalog rules and prerequisites - Writes: Appends StudentID + Schedule strings to schedule worksheet - Credits target: 15–17 total per term - Catalog rules (enforced in the agent prompt): - Use Fall or Both courses for Fall 2025 - Enforce AND prereqs (e.g., CS-102|CS-103 means both) - Priority: Major Core → Major Elective → Gen Ed (include Gen Ed if needed) - No duplicates or already-completed courses - Prefer 200-level progression when prereqs allow --- ⚙️ Setup (only 2 steps) 1) Connect Google Sheets (OAuth2) - In n8n → Credentials → New → Google Sheets (OAuth2), sign in and grant access - In the Google Sheets nodes, select your spreadsheet and these tabs: - Sheet1 (input students) - schedule (output) > Example spreadsheet (replace with your own): > - Input: .../edit#gid=0 > - Output: .../edit#gid=572766543 2) Connect OpenAI (API Key) - In n8n → Credentials → New → OpenAI API, paste your key - In the OpenAI Chat Model node, select that credential and a chat model (e.g., gpt-4o) --- 📥 Required input (Sheet1) - Columns: StudentID, Name, Program, Year, CompletedCourses - CompletedCourses: pipe-separated IDs (e.g., GEN-101|GEN-103|CS-101) - Program names should match those referenced in the embedded catalog (e.g., Computer Science BS, Business Administration BBA, etc.) --- 📤 Output (schedule tab) - Columns: - StudentID - Schedule → a selected course string (written one row per course after splitting) --- 🧩 Nodes in this template - Manual Trigger → Get Student Data (Google Sheets) → Scheduling Agent (OpenAI) → Split Schedule → Set Fields → Clear sheet → Append Schedule (Google Sheets) --- 🛠 Configuration tips - If you rename tabs, update both Get Student Data and Append Schedule nodes - Keep CompletedCourses consistent (use | as the delimiter) - To store rationale as well, add a column to the output and map it from the agent’s JSON --- 🧪 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 - Sheets OAuth error: Reconnect “Google Sheets (OAuth2)” and re-select the spreadsheet & tabs - Empty schedules: Ensure CompletedCourses uses | and that programs/courses align with the provided catalog names - Prereq violations: Check that students actually have all AND-prereqs in CompletedCourses - OpenAI errors (401/429): Verify API key, billing, and rate-limit → retry with lower concurrency --- 🔒 Privacy & data handling - Student rows are sent to OpenAI for decisioning. Remove or mask any fields you don’t want shared. - Google Sheets retains input/output. Use spreadsheet sharing controls to limit access. --- 💸 Cost & performance - OpenAI: Billed per token; cost scales with student count and prompt size - Google Sheets: Free within normal usage limits - Runtime: Typically seconds to a minute depending on rows and rate limits --- 🧱 Limitations & assumptions - Works for Fall 2025 only (as written). For Spring, update availability rules in the agent prompt - Assumes catalog in the agent system message is your source of truth - Assumes Program names match catalog variants (case/spacing matter for clarity) --- 🧩 Customization ideas - Add a Max Credits column to cap term credits per student - Include Rationale in the sheet for advisor review - Add a “Gen Ed needed?” flag per student to force at least one Gen Ed selection - Export to PDF or email the schedules to advisors/students --- 🧾 Version & maintenance - n8n version: Tested on recent n8n Cloud builds (2025) - Community nodes: Not required - Maintenance: Update the embedded catalog and offerings each term; keep prerequisites accurate --- 🗂 Tags & category - Category: Education / Student Information Systems - Tags: scheduling, registrar, google-sheets, openai, prerequisites, degree-planning, catalog, fall-term --- 🗒 Changelog - v1.0.0 — Initial release: Sheets in/out, Fall 2025 catalog rules, prereq enforcement, 5-course selection, credits target --- 📬 Contact Need help customizing this (e.g., cohort logic, program-specific rules, adding rationale to the sheet, or emailing PDFs)? - 📧 rbreen@ynteractive.com - 🔗 Robert Breen — - 🌐 ynteractive.com —

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Add Google Sheets rows for new Ticket Tailor orders

Make will watch your Ticket Tailor orders at regular intervals and add them to your Google Sheets. Here's the [sheet](https://youtu.be/lFqLQEJk0NQ) used in this scenario.

Free

Keep track of every Toky call in Google Sheets

Every time a call is ended in Toky, Make will automatically log the call information in Google Sheets. The template uses [this example spreadsheet](https://docs.google.com/spreadsheets/d/1kNE-OZIJ4um6pEAOMSfc8GOE6Ge1BcWYk-GjKUMcuI4/edit?usp=sharing).

Free

Automated meeting recording & AI summaries with Google Calendar, Vexa & Llama 3.2

Transform your meetings into actionable insights automatically! This workflow captures meeting audio, transcribes conversations, generates AI summaries, and emails the results to participants—all without manual intervention. What's the Goal? - Auto-record meetings when they start and stop when they end - Transcribe audio to text using Vexa Bot integration - Generate intelligent summaries with AI-powered analysis - Email summaries to meeting participants automatically - Elim

Free

Upload video & image ads to Meta Ads Manager from Google Sheets & Google Drive

Upload Video & Image Ads to Meta Ads Manager from Google Sheets using Google Drive & Meta Graph API Product Description This n8n workflow automates the process of uploading video and image advertisements to Meta Ads Manager via the Meta Graph API (Facebook Ads) directly from Google Sheets and Google Drive. The workflow monitors a specified Google Drive folder for new assets, extracts file metadata, and creates Facebook ad campaigns with customizable creative elements including multiple te

Free

Schedule & publish all Instagram content types with Facebook Graph API

Automated Instagram posting with Facebook Graph API and content routing Who is this for? This workflow is perfect for social media managers, content creators, digital marketing agencies, and small business owners who need to automate their Instagram posting process. Whether you're managing multiple client accounts or maintaining consistent personal branding, this template streamlines your social media operations. What problem is this workflow solving? Manual Instagram

Free

Digest new YouTube videos to Slack with Google Sheets, RapidAPI & GPT-4o-mini

Who is this for? Marketing, content, and enablement teams that need a quick, human-readable summary of every new video published by the YouTube channels they care about—without leaving Slack. What problem does this workflow solve? Manually checking multiple channels, skimming long videos, and pasting the highlights into Slack wastes time. This template automates the whole loop: detect a fresh upload from your selected channels → pull subtitles → distill the key take-aways with GPT-4o-mini → drop

Free

Automate daily standups using Slack, Notion, and Redis

Run automated daily standups using Slack, Notion, and Redis 📌 Overview This workflow fully automates your team's daily standup process using Slack for communication, Notion for structured data storage, and Redis for real-time session management. It automatically sends standup questions to active team members, collects and stores their responses, manages conversation sessions, and generates structured summary reports for managers. Morning and evening standups run on schedule without manual interv

Free

Optimize SEO meta tags in Google Sheets with Google Gemini

Loop & Optimize Meta Tags with Google Gemini This workflow automates the shortening of meta titles and descriptions for SEO—directly from your Google Sheet, row by row, using Google Gemini. ✅ What it does - Reads rows from a Google Sheet (metatitle, metadescription, rowindex) - Loops through each row and checks if content exists - Sends the data to Google Gemini for length-optimized output - Cleans and parses the response - Updates the original sheet with the shortened results 🛠️ Setup Requireme

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free