Plan daily study schedules with GPT-4o-mini, Google Calendar, Sheets and Gmail
Needs changesWhat this workflow does
This AI workflow has 9 nodes and runs when someone submits an n8n form (“Daily Study Planner”). Along the way it connects OpenAI Chat Model, Google Calendar, Google Sheets and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Daily Study Planner”).
- 2. AI Agent — Generate Study Schedule (AI Agent): runs an AI agent, with model: OpenAI — GPT-4o-mini Model
- 3. Code — Parse Schedule (Code): runs custom JavaScript code
- 4. SplitInBatches — One Session at a Time (Loop Over Items (Split in Batches)): loops over the items in batches
- 5. Google Calendar — Create Study Event (Google Calendar): uses Google Calendar
- 6. Code — Build Sheet Rows and Email (Code): runs custom JavaScript code
- 7. Google Sheets — Log Study Plan (Google Sheets): append
- 8. Gmail — Send Confirmation Email (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other OpenAI + Google Sheets templates (2,011) · Other OpenAI + Gmail templates (1,623)
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in 2. AI Agent — Generate Study Schedule (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
Published 2026 — 6% of 2026 templates need changes for 3.0. See how template age affects 3.0 readiness →
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 2. AI Agent — Generate Study Schedule (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (8)
- n8n Form Trigger
n8n-nodes-base.formTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Code
n8n-nodes-base.code - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Calendar
n8n-nodes-base.googleCalendar - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Quick overview This workflow collects exam details via an n8n Form, uses OpenAI (GPT-4o-mini) to generate a day-by-day study plan, creates one Google Calendar event per study session, logs all sessions to Google Sheets, and emails the full schedule to the…