AutomationMart
Home/Browse/Generate YouTube shorts using WayinVideo AI and upload clips to Google Drive
n8n

Generate YouTube shorts using WayinVideo AI and upload clips to Google Drive

n8nn8n7 modulesv1.0
Google SheetsGoogle DriveLinkedInInstagram

Description Paste any video URL in chat — YouTube, podcast, webinar, anything — and this n8n workflow automatically finds the best short clips using WayinVideo AI, adds captions, reframes to 9:16 vertical format, and uploads everything directly to your Google Drive. No editing software, no manual work. Just paste and done. Built for content creators, marketers, and agencies who want to repurpose long-form video into viral short clips on autopilot. --- What This Workflow Does This automation hand

At a glance

Generate YouTube shorts using WayinVideo AI and upload clips to Google Drive is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Sheets, Google Drive, LinkedIn, Instagram. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Sheets, Google Drive, LinkedIn, Instagram
Modules
7
Price
Free
Version
v1.0
Generate YouTube shorts using WayinVideo AI and upload clips to Google Drive workflow diagram

About this workflow

Description Paste any video URL in chat — YouTube, podcast, webinar, anything — and this n8n workflow automatically finds the best short clips using WayinVideo AI, adds captions, reframes to 9:16 vertical format, and uploads everything directly to your Google Drive. No editing software, no manual work. Just paste and done. Built for content creators, marketers, and agencies who want to repurpose long-form video into viral short clips on autopilot. --- What This Workflow Does This automation handles your complete video-to-clips pipeline: - Chat-triggered — User pastes any video URL and the workflow starts instantly - AI clip detection — WayinVideo AI finds the most engaging moments automatically - Auto-captions — Adds styled captions to every clip without manual effort - Smart reframing — Converts horizontal video to 9:16 vertical (perfect for Reels, Shorts, TikTok) - Smart polling loop — Waits and retries every 30 seconds until processing is complete - Batch download — Downloads all generated clips automatically - Google Drive upload — Saves every clip with its title directly to your chosen folder --- Setup Requirements Tools You'll Need: - Active n8n instance (self-hosted or n8n Cloud) - WayinVideo account with API access - Google Drive with OAuth2 access Estimated Setup Time: 10–15 minutes --- Step-by-Step Setup 1. Get Your WayinVideo API Key WayinVideo is the AI engine that generates short clips from your videos. 1. Go to WayinVideo and create a free/paid account 2. Navigate to Dashboard → API section 3. Copy your Bearer API token 4. Open the "🎬 Submit Video to WayinVideo API" node in n8n 5. Replace YOURWAYINVIDEOAPIKEY with your actual token (in the Authorization header) 6. Do the same in the "🔄 Poll for Clip Results" node — replace the same placeholder there too > ⚠️ The API key appears in two places — Submit node and Poll node. Replace both! --- 2. Connect Google Drive 1. In n8n: Go to Credentials → Add Credential → Google Drive OAuth2 API 2. Complete the Google OAuth authentication 3. Open the "☁️ Upload Clip to Google Drive" node 4. Select your Google Drive credential 5. Replace YOURGOOGLEDRIVEFOLDERID with your actual folder ID How to find your Google Drive Folder ID: - Open Google Drive in browser - Navigate to your target folder - Look at the URL: drive.google.com/drive/folders/THISISYOURFOLDERID - Copy just that last part and paste it in the node --- 3. Configure the Chat Trigger This workflow is triggered when a user sends a video URL in the n8n chat interface. - The trigger node receives $json.chatInput — this is the video URL the user pastes - Make sure your n8n instance has the chat trigger enabled - No additional setup needed — it works out of the box --- 4. Customise Clip Settings (Optional) Open the "🎬 Submit Video to WayinVideo API" node to customise: | Parameter | Default Value | What It Does | |---|---|---| | targetduration | DURATION3060 | Clip length (30–60 seconds) | | limit | 3 | Number of clips to generate | | resolution | HD720 | Video quality (720p) | | ratio | RATIO916 | Vertical format (for Reels/Shorts) | | enablecaption | true | Auto-captions on/off | | captiondisplay | original | Caption language/style | | ccstyletpl | temp-7 | Caption design template | | enableaireframe | true | Auto-reframe to vertical | To change clip length options: - DURATION1530 → 15 to 30 second clips - DURATION3060 → 30 to 60 second clips (default) - DURATION6090 → 60 to 90 second clips To change ratio: - RATIO916 → Vertical (TikTok, Reels, Shorts) - RATIO169 → Horizontal (YouTube, LinkedIn) - RATIO11 → Square (Instagram feed) To change resolution: - HD720 → 720p (faster processing) - FULLHD1080 → 1080p (higher quality) --- 5. Test & Activate 1. Open n8n and go to this workflow 2. Click "Chat" button to open the chat interface 3. Paste any YouTube video URL and press send 4. Watch the workflow run step by step in the execution view 5. Check your Google Drive folder — clips should appear within 1–5 minutes 6. Once confirmed, toggle the workflow Active at the top ✅ --- How It Works (Step by Step) Step 1 — Chat Trigger User pastes a video URL in the n8n chat. The URL is captured as $json.chatInput and passed to the next node. Step 2 — Submit Video to WayinVideo API The workflow sends a POST request to the WayinVideo API (/api/v2/clips) with: - The video URL - All your clip preferences (duration, ratio, captions, resolution) - A project name auto-generated with today's date (e.g., Podcast Clips - 2025-01-15) The API returns a Job ID which is used to track processing status. Step 3 — Wait 30 Seconds The workflow pauses for 30 seconds to give WayinVideo time to start processing. This avoids hitting the API too early with an empty response. Step 4 — Poll for Clip Results Using the Job ID from Step 2, the workflow calls: to check if clips are ready. Step 5 — Clips Ready? (Smart Loop) The IF node checks if the clips array in the response is non-empty: - YES (clips ready) → Moves forward to extract clip details - NO (still processing) → Loops back to "Wait 30 Seconds" and tries again > This smart retry loop runs automatically every 30 seconds until your clips are done. No manual retries needed. Step 6 — Extract Clip Details The Code node loops through all generated clips and extracts: - title — AI-generated clip title - exportlink — Direct download URL for the clip - score — AI virality/engagement score - tags — Topic tags for the clip - desc — Short clip description - beginms / endms — Timestamp of the clip in the original video Each clip becomes a separate item for parallel processing. Step 7 — Download Clip File For each clip, the workflow downloads the video file from the exportlink URL. The file is stored as binary data (responseFormat: file) ready for upload. Step 8 — Upload to Google Drive Each downloaded clip is uploaded to your specified Google Drive folder. The file is named using the clip's AI-generated title automatically. --- Key Features ✅ Zero manual editing — AI handles clip selection, captions, and reframing ✅ Smart polling loop — Auto-retries every 30s, no timeout issues ✅ Batch processing — Handles multiple clips from one video in one run ✅ AI virality scoring — Each clip comes with an engagement score ✅ Auto-named files — Clips saved with meaningful AI-generated titles ✅ Flexible formats — Supports 9:16, 16:9, and 1:1 ratios ✅ Caption support — Multiple caption style templates available ✅ Google Drive ready — Organised storage with zero manual uploads --- Customisation Options Generate more clips per video: Change limit from 3 to 5 or 10 in the Submit node. Sort clips by score before uploading: Add a Sort node after "Extract Clip Details" and sort by score descending — this ensures your best clips are uploaded first. Save clip metadata to Google Sheets: Add a Google Sheets node after "Extract Clip Details" to log the title, score, tags, and timestamp of each clip for tracking. Add a response message back to chat: Add a "Respond to Webhook" node at the end to send a confirmation message like: "✅ 3 clips have been uploaded to your Google Drive!" Process multiple videos in batch: Modify the chat trigger to accept comma-separated URLs and add a Split node to process each video sequentially. --- Troubleshooting Clips not generating / API returns empty: - Verify your WayinVideo API key is correct in both the Submit and Poll nodes - Check your WayinVideo account has active credits - Ensure the video URL is publicly accessible (private YouTube videos won't work) - Try with a shorter video first (under 20 minutes) Workflow stuck in polling loop: - Very long videos (1+ hour) can take 5–10 minutes to process — this is normal - Check WayinVideo dashboard to see if your job is still running - If stuck for more than 15 minutes, check API status at wayinvideo.com Google Drive upload failing: - Re-authenticate your Google Drive OAuth credential - Verify the Folder ID is correct (copy directly from the URL) - Check that your Google account has write access to that folder - Ensure the folder is not inside a Shared Drive (use My Drive for simplest setup) Video URL not accepted: - Make sure you paste only the URL with no extra text - YouTube Shorts URLs work — use full URL format: - Some region-locked videos may not be accessible Clips uploading with wrong names: - The file name comes from clip.title in the Extract node - If titles look odd, you can add a Code node to clean/rename them before upload --- Support Need help setting this up or want a custom version for your use case? 📧 Email: info@isawow.com 🌐 Website:

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Create a data thing on Bubble using data from a Google Sheets spreadsheet

Every time data is updated in a Google Sheets spreadsheet, Make will create a data thing in one or more data types on Bubble.

Free

Save new ShipStation orders to a Google Sheets spreadsheet

Every time a new order is created in ShipStation, Make will automatically add that order's info to a new row in your Google Sheets spreadsheet. The template uses this [example spreadsheet](https://goo.gl/5gqH5C).

Free

Triage and escalate ethics disclosures with GPT-4o, policy API and Slack

How It Works This workflow automates ethics disclosure intake, investigation, risk routing, and escalation for compliance officers, legal teams, and ethics oversight boards. Disclosures arrive via webhook and are processed by a central Governance Agent with persistent memory, supported by four specialised AI sub-agents: Ethics Monitoring Agent (flags policy breaches), Investigation Agent (conducts structured inquiry), Reporting Agent (generates case summaries), and Escalation Agent (determines e

Free

Enrich Google Sheets With IPGeolocation.io Data

Automatically enrich IP addresses in Google Sheets with accurate geolocation data from IPGeolocation.io, including country, region, city, and coordinates, making it easy to analyze location-based information without manual processing. This template uses this [example spreadsheet](https://docs.google.com/spreadsheets/d/1p-MHXgvOVDdDWYqWntCYyrMuAttkLPXDvAzKQw_NdxY/edit?usp=sharing)

Free

Add Google Sheets rows from completed TMetric tasks

Every time a task is completed in TMetric, Make will automatically add a new row to a Google Sheet. This example uses [this sheet](https://docs.google.com/spreadsheets/d/1KmZh0t8lZMBd6jH5c1yEUMlbPPO90u_ndhlKb1c0N9w/edit#gid=0).

Free

AI-Powered Post-Sales Call Automated Proposal Generator

AI-Powered Proposal Generator - Sales Automation Workflow Overview This n8n workflow automates the entire proposal generation process using AI, transforming client requirements into professional, customized proposals delivered via email in seconds. Use Case Perfect for agencies, consultants, and sales teams who need to generate high-quality proposals quickly. Instead of spending hours writing proposals manually, this workflow captures clie

Free

Automatic invoice detection & reminder creation with Gmail & Google Tasks

This workflow contains community nodes that are only compatible with the self-hosted version of n8n. Who is this for? This workflow is for anyone who receives invoices by email and wants to stay on top of payment deadlines without manual tracking. What problem is this workflow solving? Invoices often get buried in your inbox. This workflow uses AI to find them, extracts key details, and adds a task to remind you to pay before it’s overdue. No more missed payments. No more manual tracking. How i

Free

Parse WhatsApp invoice images with Gemini and sync payments to HubSpot and Slack

Quick Overview This workflow captures invoice images/documents from WhatsApp, extracts structured invoice data with Google Gemini, and syncs the result to HubSpot by creating vendor-payment tasks or closing matching deals, while sending confirmations back on WhatsApp and raising exceptions to Slack. How it works 1. Triggers when a new WhatsApp message is received. 2. Checks that the message contains an image or document, then fetches the media URL and downloads the attachment. 3. Converts the do

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free