π¬ Generate brand marketing shorts with GPT-4, FAL AI & ElevenLabs for social media
β‘ 272 views Β· π¬ Content Creation & Video
π‘ Pro Tip β Since TikTok doesnβt have a public API, getting data usually means fragile HTTP scraping. ScraperNode is a community node that gives you clean JSON for TikTok profiles, videos, and comments β drop it into your workflow and skip the parsing.
Description
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:
image_promptvideo_promptaudio_prompt
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
GSHEET_ID=your_sheet_id_here
CREATOMATE_TEMPLATE_ID=your_template_id
CREATOMATE_API_KEY=sk_live_...
BLOTATO_API_KEY=bt_...
YOUTUBE_ACCOUNT_ID=...
INSTAGRAM_ACCOUNT_ID=...
TIKTOK_ACCOUNT_ID=...
Step 3: Create OAuth Credentials
| Name | Platform | Usage |
|---|---|---|
Google-Marketing | 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-ReadyPoll-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:
- Image of a shoe-shaped building
- Video of joggers & motion
- Lo-fi audio
- Rendered short
- Posted on all platforms
- Sheet updated with URLs + IDs
π Tags
#marketing #ai #video-automation #youtube #instagram #tiktok
#shorts #branded-content #sso-ready #n8n-template
π Nodes Used
Google Sheets, HTTP Request, Google Drive, Schedule Trigger, AI Agent, Structured Output Parser
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File