Create chapter-wise notes and MCQ quizzes from YouTube with WayinVideo, GPT-4o-mini, Google Sheets, and Gmail
Needs changesWhat this workflow does
This AI workflow has 14 nodes and runs when someone submits an n8n form (“YouTube Lecture to Study Notes and Quiz”). Along the way it connects OpenAI Chat Model, Google Sheets and Gmail. It also calls wayinvideo-api.wayin.ai over HTTP.
How it runs
Trigger: When someone submits an n8n form (“YouTube Lecture to Study Notes and Quiz”).
- 2. HTTP — WayinVideo Submit Transcription (HTTP Request): calls wayinvideo-api.wayin.ai (POST)
- 3. Code — Extract Task ID (Code): runs custom JavaScript code
- 4. Wait — 30 Seconds (Wait): waits 30 seconds
- 5. HTTP — Poll Transcription Status (HTTP Request): calls an HTTP API
- 6. Code — Merge Poll Status (Code): runs custom JavaScript code
- 7. IF — Transcription Complete? (If): checks a condition and branches into true / false
- 8. Wait — 30 Second Retry (Wait): waits 30 seconds
- 9. Code — Prepare Transcript (Code): runs custom JavaScript code
- 10. AI Agent — Generate Notes and Quiz (AI Agent): runs an AI agent, with model: OpenAI — GPT-4o-mini Model
- 11. Code — Parse Notes and Quiz (Code): runs custom JavaScript code
…plus 2 more steps. See the full node list below.
Services it uses
HTTP calls to: wayinvideo-api.wayin.ai
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 10. AI Agent — Generate Notes and Quiz (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).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 10. AI Agent — Generate Notes and Quiz (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (9)
- n8n Form Trigger
n8n-nodes-base.formTrigger - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Wait
n8n-nodes-base.wait - If
n8n-nodes-base.if - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
Quick overview Submit any YouTube lecture URL through a form and this workflow transcribes the full video using WayinVideo, generates chapter-wise study notes and a 5-question MCQ quiz per chapter using GPT-4o-mini, and delivers a formatted HTML email with…