Generate Student Course Schedules Based on Prerequisites with GPT and Google Sheets — Flujo de trabajo n8n

Media complejidad Disparador9 nodos🏷️ Project Management👁 14 vistaspor Robert Breen

Descripción general

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

Nodos utilizados

Google SheetsAI AgentOpenAI Chat ModelStructured Output Parser

Vista previa del flujo de trabajo

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

Cómo funciona

  1. 1

    Disparador

    El flujo de trabajo comienza con un disparador disparador.

  2. 2

    Procesamiento

    Los datos fluyen a través de 9 nodos, connecting agent, googlesheets, lmchatopenai.

  3. 3

    Salida

    El flujo de trabajo completa su automatización y entrega el resultado al destino configurado.

Detalles de nodos (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

Cómo importar este flujo de trabajo

  1. 1Haz clic en el botón Descargar JSON a la derecha para guardar el archivo del flujo de trabajo.
  2. 2Abre tu instancia de n8n. Ve a Flujos de trabajo → Nuevo → Importar desde archivo.
  3. 3Selecciona el archivo generate-student-course-schedules-based-on-prerequisites-with-gpt-and-google-sheets descargado y haz clic en Importar.
  4. 4Configura las credenciales para cada nodo de servicio (claves API, OAuth, etc.).
  5. 5Haz clic en Probar flujo de trabajo para verificar que todo funcione, luego actívalo.

O pega directamente en n8n → Importar desde JSON:

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

Integraciones

agentgooglesheetslmchatopenaimanualtriggeroutputparserstructuredsetsplitout

Obtener este flujo de trabajo

Descarga e importa con un solo clic

Descargar JSONVer en n8n.io
Nodos9
Complejidadmedium
Disparadortrigger
Vistas14

Creado por

Robert Breen

Robert Breen

@rbreen

Etiquetas

agentgooglesheetslmchatopenaimanualtriggeroutputparserstructuredsetsplitout

¿Nuevo en n8n?

n8n es una herramienta de automatización de flujos de trabajo gratuita y de código abierto. Alójala tú mismo o usa la versión en la nube.

Obtener n8n gratis →