Generate videos with AI, ElevenLabs,PIAPI Shotstack/Creatomate & post to Youtube
Needs changesWhat 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).
- Generate Idea (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (searchAirtable)
- Search for Latest Ready Video (Airtable): uses Airtable
- Parse Ideas (Code): runs custom JavaScript code
- If: checks a condition and branches into true / false
- Add Ideas (Google Sheets): uses Google Sheets
- Download Video (HTTP Request): calls an HTTP API
- Update Pepduction Table (Google Sheets): uses Google Sheets
- Store in Airtable (Airtable): uses Airtable
- Post YouTube (YouTube): uses YouTube
- 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
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.0 | Replace 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)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Airtable Tool
n8n-nodes-base.airtableTool - Google Sheets
n8n-nodes-base.googleSheets - Airtable
n8n-nodes-base.airtable - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Google Drive
n8n-nodes-base.googleDrive - Limit
n8n-nodes-base.limit - Edit Fields (Set)
n8n-nodes-base.set - Merge
n8n-nodes-base.merge - Switch
n8n-nodes-base.switch - Gmail
n8n-nodes-base.gmail - YouTube
n8n-nodes-base.youTube - If
n8n-nodes-base.if
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),…