Submit a new employee's details and your onboarding recording URL via a simple form and the workflow automatically extracts the specific training moments relevant to that employee. WayinVideo's Find Moments API scans the full recording and returns up to 5 matching clips in HD 720 quality with animated captions and download links — which are downloaded immediately before the export links expire and uploaded to Google Drive with a structured filename. Every clip is saved to the Onboarding Clip Library Google Sheet with the Drive link, and a personalized HTML welcome email is sent to the new employee with the full recording link and instructions. Built for HR teams, learning and development managers, and People Operations teams who run recurring onboarding sessions and want to deliver specific training clips to each new employee automatically — without manually editing recordings.
EmployeeName_Department_Clip_N_Score_S.mp4 so your Drive folder is organized and searchable by employee and topic⚠️ WayinVideo API key appears in 2 steps — replace
YOUR_WAYINVIDEO_API_KEYin both 2. WayinVideo — Submit Find Moments and 4. WayinVideo — Get Clips Result. Missing either one will cause the workflow to fail.
⚠️ Query tip — The Training Topic to Extract field works best with 4–6 descriptive words. Examples that work well: "company culture and team values explanation", "HR leave policy and benefits overview", "tools and software walkthrough for new employees". Single words like "culture" or "HR" will return poor results.
Estimated Setup Time: 20–25 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 Find Moments → 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 Clips Result → find the same Authorization header → replace YOUR_WAYINVIDEO_API_KEY with the same key
Get your Google Drive folder ID — Open your target Google Drive folder in a browser → the folder ID is the string at the end of the URL after /folders/
Connect Google Drive — Open node 9. Google Drive — Upload Clip → click the credential dropdown → add Google Drive OAuth2 → authorize access → replace YOUR_GDRIVE_FOLDER_ID in the folder field with your actual folder ID
Create your Google Sheet tab — Open your Google Sheet → add a tab named exactly Onboarding Clip Library → add these 15 column headers in row 1: Employee Name, Employee Email, Department, Start Date, Company, Topic, Clip Title, Description, Timestamp, Score, Tags, Drive Link, Drive File ID, Onboarding Recording URL, Date Added
Get your Google Sheet ID — Open your Google Sheet in a browser → copy the string between /d/ and /edit in the URL
Connect Google Sheets — Open node 10. Google Sheets — Save to Library → click the document field → replace YOUR_GOOGLE_SHEET_ID by selecting your spreadsheet or entering the Sheet ID manually → click the credential dropdown → add Google Sheets OAuth2 → authorize access
Connect Gmail — Open node 11. Gmail — Send Welcome Email → click the credential dropdown → add Gmail OAuth2 → complete the Google authorization flow
Activate the workflow — Toggle the workflow to Active → copy the Form URL from node 1. Form — New Employee + Onboarding Details → open it in a browser to submit your first new employee
Step 1 — Form: New Employee + Onboarding Details
Your HR team opens the form URL and fills in seven fields: the onboarding recording URL, the new employee's full name, their email address, their department, their start date, the training topic to extract (4–6 descriptive words), and the company name. Submitting the form starts the entire pipeline.
Step 2 — HTTP: WayinVideo — Submit Find Moments
The recording URL, training topic query, and a project name (auto-built as Onboarding — EmployeeName — Department) are sent to WayinVideo's Find Moments API. The request asks for up to 5 clips at HD 720 quality, animated captions in the original language using caption template temp-7, export enabled so download links are generated, and AI reframe disabled so the clips stay in their original aspect ratio. WayinVideo returns a task ID.
Step 3 — Wait: 90 Seconds
The workflow pauses 90 seconds before the first status check, giving WayinVideo time to scan the full recording.
Step 4 — HTTP: WayinVideo — Get Clips Result
A GET request checks the find-moments results endpoint using the task ID from step 2. It returns the current status and, once complete, the full clips array with title, description, export download link, relevance score, tags, and timestamps for each matched moment.
Step 5 — IF: Find Moments Complete?
This is the polling gate. If the status equals SUCCEEDED (YES path), the clips are ready and the workflow moves forward to splitting. 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.
Step 7 — Code: Split Each Clip
The clips array is split into individual rows — one per clip. Each row carries the clip title, export link, relevance score, tags, description, start time in milliseconds, end time in milliseconds, and clip index number. If no clips are returned, the step throws a clear error with a suggestion to try a more descriptive query.
Step 8 — HTTP: Download Clip File
For each clip, the workflow fetches the .mp4 file from the WayinVideo export link and downloads it as a binary file. This step runs immediately after splitting so no time is wasted before export links expire.
Step 9 — Google Drive: Upload Clip
The downloaded clip is uploaded to your specified Google Drive folder. The filename is auto-generated as EmployeeName_Department_Clip_N_Score_S.mp4 — for example Sarah_Johnson_Marketing_Clip_1_Score_87.mp4. Spaces in the employee name and department are replaced with underscores. Google Drive returns the file ID and web view link.
Step 10 — Google Sheets: Save to Library
One row is appended to your Onboarding Clip Library tab with all 15 columns. The Drive Link is constructed directly from the file ID as https://drive.google.com/file/d/FILE_ID/view — so every row has a clickable link to the clip without any manual copying. The timestamp column shows the clip's start and end time in seconds.
Step 11 — Gmail: Send Welcome Email
After all clips are saved to the sheet, a personalized HTML email is sent to the new employee's email address. The email is addressed by their first name (extracted from the full name), confirms their training clips are ready, shows the topic, department, and start date, includes a link to the full onboarding recording, and instructs them to check the Onboarding Clip Library sheet for their clip links. The sender name is set to the company name from the form.
The final result is up to 5 clips in Google Drive, a fully populated sheet row per clip, and a branded welcome email in the new employee's inbox — all triggered by one HR form submission.
✅ Training topic query drives clip selection — You describe what training content to extract using plain English — WayinVideo finds only the relevant moments rather than clipping the entire recording
✅ HD 720 with animated captions on every clip — Every exported clip has animated captions built in using caption template temp-7 — ready to share without any post-processing
✅ Clips downloaded before 24-hour expiry — WayinVideo export links expire — the workflow downloads and uploads to Drive immediately so your library is permanent
✅ Structured Drive filename per employee — Files are named with the employee name, department, clip number, and score so any team member can search Drive and instantly know what each file is
✅ Drive link constructed from file ID — The Google Sheets row includes a ready-to-click Drive link built directly from the uploaded file's ID — no manual copying or linking required
✅ Personalized first-name HTML email — The welcome email addresses the employee by their first name, includes their specific department and start date, and links to the full recording
✅ WayinVideo project named per employee — Each submission creates a named WayinVideo project (Onboarding — Employee — Department) so your WayinVideo dashboard stays organized across all employees
Increase the number of clips per employee — In node 2. WayinVideo — Submit Find Moments, change "limit": 5 to a higher number such as 8 to extract more training moments — useful for longer onboarding sessions covering many topics.
Upgrade clips to Full HD — In node 2. WayinVideo — Submit Find Moments, change "resolution": "HD_720" to "resolution": "FULL_HD_1080" for higher quality clips — useful when sharing onboarding recordings with enterprise clients or executives.
Add a Slack notification to the HR team — After node 11. Gmail — Send Welcome Email, add a Slack step that posts the employee name, department, start date, and number of clips created to a #hr-team or #onboarding channel so your team is notified every time a new employee's clips are ready.
Sort clips into employee-specific Drive subfolders — In node 9. Google Drive — Upload Clip, change the folder ID to a dynamic expression that creates or selects a subfolder named after the employee — so each new hire's clips are in their own folder rather than all together.
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 to HR instead of looping indefinitely.
WayinVideo returning an error on submission:
YOUR_WAYINVIDEO_API_KEY in node 2. WayinVideo — Submit Find Moments is replaced with your actual API key — not the placeholder textNo clips returned (empty clips array):
Workflow stuck in the polling loop:
Google Drive upload failing:
YOUR_GDRIVE_FOLDER_ID is replaced with just the folder ID from the URL — not the full Drive URLGoogle Sheets not saving rows or Gmail not sending:
YOUR_GOOGLE_SHEET_ID in node 10. Google Sheets — Save to Library is replaced with your actual Sheet ID and the tab is named Onboarding Clip Library exactlyNeed help setting this up or want a custom version built for your team or agency?
📧 Email: [email protected]
🌐 Website: https://www.incrementors.com/