Generate Student Course Schedules Based on Prerequisites with GPT and Google Sheets — Workflow n8n

Średnia złożoność Wyzwalacz9 węzłów🏷️ Project Management👁 14 wyświetleńautor: Robert Breen

Przegląd

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, adv

Użyte węzły

Google SheetsAI AgentOpenAI Chat ModelStructured Output Parser

Podgląd workflow

3) Connect OpenAI (API Key)
1. In n8n → Credentials → New → OpenAI API
2. Paste your OpenAI API key
3. In OpenAI Chat Model, select your credential and a v
1) Connect Google Sheets (OAuth2)
1. In n8n → Credentials → New → Google Sheets (OAuth2)
2. Sign in with your Google account and grant access
3. In each Google Sheets node, select your S
🎓 AI Course Scheduler from Completed Prereqs
Create a Fall 2025 course schedule for each student bas
⚙️ Setup (only 2 steps)
1) Connect Google Sheets (OAuth2)
- In n8n → Credentials → New → Google Sheets (OAuth2),
- In the Google Sheets nodes, select your spre
modelparser
W
When clicking ‘Execute w…
OpenAI Chat Model2
Structured Output Parser
Scheduling Agent
S
Set Fields
Clear sheet1
Get Student Data
S
Split Schedule
Append Schedule
9 nodes8 edges

Jak to działa

  1. 1

    Wyzwalacz

    Workflow uruchamia się wyzwalaczem wyzwalacz.

  2. 2

    Przetwarzanie

    Dane przepływają przez 9 węzłów, connecting agent, googlesheets, lmchatopenai.

  3. 3

    Wyjście

    Workflow kończy automatyzację i dostarcza wynik do skonfigurowanego miejsca docelowego.

Szczegóły węzłów (9)

GO

Google Sheets

googleSheets

#1
AI

AI Agent

n8n-nodes-langchain.agent

#2
OP

OpenAI Chat Model

n8n-nodes-langchain.lmChatOpenAi

#3
ST

Structured Output Parser

n8n-nodes-langchain.outputParserStructured

#4

Jak zaimportować ten workflow

  1. 1Kliknij przycisk Pobierz JSON po prawej stronie, aby zapisać plik workflow.
  2. 2Otwórz swoją instancję n8n. Przejdź do Workflow → Nowy → Importuj z pliku.
  3. 3Wybierz pobrany plik generate-student-course-schedules-based-on-prerequisites-with-gpt-and-google-sheets i kliknij Importuj.
  4. 4Skonfiguruj dane uwierzytelniające dla każdego węzła usługi (klucze API, OAuth itp.).
  5. 5Kliknij Testuj workflow, aby sprawdzić, czy wszystko działa, a następnie aktywuj go.

Lub wklej bezpośrednio w n8n → Importuj z JSON:

{ "name": "Generate Student Course Schedules Based on Prerequisites with GPT and Google Sheets", "nodes": [...], ...}

Integracje

agentgooglesheetslmchatopenaimanualtriggeroutputparserstructuredsetsplitout

Pobierz ten workflow

Pobierz i zaimportuj jednym kliknięciem

Pobierz JSONZobacz na n8n.io
Węzły9
Złożonośćmedium
Wyzwalacztrigger
Wyświetlenia14

Autor

Robert Breen

Robert Breen

@rbreen

Tagi

agentgooglesheetslmchatopenaimanualtriggeroutputparserstructuredsetsplitout

Nowy w n8n?

n8n to darmowe narzędzie open-source do automatyzacji workflow. Hostuj samodzielnie lub użyj wersji chmurowej.

Pobierz n8n za darmo →