Submit any webinar recording URL using a simple form along with your course name, target audience, brand name, and preferred email tone and the workflow builds a complete 5-day drip email course automatically. WayinVideo AI Clipping extracts the top 5 most engaging teaching moments from the recording, ranked by engagement score so the best content becomes Day 1. GPT-4o-mini then writes a complete email lesson for each clip — with subject line, preview text, email body, key takeaway, CTA text, and a CTA URL placeholder — where Day 1 is welcoming, the final day wraps up, and middle days flow naturally between them. All 5 emails are saved to Google Sheets as a ready-to-use drip course with Status set to Draft. Built for course creators, coaches, educators, and marketing teams who want to turn any webinar into a ready-to-send email sequence without writing a single word manually.
⚠️ WayinVideo API key appears in 2 steps — replace
YOUR_WAYINVIDEO_API_KEYin both 2. WayinVideo — Submit AI Clipping and 4. WayinVideo — Get Clip Results. Missing either one will cause the workflow to fail.
Estimated Setup Time: 15–20 minutes
Import the workflow — Open n8n → Workflows → Import from JSON → paste the workflow JSON → click Import
Get your WayinVideo API key — Log in to your WayinVideo account → go to Account Settings → copy your API key
Add your WayinVideo API key to node 2 — Open node 2. WayinVideo — Submit AI Clipping → find the Authorization header value Bearer YOUR_WAYINVIDEO_API_KEY → replace YOUR_WAYINVIDEO_API_KEY with your actual key
Add your WayinVideo API key to node 4 — Open node 4. WayinVideo — Get Clip Results → find the same Authorization header → replace YOUR_WAYINVIDEO_API_KEY with the same key
Connect OpenAI — Open node 9. OpenAI — GPT-4o-mini Model → click the credential dropdown → add your OpenAI API key → test the connection
Create your Google Sheet tab — Open your Google Sheet → add a tab named exactly Drip Email Course → add these 16 column headers in row 1: Webinar Title, Course Name, Day Number, Email Subject, Preview Text, Email Body, Key Takeaway, CTA Text, CTA URL Placeholder, Word Count, Clip Title, Clip Score, Clip Timestamp, Webinar URL, Generated On, Status
Get your Google Sheet ID — Open your Google Sheet in a browser → copy the string between /d/ and /edit in the URL — this is your Sheet ID
Connect Google Sheets — Open node 11. Google Sheets — Save Email Course → click the document field → replace YOUR_GOOGLE_SHEET_ID by selecting your spreadsheet from the dropdown or entering the Sheet ID manually → click the credential dropdown → add Google Sheets OAuth2 → authorize access
Activate the workflow — Toggle the workflow to Active → copy the Form URL from node 1. Form — Webinar URL + Course Details → open it in a browser to submit your first webinar
Step 1 — Form: Webinar URL + Course Details
You open the form URL in a browser and fill in six fields: the webinar recording URL (YouTube, Zoom, Vimeo, or any direct link), the webinar or course title, the mini-course name (what your subscribers will see), the target audience, your brand or sender name, and the email tone (e.g. "Professional and educational" or "Casual and friendly"). Submitting the form starts the workflow.
Step 2 — HTTP: WayinVideo — Submit AI Clipping
The webinar URL is sent to WayinVideo's AI Clipping API. The request asks for clips between 60 and 90 seconds long, limited to 5 clips, with export disabled since you only need the metadata and descriptions for writing emails. A project name is auto-generated from your mini-course name. WayinVideo returns a task ID confirming the job has started.
Step 3 — Wait: 90 Seconds
The workflow pauses for 90 seconds before the first status check, giving WayinVideo time to identify and extract the best teaching moments from the recording.
Step 4 — HTTP: WayinVideo — Get Clip Results
A GET request checks the clipping results endpoint using the task ID from step 2. It returns the current processing status and, once complete, the full clips array with title, description, engagement score, timestamp, and tags for each extracted moment.
Step 5 — IF: Clipping Complete?
This is the polling gate. If the status equals SUCCEEDED (YES path), the clips are ready and the workflow moves forward to extraction. If still processing (NO path), the workflow routes to 6. Wait — 30 Seconds Retry which pauses 30 seconds then loops back to step 4 to check again. This repeats until SUCCEEDED.
Step 6 — Wait: 30 Seconds Retry
When clips are not yet ready, the workflow waits 30 seconds then returns to step 4 for another check. The loop continues automatically.
Step 7 — Code: Extract Clips + Assign Days
The clips array is sorted by engagement score from highest to lowest. The top 5 clips are kept and assigned Day 1 through Day 5 in order — Day 1 gets the highest-scoring clip. Millisecond timestamps are converted to MM:SS format. All six form inputs are merged into each clip row so every email lesson has full course context.
Step 8 — AI Agent: Write Email Lesson
GPT-4o-mini receives the clip description as the main input and a system prompt with the full course context: webinar title, course name, target audience, brand name, tone, day number, total days, clip title, engagement score, clip tags, and timestamp. Ten email writing rules are enforced: content only from the clip, tone consistency, day-position awareness (welcoming on Day 1, concluding on Day 5, continuing in middle days), subject line 40–55 characters, preview text 85–100 characters, body 200–300 words in short paragraphs, and a single action-oriented CTA. The output uses six labeled sections.
Step 9 — OpenAI: GPT-4o-mini Model
This is the language model powering the email writing. It runs with default settings for consistent, readable email copy.
Step 10 — Code: Parse Email Output
All six labeled sections are extracted from the AI output using regex: SUBJECT_LINE, PREVIEW_TEXT, EMAIL_BODY, KEY_TAKEAWAY, CTA_TEXT, and CTA_URL_PLACEHOLDER. The word count of the email body is also calculated. If the subject line or email body are missing, the step throws a clear error. All clip metadata and course details are packaged for the sheet row.
Step 11 — Google Sheets: Save Email Course
One row is appended to your Drip Email Course tab with all 16 columns populated: webinar title, course name, day number, subject line, preview text, email body, key takeaway, CTA text, CTA URL placeholder, word count, clip title, clip engagement score, timestamp range, webinar URL, generation timestamp, and Status set to Draft. All five email days are saved as five separate rows in the same sheet.
✅ Best clip becomes Day 1 automatically — Clips are sorted by engagement score before day assignment — your most engaging teaching moment always leads the course
✅ Day-position awareness in every email — GPT knows whether it is writing Day 1, a middle day, or the final day and adjusts the tone and structure accordingly — without any extra prompt logic needed
✅ Six email components per lesson — Subject line, preview text, body, key takeaway, CTA text, and CTA URL placeholder are all generated separately so you can copy each field directly into your email platform
✅ CTA URL placeholder included — Every email ends with a clearly labeled placeholder (e.g. YOUR_COURSE_LINK) so you know exactly where to paste your own link before sending
✅ Word count per email logged — The sheet records the word count of each email body so you can quickly verify length without opening every email
✅ Tone applied consistently across all 5 days — Your chosen tone from the form is passed to every email's GPT prompt so the entire course sounds like one consistent voice
✅ Draft status for every row — All five emails are saved with Status set to Draft so you have a clear review stage before loading them into your email platform
Change the clip duration range — In node 2. WayinVideo — Submit AI Clipping, change "target_duration": "DURATION_60_90" to "DURATION_30_60" for shorter clips or "DURATION_90_120" for longer ones — matching the email length you want to write from.
Add a retry limit to stop infinite polling — Before node 6. Wait — 30 Seconds Retry, add a Set step that increments a poll counter, then add a second IF check to stop after 15 polls and send a Gmail error notification instead of looping indefinitely.
Send the completed course to Gmail for review — After node 11. Google Sheets — Save Email Course (on Day 5 row), add a Gmail step that sends all 5 subject lines, preview texts, and a link to the Drip Email Course sheet so you get a complete course digest in your inbox when it is ready.
Add a Slack notification when the course is generated — After the Day 5 row is saved, add a Slack step that posts the course name, webinar title, and a link to the Google Sheet to a #content-team channel so your team knows a new email course is ready to review.
Extend to a 7-day course — In node 2. WayinVideo — Submit AI Clipping, change "limit": 5 to 7 to extract 7 clips — the day assignment logic in node 7. Code — Extract Clips + Assign Days automatically adapts to however many clips are returned.
Form submission not starting the workflow:
WayinVideo returning an error on submission:
YOUR_WAYINVIDEO_API_KEY in node 2. WayinVideo — Submit AI Clipping is replaced with your actual API key — not the placeholderWorkflow stuck in the polling loop:
GPT not generating all six email sections:
Google Sheets not logging all 5 rows:
YOUR_GOOGLE_SHEET_ID in node 11. Google Sheets — Save Email Course is replaced with your actual sheet ID from the URLNeed help setting this up or want a custom version built for your team or agency?
📧 Email: [email protected]
🌐 Website: https://www.incrementors.com/