AutomationMart
Home/Browse/AI content creation and publishing engine with Mistral, Creatomate, and YouTube
n8n

AI content creation and publishing engine with Mistral, Creatomate, and YouTube

n8nn8n27 modulesv1.0
aggregatechainLlmextractFromFilehttpRequestiflmChatMistralCloudmergeopenAioutputParserStructuredsetsplitOuttelegramtelegramTriggerwaitwebhookyouTube

Description This n8n workflow automates the entire process of creating and publishing AI-generated videos, triggered by a simple message from a Telegram bot (YTAdmin). It transforms a text prompt into a structured video with scenes, visuals, and voiceover, stores assets in MongoDB, renders the final output using Creatomate, and uploads the video to YouTube. Throughout the process, YTAdmin receives real-time updates on the workflow’s progress. This is ideal for content creators, marketers, or bus

At a glance

AI content creation and publishing engine with Mistral, Creatomate, and YouTube is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects aggregate, chainLlm, extractFromFile, httpRequest. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
aggregate, chainLlm, extractFromFile, httpRequest, if, lmChatMistralCloud
Modules
27
Price
Free
Version
v1.0
AI content creation and publishing engine with Mistral, Creatomate, and YouTube workflow diagram

About this workflow

Description This n8n workflow automates the entire process of creating and publishing AI-generated videos, triggered by a simple message from a Telegram bot (YTAdmin). It transforms a text prompt into a structured video with scenes, visuals, and voiceover, stores assets in MongoDB, renders the final output using Creatomate, and uploads the video to YouTube. Throughout the process, YTAdmin receives real-time updates on the workflow’s progress. This is ideal for content creators, marketers, or businesses looking to scale video production using automation and AI. --- You can see a video demonstrating this template in action here: --- How it Works 1. Trigger: Message from YTAdmin (Telegram Bot) The flow starts when YTAdmin sends a content prompt. 2. Generate Structured Content A Mistral language model processes the input and outputs structured content, typically broken into scenes. 3. Split & Process Content into Scenes The content is split into categorized parts for scene generation. 4. Generate Media Assets For each scene: Images: Generated using OpenAI’s image model. Voiceovers: Created using OpenAI’s text-to-speech. Audio files are encoded and stored in MongoDB. 5. Scene Composition Assets are grouped into coherent scenes. 6. Render with Creatomate A complete payload is generated and sent to the Creatomate rendering API to produce the video. Progress messages are sent to YTAdmin. The flow pauses briefly to avoid rate limits. 7. Render Callback Once Creatomate completes rendering, it sends a callback to the flow. If the render fails, an error message is sent to YTAdmin. If the render succeeds, the flow proceeds to post-processing. 8. Generate Title & Description A second Mistral prompt generates a compelling title and description for YouTube. 9. Upload to YouTube The rendered video is retrieved from Creatomate. It’s uploaded to YouTube with the AI-generated metadata. 10. Final Update A success message is sent to YTAdmin, confirming upload completion. --- Set Up Steps (Approx. 10–15 Minutes)Step 1: Set Up YTAdmin Bot Create a Telegram bot via BotFather and get your API token. Add this token in n8n's Telegram credentials and link to the "Receive Message from YTAdmin" trigger. Step 2: Connect Your AI Providers Mistral: Add your API key under HTTP Request or AI Model nodes. OpenAI: Create an account at platform.openai.com and obtain an API key. Use it for both image generation and voiceover synthesis. Step 3: Configure Audio File Storage with MongoDB via Custom API Receives the Base64 encoded audio data sent in the request body. Connects to the configured MongoDB instance (connection details are managed securely within the API- code below). Uses the MongoDB driver and GridFS to store the audio data. Returns the unique id (ObjectId) of the stored file in GridFS as a response. This id is crucial as it will be used in subsequent steps to generate the download URL for the audio file. My API code can be found here for reference: Step 4: Set Up Creatomate Create a Creatomate account, define your video templates, and retrieve your API key. Configure the HTTP request node to match your Creatomate payload requirements. Step 5: Connect YouTube In n8n, add OAuth2 credentials for your YouTube account. Make sure your Google Cloud project has YouTube Data API enabled. Step 6: Deploy and Test Send a message to YTAdmin and monitor the flow in n8n. Verify that content is generated, media is created, and the final video is rendered and uploaded. --- Customization Options 1. Change the AI Prompts Modify the generation prompts to adjust tone, voice, or content type (e.g., news recaps, product videos, educational summaries). 2. Switch Messaging Platform Replace Telegram (YTAdmin) with Slack, Discord, or WhatsApp by swapping out the trigger and response nodes. 3. Add Subtitles or Effects Integrate Whisper or another speech-to-text tool to generate subtitles. Add overlay or transition effects in the Creatomate video payload. 4. Use Local File Storage Instead of MongoDB Swap out MongoDB upload http nodes with filesystem or S3-compatible storage. 5. Repurpose for Other Platforms Swap YouTube upload with TikTok, Instagram, or Vimeo endpoints for broader publishing. --- Need Help or Want to Customize This Workflow? If you'd like assistance setting this up or adapting it for a different use case, feel free to reach out to me at nanabrownsnr@gmail.com. I'm happy to help!

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Email summary agent

Problem Teams often struggle with email overload, leading to missed actions and inefficient meeting preparation. Solution This workflow automates email management using n8n and AI. It fetches emails, summarizes key points and actions, and sends two concise updates—one in the morning and one at night. How It Works - Triggers at 7 AM and 9 PM: Automates the process to summarize emails received during specific time blocks. - Fetches Emails: Retrieves emails from the last 24 hours or af

Free

🛠️ State Management System for Long-Running Workflows with Wait Nodes

How it works This template is a powerful, reusable utility for managing stateful, long-running processes. It allows a main workflow to be paused indefinitely at "checkpoints" and then be resumed by external, asynchronous events. This pattern is essential for complex automations and I often call it the "Async Portal" or "Teleport" pattern. The template consists of two distinct parts: 1. The Main Process (Top Flow): This represents your primary business logic. It starts, performs some actions, and

Free

Estimate Construction Costs from Revit/IFC Models with GPT-4 and Claude

Estimate material price and total cost for grouped BIM/CAD elements using an LLM-driven analysis. The workflow accepts an existing XLSX (from your model) or, if missing, can trigger a local RvtExporter.exe to generate one. It enriches each element group with quantities, pricing, confidence, and produces a multi-sheet Excel report plus a polished HTML executive report. What it does - Reads grouped element data (from XLSX or extracted via RvtExporter.exe). - Builds enhanced prompts with clear rule

Free

Automate LinkedIn profile search & cold email outreach with OpenAI and Hunter

Problem 🚨 LinkedIn search is BROKEN. I waste hours on LinkedIn manually filtering profiles, reading summaries, hoping they’d reply—tedious, frustrating, inefficient. I wish LinkedIn had built an agent that would get me to the right profile with one click! If only I could just type: "Product managers working on YouTube Shorts' generative AI features." and seconds later, have LinkedIn URLs, names, emails, and full context about them. Introducing LinkGPT, a LinkedIn Agent, an automated agentic wor

Free

Customer personality (BaZi, DISC, Numerology) with Gemini & Google Sheets

What this workflow does This workflow turns your n8n into an automated personality-insights engine driven by Google Sheets. When a row is updated with Analysis Status = Run, it: - Computes Lunar Date of Birth and Four Pillars (BaZi) from DOB and optional birth time. - Calculates Numerology (Life Path, Birth Day, Pinnacles/Challenges, Expression, Soul Urge, Personality, Maturity) and a phone “vibration” number. - Generates concise, sales-oriented bullet-point analyses with Gemini for BaZi, Numer

Free

AI-powered Telegram bot for data extraction with Bright Data MCP

AI Agent Template with Bright Data MCP Tool Integration This template enables natural-language-driven automation using Bright Data MCP tools. It extracts all available tools from MCP, processes the user’s query through an AI agent, then dynamically selects and executes the appropriate tool. --- ❓ Problem It Solves Traditional automation often requires users to understand APIs, interfaces, or scripts to perform backend tasks. The Bright Data MCP integration solves this by allowing natural languag

Free

Patient pre-registration system with email verification & QR health cards using Google Drive

Automated Email Verification & Digital Health Card Generator Overview Transform your clinic's patient check-in process with this fully automated pre-registration system. When patients submit their appointment information through your website, this workflow instantly verifies their email, generates a professional digital health card with a scannable QR code, stores it securely in Google Drive, and sends personalized notifications to both the patient and your reception team—all in under 2

Free

Restore and recover n8n credentials from Google Drive backups with duplication protection

This n8n workflow template uses community nodes and is only compatible with the self-hosted version of n8n. Restore n8n Credentials from Google Drive Backup This template enables you to restore your n8n credentials from a backup file in Google Drive. It's an essential companion to a credential backup workflow, ensuring you can recover your setup in case of data loss, instance migration, or disaster recovery. The workflow intelligently checks for existing credentials to prevent accidental overwr

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free