AutomationMart
Home/Browse/Extend and merge UGC viral videos using Kling 2.1, then publish on social media
n8n

Extend and merge UGC viral videos using Kling 2.1, then publish on social media

n8nn8n26 modulesv1.0
ShopifyAirtableGoogle SheetsGoogle DriveLinkedInInstagramFacebook

This workflow automates the full pipeline for extending short Viral UGC-style videos using AI, merging them, and finally publishing the output to cloud storage or social media platforms (TikTok, Instagram, Facebook, Linkedin, X, and YouTube). It integrates multiple external APIs (Fal.ai, Runpod/Kling 2.1, Postiz, Upload-Post, Google Sheets, Google Drive) to create a smooth end-to-end video-generation system. --- Key Advantages 1. ✅ Full End-to-End Automation The wo

At a glance

Extend and merge UGC viral videos using Kling 2.1, then publish on social media is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Shopify, Airtable, Google Sheets, Google Drive. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Shopify, Airtable, Google Sheets, Google Drive, LinkedIn, Instagram
Modules
26
Price
Free
Version
v1.0
Extend and merge UGC viral videos using Kling 2.1, then publish on social media workflow diagram

About this workflow

This workflow automates the full pipeline for extending short Viral UGC-style videos using AI, merging them, and finally publishing the output to cloud storage or social media platforms (TikTok, Instagram, Facebook, Linkedin, X, and YouTube). It integrates multiple external APIs (Fal.ai, Runpod/Kling 2.1, Postiz, Upload-Post, Google Sheets, Google Drive) to create a smooth end-to-end video-generation system. --- Key Advantages 1. ✅ Full End-to-End Automation The workflow covers the entire process: 1. Read inputs 2. Generate extended clips 3. Merge them 4. Save outputs 5. Publish on social platforms No manual intervention required after starting the workflow. 2. ✅ AI-Powered Video Extension (Kling 2.1 or other models like Veo 3.1 or Sora 2) The system uses Kling 2.1 (Kling 2.1 or other models like Veo 3.1 or Sora 2) to extend short videos realistically, enabling: Longer UGC clips Consistent cinematic style Smooth transitions based on extracted frames Ideal for viral social media content. 3. ✅ Smart Integration with Google Sheets The spreadsheet becomes a control panel: Add new videos to extend Control merging Automatically store URLs and results This makes the system user-friendly even for non-technical operators. 4. ✅ Robust Asynchronous Job Handling Every external API includes: Status checks Waiting loops Error prevention steps This ensures reliability when working with long-running AI processes. 5. ✅ Automatic Merging and Publishing Once videos are generated, the workflow: Merges them in the correct order Uploads them to Google Drive Posts them automatically to selected social platforms This drastically reduces time required for content production and distribution. 6. ✅ Highly Scalable and Customizable Because it is built in n8n: You can add more APIs You can add editing steps You can connect custom triggers (e.g., Airtable, webhooks, Shopify, etc.) You can fully automate your video-production pipeline --- How It Works This workflow automates the process of extending and merging videos using AI-generated content, then publishing the final result to social media platforms. The process consists of five main stages: - Data Input & Frame Extraction The workflow starts by reading video and prompt data from a Google Sheet. It extracts the last frame from the input video using Fal.ai’s FFmpeg API. - AI Video Generation The extracted frame is sent to RunPod’s Kling 2.1 AI model to generate a new video clip based on the provided prompt and desired duration. - Video Merging Once the AI-generated clip is ready, it is merged with the original video using Fal.ai’s FFmpeg merge functionality to create a seamless extended video. - Storage & Publishing The final merged video is uploaded to Google Drive and simultaneously distributed to social media platforms via: - YouTube (via Upload-Post) - TikTok, Instagram, Facebook, X, and YouTube (via Postiz) - Progress Tracking Throughout the process, the Google Sheet is updated with the status, video URLs, and completion markers to keep track of each step. --- Set Up Steps To configure this workflow, follow these steps: 1. Prepare the Google Sheet - Use the provided template or clone this sheet. - Fill in the START (video URL), PROMPT (AI prompt), and DURATION (in seconds) columns. 2. Configure Fal.ai API for Frame Extraction & Merging - Create an account at fal.ai. - Obtain your API key. - In the nodes “Extract last frame”, “Merge Videos”, and related status nodes, set up HTTP Header Authentication with: - Name: Authorization - Value: Key YOURAPIKEY 3. Set Up RunPod API for AI Video Generation - Sign up at RunPod and get your API key. - In the “Generate clip” node, configure HTTP Bearer Authentication with: - Value: Bearer YOURRUNPODAPIKEY 4. Configure Social Media Publishing - For YouTube: Create a free account at Upload-Post and set your YOURUSERNAME and TITLE in the “Upload to Youtube” node. - For Multi-Platform Posting: Sign up at Postiz and configure your ChannelID and TITLE in the “Upload to Social” node. 5. Connect Google Services - Set up Google Sheets and Google Drive OAuth2 credentials in their respective nodes to allow reading from and writing to the sheet and uploading videos to Drive. 6. Execute the Workflow - Once all credentials are set, trigger the workflow manually via the “When clicking ‘Execute workflow’” node. - The process will run autonomously, updating the sheet and publishing the final video upon completion. - --- 👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n. []( --- Need help customizing? Contact me for consulting and support or add me on Linkedin.

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

Add new Zoho CRM tasks to Airtable

Use this template to automatically create an Airtable record when a new Zoho CRM task is created.

Free

Upload modified iAuditor inspection reports to Google Drive

Make will watch your iAuditor inspections at regular intervals and upload reports of these inspections to a specified folder in Google Drive.

Free

Add a new user to a list in Iterable from a new lead in Facebook Lead Ads

Every time a new lead is generated in Facebook Leads Ads, a new user will be instantly added to a list in Iterable. The template expects your Facebook form to at least collect these fields: 1) Email 2) Full Name The template also expects your Iterable list to have these fields: 1) email 2) name

Free

Import data from Facebook Insights to Google Sheets spreadsheet

Retrieve Facebook Insights for a date preset and send the data to Google Sheets spreadsheet.

Free

Add courses to Edusign from new Google Sheets rows

Every time a new row is added to a selected Google Sheets spreadsheet, Make will automatically create a new course in Edusign. The template uses this [example spreadsheet](https://docs.google.com/spreadsheets/d/1AIiod-lBAJWm5ZfvRC2G2KV2UUdRV16TbQJdVDW3N5E/edit?usp=sharing).

Free

Generate images with GPT-image-1 and store in Google Drive with cost tracking

How it works - Receive a chat input as an image prompt. - Call OpenAI's gpt-image-1 API to generate an image. - Split the returned images and process them one by one. - Upload each generated image to Google Drive. - Save image links and thumbnails to a Google Sheets document. - Record token usage and estimated cost into a separate sheet. Set up steps 1. Connect your OpenAI API credentials for image generation. 2. Connect your Google Drive and Google Sheets accounts. 3. Set the destination folder

Free

Get started with Google Sheets in n8n

A hands-on starter workflow that teaches beginners how to: Pull rows from a Google Sheet Append a new record that mimics a form submission Generate AI-powered text with GPT-4o based on a “Topic” column Write the AI output back into the correct row using an update operation Along the way you’ll learn the three essential Google Sheets operations in n8n (read → append → update), see how to pass sheet data into an OpenAI node, and document each step with sticky-note instructions—perfect for any

Free

Daily govt exam quiz by Gopal Debnath (mrtechyguru)

How It Works: 1. ⏰ Triggers daily at 6:00 AM 2. 📊 Fetches one random question from your Google Sheet 3. 🧠 Formats question, options, correct answer, and explanation 4. 📤 Sends it to: 📧 Email 💬 Telegram (via Bot) 📱 WhatsApp/SMS (via Twilio) --- 🔧 What You Need to Configure: YOURGOOGLESHEETID → your sheet with columns: question, optionA, optionB, optionC, optionD, correctAnswer, explanation Email credentials (SMTP) Telegram Bot Token & Chat ID Twilio phone numbers and credentials

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