Skip to main content

Automated AI Long Video Creator 🎞️🍿 & Multi-Platform Upload via Postiz

Workflow preview

Workflow preview
100%
Automated AI Long Video Creator 🎞️🍿 & Multi-Platform Upload via Postiz preview
Open on n8n.io

1. Workflow Overview

This workflow automates the creation of long AI generated videos from prompts , merges the generated clips into a single video, and automatically distributes the final content across multiple platf...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.googledrive, n8n-nodes-base.httprequest, n8n-nodes-postiz.postiz, n8n-nodes-base.set, n8n-nodes-base.googlesheets, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.splitinbatches

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Davide Boizza.

Original n8n.io source

1.1 Workflow description

Title
Automated AI Long Video Creator 🎞️🍿 & Multi-Platform Upload via Postiz
Workflow name
Automated AI Long Video Creator 🎞️🍿 & Multi-Platform Upload via Postiz

This workflow automates the creation of long AI-generated videos from prompts, merges the generated clips into a single video, and automatically distributes the final content across multiple platforms.

The process starts with a Google Sheet that acts as the control panel for the workflow. Each row in the sheet contains a prompt, the duration of the clip, and a starting frame. The workflow reads this data and generates video clips sequentially.

Using the RunPod WAN 2.5 video generation API, the workflow creates individual video segments based on the prompt and input image. Each segment is then stored and tracked in the spreadsheet.

Once all clips are generated, the workflow uses the Fal.run FFmpeg API to merge them into a single long video. After merging, the final video is retrieved automatically.

The workflow also extracts the last frame of each generated clip to use as the starting frame for the next clip, ensuring smooth visual continuity between scenes.

Finally, the completed video is automatically:

  • Uploaded to Google Drive for storage
  • Published to YouTube
  • Uploaded to Postiz, which distributes it to social platforms such as TikTok, Instagram, Facebook, X, and YouTube

This creates a fully automated pipeline that transforms prompts in a spreadsheet into a finished long-form video distributed across multiple platforms.


Key Advantages

1. βœ… Fully Automated Video Production

The workflow automates the entire process of generating, assembling, and publishing videos, eliminating manual editing and upload steps.

2. βœ… Spreadsheet-Based Control

Using Google Sheets as the input system makes the workflow easy to manage and scalable. Users can create or modify video scenes simply by editing rows in the sheet.

3. βœ… Scalable AI Video Generation

The workflow can generate multiple clips and combine them into longer videos, enabling the creation of long-form content from short AI-generated segments.

4. βœ… Seamless Scene Continuity

By extracting the last frame of each clip and using it as the starting frame for the next scene, the workflow maintains visual continuity between segments.

5. βœ… Automatic Video Merging

The Fal.run FFmpeg API merges all generated clips into a single final video without requiring external editing tools.

6. βœ… Multi-Platform Distribution

Once the video is completed, it is automatically uploaded and published to multiple platforms, significantly reducing the time needed for content distribution.

7. βœ… Centralized Storage

The final video is saved to Google Drive, providing organized and secure storage for the generated content.

8. βœ… Error Handling and Status Monitoring

The workflow continuously checks the status of generation and processing tasks, waiting and retrying until the job is completed.


How it works

This workflow automates the creation of long videos by generating multiple clips from a Google Sheet and merging them together. Here's the process:

  1. Trigger & Data Loading: When manually executed, the workflow reads a Google Sheet containing video generation parameters (prompts, durations, and starting images).

  2. Video Generation Loop: For each row marked for processing, it:

  • Sends the prompt and parameters to RunPod's WAN 2.5 video generation API
  • Waits for completion (with status checking every 60 seconds)
  • Retrieves the generated video URL and updates the Google Sheet
  1. Frame Extraction: After each video is generated, it extracts the last frame using Fal.ai's FFmpeg API and updates the next row's starting image (creating visual continuity).

  2. Video Merging: Once all individual clips are generated (marked with "x" in the MERGE column), the workflow:

  • Collects all video URLs
  • Sends them to Fal.ai's FFmpeg merge API
  • Polls for completion every 60 seconds
  • Retrieves the final merged video
  1. Distribution: The final long video is:
  • Uploaded to Google Drive
  • Posted to YouTube via Upload-Post API
  • Posted to multiple social platforms (TikTok, Instagram, Facebook, X) via Postiz

Setup steps

  1. Google Sheet Setup:
  • Clone this template sheet
  • Update the sheet ID in all Google Sheets nodes
  • Fill in columns: START (initial image URL), PROMPT, DURATION (4, 6, or 8 seconds)
  • Mark rows to merge with "x" in the MERGE column
  1. API Credentials Required:
  • Google Sheets OAuth2: For reading/writing spreadsheet data
  • Google Drive OAuth2: For uploading final videos
  • Fal.ai API Key: For frame extraction and video merging
  • RunPod API Key: For WAN 2.5 video generation
  • Upload-Post API Key: For YouTube uploads
  • Postiz API Key: For social media posting
  1. Configure Nodes:
  • Update YOUR_USERNAME in the "Upload to Youtube" node
  • Set channel IDs and titles in the "Upload to Social" node (integrationId, content)
  • Verify folder IDs in Google Drive nodes
  1. Test: Run the workflow manually to generate your first long video sequence

πŸ‘‰ 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.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Upload Video

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 2 - Upload to Youtube

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 3 - Upload to Postiz

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 4 - Upload to Social

Type / Role
n8n-nodes-postiz.postiz - postiz
Config choices
Version 1

Block 5 - Set data

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 6 - Get new video

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 7 - Get Url Video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 8 - Wait 60 sec.2

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 9 - Wait 60 sec.3

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 10 - Completed?3

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 11 - Loop Over Items1

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 12 - Wait 60 sec.4

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 13 - Completed?4

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 14 - Completed?5

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 15 - videoUrls

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 16 - Merge videos

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 17 - Get videos

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 18 - Merge videos status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 19 - Get final video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 20 - Get frame

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 21 - Generate video

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 22 - Generate video status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 23 - Update video

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 24 - Extract Frame Status

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Showing the first 24 of 35 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Automated AI Long Video Creator 🎞️🍿 & Multi-Platform Upload via Postiz
Complexity advanced
Nodes 35
Categories Content Creation, Multimodal AI
Author Davide Boizza
Published 05 Mar 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13895/13895.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Automated AI Long Video Creator 🎞️🍿 & Multi-Platform Upload via Postiz do?

This workflow automates the creation of long AI generated videos from prompts , merges the generated clips into a single video, and automatically distributes the final content across multiple platf...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.