This n8n template automates the entire process of generating short-form AI videos and publishing them across multiple social media platforms. It combines Google Gemini for structured prompt creation, KIE AI for video generation, and Blotato for centralized publishing. The result is a fully automated content pipeline ideal for creators, marketers, agencies, or anyone who wants consistent, hands-free content generation.
This workflow is especially useful for short-video creators, meme pages, educational creators, UGC teams, auto-posting accounts, and brands who want to maintain high-frequency posting without manual effort.
Scheduler Trigger
Defines how frequently new videos should be created (e.g., every 12 hours).
Random Template Selector
A JavaScript node generates a random number to choose from multiple creative prompt templates.
AI Agent (Google Gemini)
Gemini generates a JSON object containing:
The Structured Output Parser ensures strict JSON shape.
Video Generation with KIE AI
The prompt is sent to KIE AI’s video generation API.
KIE AI creates a synthetic AI video based on the description and your chosen parameters (aspect ratio, frames, watermark removal, etc.).
Polling & Retrieval
The workflow waits until the video is fully rendered, then fetches the final video URL.
Media Upload to Blotato
The generated video is uploaded into Blotato’s media storage for publishing.
Automatic Posting to Social Platforms
Blotato distributes the video to all connected platforms.
Examples include:
This results in a fully automated “idea → video → upload → publish” pipeline.
Start by testing the workflow manually to verify video generation and posting.
Adjust the Scheduler Trigger to fit your posting frequency.
Add your API credentials for:
Ensure your Blotato account has social channels connected.
Edit or expand the prompt templates for your content niche:
The more template prompts you add, the more diverse your automated videos will be.
Add more prompt templates to increase variety.
Swap Gemini for an LLM of your choice (OpenAI, Claude, etc.).
Add a Telegram, Discord, or Slack notification once posting is complete.
Store all generated titles, descriptions, and video URLs in:
Add multi-language support using a translation node.
Add an approval step where videos go to your team before publishing.
Add analytics logging (impressions, views, etc.) using Blotato or another service.
This template is designed for easy setup and high flexibility. All technical details, configuration steps, and workflow logic are already included in sticky notes inside the workflow.
Once configured, this pipeline becomes a hands-free AI-powered content engine capable of generating and publishing content at scale.