workflows.fit
Back to n8n workflows
n8n template$20By Immanuel

Generate videos with AI, ElevenLabs,PIAPI Shotstack/Creatomate & post to Youtube

Auto-Generate Long Videos with AI, ElevenLabs,PIAPI,Shotstack/Creatomate & Post to Youtube ![Youtube.png](fileId:1443) Overview This n8n automation workflow automates the creation, scripting, production, and posting o...

Data & StorageProductivityDevelopmentCore NodesCommunicationHITLMarketingAI
Open checkout
Loading interactive preview...

Template notes

Auto-Generate Long Videos with AI, ElevenLabs,PIAPI,Shotstack/Creatomate & Post to Youtube ![Youtube.png](fileId:1443) Overview This n8n automation workflow automates the creation, scripting, production, and posting of YouTube videos. It leverages AI (OpenAI), image generation (PIAPI), video rendering (Shotstack), and platform integrations (Airtable, Google Sheets, YouTube) to streamline the process. Target Audience - Content creators, video producers, and YouTubers seeking to automate video content creation. - Digital marketing teams managing video campaigns for travel or history niches. - Users familiar with n8n, Airtable, Google Sheets, YouTube, and API integrations.

Problem Solved Manually managing YouTube video production, from ideation to posting, is time-consuming and prone to errors. This workflow addresses: - Content Sourcing: Generates video ideas using AI based on "domain of choice". - Content Formatting: Automatically creates detailed scripts and scene structures. - Visual Production: Produces high-quality images and renders videos with minimal manual input. - Multi-Platform Integration: Publishes to YouTube with status tracking in Airtable and Google Sheets. - Status Tracking: Monitors progress (Generated, Scripted, Produced, Published) across platforms. Prerequisites Before setting up, ensure you have: 1. An n8n instance (self-hosted or cloud) 2. API credentials for: - OpenAI (for idea generation) - PIAPI.ai (for image and video generation) - ElevenLabs (for audio generation) - Shotstack (for video rendering) - Creatomate (for video rendering) - Airtable & Google Sheets and Drive (for storage and tracking) - Gmail (for notifications) - YouTube API (for posting to YouTube)

How the Automation Works (Step by Step) 1. Trigger (Schedule Trigger) - Initiates the workflow daily - Connects to "Generate Idea"

2. Generate Idea - Uses OpenAI to create a unique 4-minute video idea with a title, description, keywords, scene structure, and intrigue note - Checks Airtable "Ideas" table via searchAirtable to avoid duplicates - Connects to "Parse Ideas"

3. Parse Ideas - Extracts title, description, and notes from the OpenAI output using JavaScript - Connects to "Add Ideas"

4. Add Ideas - Stores the initial idea in Google Sheets "Ideas" sheet with fields like "Idea", "Description", and "Progress" (set to "Generated") - Connects to "Store in Airtable"

5. Store in Airtable - Saves the idea to Airtable "Ideas" table with mapped fields and typecast enabled - Connects to "Generate Script"

6. Generate Script - Creates a 500-600 word script with 8-10 scenes using OpenAI, based on the latest "Generated" idea - Uses Structured Output Parser to format output - Connects to "Parse Script Output"