🎬 Repurpose influencer videos into short clips using WayinVideo AI and Google Drive

⚑ 220 views · 🎬 Content Creation & Video

πŸ’‘ Pro Tip β€” Since TikTok doesn’t have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β€” drop it into your workflow and skip the parsing.

View All Scrapers

Description

Paste any long influencer or YouTube video URL into the form, and this workflow does everything else. It sends the video to WayinVideo AI, which automatically finds the most engaging short clips. Each clip is then downloaded and saved directly to your Google Drive folder β€” ready to post on TikTok, Instagram Reels, or YouTube Shorts. Built for content agencies, social media managers, and creators who want to repurpose long videos at scale without editing manually.


What This Workflow Does


Setup Requirements

Tools you’ll need:

Estimated Setup Time: 10–15 minutes


Step-by-Step Setup

  1. Get your WayinVideo API key Log in at WayinVideo, go to your account settings or developer section, and copy your API key.

  2. Paste the API key into node β€œ2. WayinVideo β€” Submit Clipping Task” Open this node, find the Authorization header, and replace YOUR_WAYINVIDEO_API_KEY with your actual key.

  3. Paste the API key into node β€œ4. WayinVideo β€” Poll Clips Result” Open this node, find the same Authorization header, and replace YOUR_WAYINVIDEO_API_KEY again. > ⚠️ This key appears in 2 nodes β€” you must replace it in both β€œ2. WayinVideo β€” Submit Clipping Task” and β€œ4. WayinVideo β€” Poll Clips Result” or the workflow will fail.

  4. Connect your Google account Open node β€œ8. Google Drive β€” Upload Clip”. Click the credential field and connect your Google account via OAuth2. Follow the on-screen prompts to authorise n8n.

  5. Set your Google Drive folder ID In node β€œ8. Google Drive β€” Upload Clip”, find the folderId field. Replace YOUR_GOOGLE_DRIVE_FOLDER_ID with your actual folder ID. To find it: open your target Google Drive folder in a browser β€” the folder ID is the string of letters and numbers at the end of the URL after /folders/.

  6. Activate the workflow Toggle the workflow to Active. Open the form URL generated by node β€œ1. Form β€” Video URL + Brand + Clip Count” and submit a test video to confirm everything works end to end.


How It Works (Step by Step)

Step 1 β€” Form Trigger (Web Form) The workflow starts when someone fills out the web form. They enter three things: the influencer video URL, the brand or creator name, and how many clips to generate. This form is hosted by n8n and can be shared with anyone on your team.

Step 2 β€” Submit to WayinVideo AI The video URL and settings are sent to the WayinVideo API. The request includes clip duration (30–60 seconds), HD 720p resolution, 9:16 vertical ratio for social media, captions enabled, and AI reframing. WayinVideo processes the video and returns a task ID that the workflow uses to check for results.

Step 3 β€” Wait 45 Seconds The workflow pauses for 45 seconds to give WayinVideo time to process the video before the first check. This avoids sending requests too early when results won’t be ready yet.

Step 4 β€” Poll for Results The workflow calls the WayinVideo results endpoint using the task ID from Step 2. It asks: β€œAre the clips ready yet?” and receives either a clips array or an empty result.

Step 5 β€” Check: Are Clips Ready? (YES / NO branch)

> ⚠️ Infinite Loop Risk: If WayinVideo never returns clips (due to an invalid URL or API error), this loop runs forever. Consider adding a retry counter to stop after a maximum number of attempts.

Step 6 β€” Extract Clips Array A code step reads the clips data and splits it into individual items β€” one per clip. Each item includes the clip title, download link, score, tags, description, and start/end timestamps.

Step 7 β€” Download Each Clip File For each clip, the workflow fetches the video file from WayinVideo’s export link and downloads the binary file into n8n’s memory, ready to be uploaded.

Step 8 β€” Upload to Google Drive Each downloaded clip file is uploaded to your Google Drive folder. The file is named using the AI-generated clip title from Step 6, so every clip arrives in Drive with a descriptive, ready-to-use filename.

The final result is a folder in your Google Drive containing all extracted short clips, named and ready to post.


Key Features

βœ… AI clip scoring β€” WayinVideo ranks clips by engagement potential, so you always get the most viral-ready moments first βœ… 9:16 vertical format β€” Every clip is automatically reframed for TikTok, Instagram Reels, and YouTube Shorts β€” no manual cropping βœ… Captions included β€” AI captions are embedded in every clip export, improving watch time and accessibility without extra editing βœ… Auto-retry polling β€” The workflow keeps checking until clips are ready β€” you don’t need to monitor or re-run anything manually βœ… Batch processing β€” Multiple clips are downloaded and uploaded in one run, no matter how many you requested βœ… Smart file naming β€” Each clip in Drive is named using its AI-generated title, not a random ID β€” your folder stays organised βœ… Team-friendly form β€” The web form means anyone on your team can submit jobs without logging into n8n βœ… Configurable clip count β€” Enter any number in the form to control how many clips are generated per video


Customisation Options

Shorter TikTok clips β€” In node β€œ2. WayinVideo β€” Submit Clipping Task”, change target_duration from DURATION_30_60 to DURATION_15_30 to generate 15–30 second clips optimised for TikTok.

Add Slack or email notifications β€” Insert a Slack or Gmail node after β€œ8. Google Drive β€” Upload Clip” to ping your team with a message (and the Drive link) every time a new clip is saved.

Log clip metadata to Google Sheets β€” After the upload step, add a Google Sheets β€œAppend Row” node to record each clip’s title, score, tags, and Drive link in a spreadsheet β€” useful for content calendars and client reporting.

Change video resolution β€” In the Submit node, change resolution from HD_720 to FULL_HD_1080 for higher-quality exports, or SD_480 to reduce file sizes.

Add a retry limit to the polling loop β€” To prevent the infinite loop risk, add a counter variable in the Wait step and check it in β€œ5. If β€” Clips Ready?” β€” stop after 10 attempts and send an error notification instead.

Switch to a different output folder per brand β€” Connect the Brand Name field from the form to the folder selection in the Google Drive node to auto-sort clips into brand-specific folders.


Troubleshooting

API key not working:

Workflow stuck in the polling loop:

Google Drive upload failing:

Support

Need help setting this up or want a custom version built for your team or agency?

πŸ“§ Email: info@incrementors.com 🌐 Website: https://incrementors.com/

πŸ”— Nodes Used

HTTP Request, Google Drive, n8n Form Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup