Send lecture study digests to WhatsApp with WayinVideo, GPT-4o-mini and Twilio
Needs changesWhat this workflow does
This AI workflow has 12 nodes and runs when someone submits an n8n form (“Lecture to WhatsApp Digest”). Along the way it connects OpenAI Chat Model and Google Sheets. It also calls wayinvideo-api.wayin.ai over HTTP.
How it runs
Trigger: When someone submits an n8n form (“Lecture to WhatsApp Digest”).
- 2. Code — Validate and Prepare (Code): runs custom JavaScript code
- 3. HTTP — WayinVideo Submit Summarization (HTTP Request): calls wayinvideo-api.wayin.ai (POST)
- 4. Wait — 90 Seconds (Wait): waits 90 seconds
- 5. HTTP — WayinVideo Get Summary Results (HTTP Request): calls an HTTP API
- 6. IF — Summary Ready? (If): checks a condition and branches into true / false
- 8. AI Agent — Generate Study Digest (AI Agent): runs an AI agent, with model: OpenAI — GPT-4o-mini Model
- 7. Wait — 30 Second Retry (Wait): waits 30 seconds
- 9. Code — Build WhatsApp Message (Code): runs custom JavaScript code
- 10. HTTP — Send WhatsApp via Twilio (HTTP Request): calls an HTTP API (POST)
- 11. Google Sheets — Save Digest (Google Sheets): append
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 8. AI Agent — Generate Study Digest (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) 8. AI Agent — Generate Study Digest (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 - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - 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
From the author
Quick Overview This workflow collects a lecture video URL and student details via an n8n form, summarizes the video with the WayinVideo Summarization API, refines the output into a study digest with OpenAI GPT-4o-mini, then sends the digest to WhatsApp via…