An n8n workflow that automatically generates viral-style animated videos using Gemini AI and Google Veo, then publishes them to YouTube Shorts and Facebook on a schedule.
git clone https://github.com/shubhamnevgi/Content-creation-with-N8N-AI-Agent.gitThis n8n workflow automates the complete video production pipeline for social media. It generates unique viral video concepts using Gemini AI, enhances prompts with specific animation requirements, creates 3D animated videos via Google Veo on Vertex AI, and simultaneously produces audio using Gemini-generated voiceovers and royalty-free background music merged with FFmpeg. The finished videos are automatically uploaded to YouTube Shorts and Facebook on a customizable schedule, eliminating manual content creation work. Teams managing social media channels benefit from consistent, hands-off video publishing without requiring video production skills or tools.
Set up a GCP project with Vertex AI and Cloud Storage APIs enabled, create a service account with appropriate permissions, and install FFmpeg on your n8n server. Import the workflow JSON, configure OAuth2 credentials for Google Cloud, YouTube, Facebook, Google Sheets, and Eleven Labs in n8n, then replace placeholder values (GCS bucket name, sheet IDs, account IDs) with your own. The workflow will automatically generate and publish videos on your configured schedule.
Social media managers automating daily YouTube Shorts and Facebook content
Marketing teams generating viral animal-themed video content at scale
Content creators publishing scheduled animated videos without manual editing
Agencies managing multi-channel video distribution for multiple accounts
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/shubhamnevgi/Content-creation-with-N8N-AI-AgentCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Create an n8n workflow for automated, AI-powered video creation and social media publishing. The workflow should include the following steps: [STEPS]. The video content should be about [TOPIC] for [COMPANY] in the [INDUSTRY] sector. Use [DATA] for personalized content. Publish the video to [PLATFORMS] with optimized titles, descriptions, and hashtags.
# AI-Powered Video Creation and Social Media Publishing Workflow
## Workflow Steps
1. **Content Research**: Use AI to gather trending topics and keywords related to [TOPIC] in the [INDUSTRY] sector.
2. **Script Generation**: Generate a script based on the researched content and [DATA].
3. **Video Creation**: Use AI tools to create a video from the script, including voiceover, visuals, and editing.
4. **Platform Optimization**: Optimize the video for [PLATFORMS] with AI-generated titles, descriptions, and hashtags.
5. **Scheduling and Publishing**: Schedule and publish the video to [PLATFORMS] using n8n.
## Example Output
### Video Title: "The Future of [TOPIC] in [INDUSTRY]"
### Video Description:
"Discover the latest trends and innovations in [TOPIC] for [COMPANY] in the [INDUSTRY] sector. This video explores [KEY POINTS] and provides insights into how [COMPANY] is leveraging these trends to drive growth."
### Hashtags:
#AI #Marketing #Innovation #FutureOfWork #DigitalTransformation
### Video Content:
- Introduction to [TOPIC]
- Key trends in [INDUSTRY]
- How [COMPANY] is leveraging these trends
- Case studies and success stories
- Conclusion and call-to-action
### Publishing Schedule:
- YouTube: [DATE]
- Facebook: [DATE]
## Workflow Diagram
```mermaid
flowchart TD
A[Content Research] --> B[Script Generation]
B --> C[Video Creation]
C --> D[Platform Optimization]
D --> E[Scheduling and Publishing]
```Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan