Skip to main content

Generate AI videos with Sora2 Pro, save to Google Drive and upload to YouTube

Workflow preview

Workflow preview
100%
Generate AI videos with Sora2 Pro, save to Google Drive and upload to YouTube preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This workflow automates the entire process of creating, managing, and publishing AI generated videos using OpenAI Sora2 Pro , Google Sheets , Google Drive , and YouTube . Advantages Fully Automat...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.scheduletrigger, n8n-nodes-base.stickynote, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.set

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate AI videos with Sora2 Pro, save to Google Drive and upload to YouTube
Workflow name
Generate AI videos with Sora2 Pro, save to Google Drive and upload to YouTube

This workflow automates the entire process of creating, managing, and publishing AI-generated videos using OpenAI Sora2 Pro, Google Sheets, Google Drive, and YouTube.


Advantages

  • Fully Automated Video Pipeline From idea to YouTube publication with zero manual intervention after setup.

  • Centralized Control via Google Sheets Simple spreadsheet interface — no need to use APIs or dashboards directly.

  • AI-Powered Video Creation Uses OpenAI Sora2 Pro for generating professional-quality videos from text prompts.

  • SEO-Optimized Titles with GPT-5 Automatically creates catchy, keyword-rich titles optimized for YouTube engagement.

  • Cloud Integration Seamless use of Google Drive for file management and YouTube for publishing.

  • Scalable and Repeatable Can handle multiple videos in sequence, triggered manually or at regular intervals.

  • Error-Resilient and Transparent Uses conditional checks (“Completed?” node) and real-time updates in Google Sheets to ensure reliability and visibility.


How it Works

This workflow automates the entire process of generating AI videos and publishing them to YouTube, using a Google Sheet as the central control panel.

  1. Trigger & Data Fetch: The workflow is triggered either manually or on a schedule. It starts by reading a specific Google Sheet to find new video requests. A new request is identified as a row where the "PROMPT" and "DURATION" columns are filled, but the "VIDEO" column is empty.
  2. AI Video Generation: For each new request, it takes the prompt and duration, then sends a request to the Fal.ai Sora-2 Pro model via its API to generate the video. The system then enters a polling loop, checking the video generation status every 60 seconds until it is COMPLETED.
  3. Post-Processing & Upload: Once the video is ready, the workflow performs three parallel actions:
    • Fetch Video & Upload to Drive: It retrieves the generated video file and uploads it to a specified folder in Google Drive for archiving.
    • Generate YouTube Title: It sends the original prompt to OpenAI's GPT-5 (or another specified model) to generate an optimized, SEO-friendly title for the YouTube video.
    • Publish to YouTube: It takes the generated video file and the AI-created title and uses the Upload-Post.com service to automatically publish the video to a connected YouTube channel.
  4. Update & Log: Finally, the workflow updates the original Google Sheet row with the URL of the archived video in Google Drive and the newly created YouTube video URL, providing a complete audit trail.

Set up Steps

To configure this workflow, follow these steps:

  1. Prepare the Google Sheet:

    • Create a Google Sheet with at least these columns: PROMPT, DURATION, VIDEO, and YOUTUBE_URL.
    • In the n8n "Get new video" and update nodes, configure the documentId and sheetName to point to your specific Google Sheet.
  2. Configure Fal.ai API Key:

    • Create an account on fal.ai and obtain your API key.
    • In both the "Create Video" and "Get status" HTTP Request nodes, set up the HTTP Header Authentication.
    • Set the Name to Authorization and the Value to Key YOUR_API_KEY.
  3. Set up Upload-Post.com for YouTube:

    • Create an account on Upload-Post.com and get your API key. Connect your YouTube channel as a "profile".
    • In the "HTTP Request" node (for uploading), configure the Header Auth with Name: Authorization and Value: Apikey YOUR_UPLOAD_POST_API_KEY.
    • Replace YOUR_USERNAME in the node's body parameters with the profile name you created on Upload-Post.com (e.g., test1).
  4. Configure OpenAI (Optional but Recommended):

    • The "Generate title" node uses an OpenAI model. Ensure you have valid OpenAI API credentials set up in n8n for this node to function and create optimized titles.
  5. Finalize Paths and Activate:

    • In the "Upload Video" node, specify the correct Google Drive folder ID where you want the videos to be saved.
    • Once all credentials and paths are set, you can activate the workflow and set the "Schedule Trigger" node to run at your desired interval (e.g., every 5 minutes).

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 - When clicking ‘Test workflow’

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - Get status

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

Block 3 - Wait 60 sec.

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

Block 4 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 5 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Completed?

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

Block 8 - Update result

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

Block 9 - Set data

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

Block 10 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Get new video

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

Block 14 - Create Video

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

Block 15 - Get Url Video

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

Block 16 - Get File Video

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

Block 17 - Upload Video

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

Block 18 - HTTP Request

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

Block 19 - Generate title

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 20 - Update Youtube URL

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

Block 21 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note8

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate AI videos with Sora2 Pro, save to Google Drive and upload to YouTube
Complexity advanced
Nodes 22
Categories Content Creation, Multimodal AI
Author Davide
Published 13 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9576/9576.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 Generate AI videos with Sora2 Pro, save to Google Drive and upload to YouTube do?

This workflow automates the entire process of creating, managing, and publishing AI generated videos using OpenAI Sora2 Pro , Google Sheets , Google Drive , and YouTube . Advantages Fully Automat...

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.