Generate brand marketing shorts with GPT-4, FAL AI & ElevenLabs for social media
Needs changesNeeds 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 to replace before upgrading
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) Prompt Generator (v1.9) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (12)
- Wait
n8n-nodes-base.wait - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Aggregate
n8n-nodes-base.aggregate - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Google Sheets
n8n-nodes-base.googleSheets - Google Drive
n8n-nodes-base.googleDrive - If
n8n-nodes-base.if - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Split Out
n8n-nodes-base.splitOut - AI Agent
@n8n/n8n-nodes-langchain.agent - Schedule Trigger
n8n-nodes-base.scheduleTrigger
What it does
AI‑Powered Branded Marketing Videos & Shorts (SSO-Optimized for n8n) --- 🧠 About This Flow This advanced automation template allows marketing teams, content creators, and branding specialists to automatically generate and publish high-quality, visually captivating branded short videos across YouTube, Instagram, and TikTok — with zero manual effort. The system uses AI-powered prompt generation, media rendering, and multi-platform publishing, combining: - 🧠 GPT-4 via OpenRouter – to generate story-rich prompts - 🎨 Image creation via FAL AI - 🎞️ Video generation via Kling (FAL AI) - 🔊 Audio generation via ElevenLabs - 🛠️ Video compilation via Creatomate - 🌐 Hosting via Blotato - 🚀 Publishing via platform-specific authenticated endpoints - 📊 Logging via Google Sheets All credentials and settings are SSO-enabled or environment variable driven, making it easy to reuse across teams and environments. --- 🚀 How It Works 1. Trigger & Content Fetch - Triggered on schedule or manually. - Fetches the next unpublished row from a Google Sheet. - Columns include: Brand, Title, Caption, Status. 2. AI-Powered Prompt Generation - Uses GPT-4 via OpenRouter to generate: - imageprompt - videoprompt - audioprompt 3. Media Generation - Image: FAL Flux-Pro + polling - Audio: ElevenLabs (5s ambient loop) - Video: Kling via FAL (looped 5s animation) 4. Final Video Rendering - Uses Creatomate to assemble assets into a final short. 5. Hosting & Upload - Hosted via Blotato with a public URL returned. 6. Platform Publishing Auto-publishes to: - YouTube (unlisted) - Instagram Reels - TikTok (public) 7. Logging Updates Google Sheet with: - Final video link - Status = Published - Platform-specific IDs --- 🧩 Setup Instructions Step 1: Clone or Import the Template - From your n8n dashboard: Import from File → paste the JSON. Step 2: Add Environment Variables env GSHEETID=yoursheetidhere CREATOMATETEMPLATEID=yourtemplateid CREATOMATEAPIKEY=sklive... BLOTATOAPIKEY=bt... YOUTUBEACCOUNTID=... INSTAGRAMACCOUNTID=... TIKTOKACCOUNTID=... Step 3: Create OAuth Credentials | Name | Platform | Usage | |------|----------|-------| | Google-Marketing | Google | Sheets + YouTube | | Meta-Marketing | Instagram/Facebook | Reels | | TikTok-Marketing | TikTok | Posting | Step 4: Google Sheet Setup Use this template. Columns: - Brand, Title, Caption, Status, VideoLink, YouTubeID, InstagramID, TikTokID Step 5: Sub-Workflows Enable: - Poll-Until-Image-Ready - Poll-Until-Video-Ready Step 6: Run the Workflow - Manually - Scheduled - Triggered by external app --- ✅ Best Practices | Tip | Description | |-----|-------------| | Use sub-workflows | Clean separation for logic | | Use env vars | Safer & cleaner setup | | Preview locally | Run once with test brand | | Log failures | Add error notifications | --- 💡 Customization Ideas - Add Slack notifications - Add overlays via Creatomate - Replace GPT with Claude/Mistral - Publish to more platforms - Use Airtable/Notion instead of Google Sheets --- 🏁 Final Output Brand like Nike produces: 1. Image of a shoe-shaped building 2. Video of joggers & motion 3. Lo-fi audio 4. Rendered short 5. Posted on all platforms 6. Sheet updated with URLs + IDs --- 🔗 Tags marketing ai video-automation youtube instagram tiktok shorts branded-content sso-ready n8n-template