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

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

Needs changes

by Immanuel ✓ · 5,502 views · created 2025-06-03 · Content Creation, Multimodal AI

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 71 nodes and runs on a schedule (every day) (plus 1 other trigger). Along the way it connects OpenAI Chat Model, Airtable, Google Sheets and Google Drive and 2 more.

How it runs

Trigger: On a schedule (every day) (plus 1 other trigger).

  1. Generate Idea (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (searchAirtable)
  2. Search for Latest Ready Video (Airtable): uses Airtable
  3. Parse Ideas (Code): runs custom JavaScript code
  4. If: checks a condition and branches into true / false
  5. Add Ideas (Google Sheets): uses Google Sheets
  6. Download Video (HTTP Request): calls an HTTP API
  7. Update Pepduction Table (Google Sheets): uses Google Sheets
  8. Store in Airtable (Airtable): uses Airtable
  9. Post YouTube (YouTube): uses YouTube
  10. Generate Script (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser

…plus 54 more steps. See the full node list below.

Services it uses

OpenAI Chat ModelAirtableGoogle SheetsGoogle DriveGmailYouTube

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Generate Script (v1.9), Generate Idea (v1.9), Generate Music Prompt (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
  • Also check Always Output Data on multi-output nodes (If/Switch) now adds an empty item only when every output is empty.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Generate Script (v1.9), Generate Idea (v1.9), Generate Music Prompt (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (18)

From the author

Auto-Generate Long Videos with AI, ElevenLabs,PIAPI,Shotstack/Creatomate & Post to Youtube Overview This n8n automation workflow automates the creation, scripting, production, and posting of YouTube videos. It leverages AI (OpenAI), image generation (PIAPI),…

Excerpt from Immanuel's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.