This workflow corresponds to n8n.io template #4087 — we link there as the canonical source.
This workflow follows the Chainllm → HTTP Request recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"id": "qWPu7LgG7Wnio8It",
"meta": {
"templateCredsSetupCompleted": true
},
"name": "AI Powered Content Creation and Publishing Engine with Mistral, Creatomate, and YouTube",
"tags": [
{
"id": "88Rkm7VaAFefsT34",
"name": "AI",
"createdAt": "2025-05-06T22:52:26.053Z",
"updatedAt": "2025-05-06T22:52:26.053Z"
},
{
"id": "Lh7rPgYrwjn9e48m",
"name": "Multimodal AI",
"createdAt": "2025-05-12T20:59:10.487Z",
"updatedAt": "2025-05-12T20:59:10.487Z"
},
{
"id": "W0kwHUnhvUn7kmRu",
"name": "Content Generation",
"createdAt": "2025-05-12T20:58:58.942Z",
"updatedAt": "2025-05-12T20:58:58.942Z"
},
{
"id": "XTCaZbRkBGyKDUCz",
"name": "Mistral",
"createdAt": "2025-05-12T21:40:14.277Z",
"updatedAt": "2025-05-12T21:40:14.277Z"
},
{
"id": "x56gw3VyYLaKbRU9",
"name": "Youtube",
"createdAt": "2025-05-12T20:58:53.058Z",
"updatedAt": "2025-05-12T20:58:53.058Z"
}
],
"nodes": [
{
"id": "2c9cd4a8-be6c-4db6-93d1-47ac9ee7620d",
"name": "Mistral Cloud Chat Model1",
"type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
"position": [
60,
-640
],
"parameters": {},
"typeVersion": 1
},
{
"id": "cae51487-343d-44d9-be0a-afe572df6b36",
"name": "Get Video File",
"type": "n8n-nodes-base.httpRequest",
"position": [
780,
140
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "521f9381-e669-42de-bc61-e5075cafa8fd",
"name": "Upload Video To Youtube",
"type": "n8n-nodes-base.youTube",
"onError": "continueRegularOutput",
"position": [
980,
140
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0d524434-c5ab-4ccd-83ef-08fb470b92f8",
"name": "Mistral Cloud Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
"position": [
320,
420
],
"parameters": {},
"typeVersion": 1
},
{
"id": "16962185-c7bf-4b51-b4d4-376aae13e89f",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
480,
420
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "2ed7a845-5a54-4bf5-9147-8aedb5d03c6c",
"name": "Set Upload Details",
"type": "n8n-nodes-base.set",
"position": [
600,
140
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "257fdcef-bcfb-45e9-bfaf-0b85cc24a7f1",
"name": "If Render Not Successful",
"type": "n8n-nodes-base.if",
"position": [
0,
-40
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "431a4755-b00f-4deb-b7fa-332e53850f00",
"name": "Send Message to YTAdmin",
"type": "n8n-nodes-base.telegram",
"position": [
260,
-40
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "a40c5bd2-fab0-464f-91ce-9ddbb36ca862",
"name": "Send Success Message to YTAdmin",
"type": "n8n-nodes-base.telegram",
"position": [
1180,
140
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "dc50dd03-4a5c-4391-98f9-01f3b5e2ff1d",
"name": "Recieve Message From YTAdmin",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-240,
-860
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "e31fcbb7-a515-4358-b7c2-31457187ab31",
"name": "Generate Content",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"maxTries": 4,
"position": [
-40,
-860
],
"parameters": {},
"retryOnFail": true,
"typeVersion": 1.6
},
{
"id": "849afef2-8fdf-46c1-b89e-735887f6d2d1",
"name": "Set Content",
"type": "n8n-nodes-base.set",
"position": [
320,
-860
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "0ddf8fb7-a69a-44ef-8a5b-491d12de00e0",
"name": "Split into Categories for Processing",
"type": "n8n-nodes-base.splitOut",
"position": [
520,
-860
],
"parameters": {},
"typeVersion": 1
},
{
"id": "94ed71a2-aae8-4a13-8d3b-4829498ebec0",
"name": "Generate Voice over Using OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
840,
-540
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "ae11a70b-99ef-44fd-8ef6-b7fef6bc20ed",
"name": "Generate Background Image Using OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"onError": "continueRegularOutput",
"position": [
840,
-740
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "a8995997-9ab7-4a96-b206-e38ab2b59661",
"name": "Wait 1 minute to reduce request load on Open AI",
"type": "n8n-nodes-base.wait",
"position": [
1240,
-740
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "21453276-8a02-4dd3-9a58-c5b11f368e40",
"name": "Convert file into Base 64 string",
"type": "n8n-nodes-base.extractFromFile",
"position": [
1040,
-540
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c8a4fb86-f09e-4a12-8a5b-0fd37dc74525",
"name": "Upload to MongoDB ",
"type": "n8n-nodes-base.httpRequest",
"position": [
1240,
-540
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "bd68f16b-be42-4f22-88ca-2ad1b703982e",
"name": "Merge Categories into Complete Scenes",
"type": "n8n-nodes-base.merge",
"position": [
1660,
-840
],
"parameters": {},
"typeVersion": 3.1
},
{
"id": "1d942d77-090d-45c9-875a-e27fa5535062",
"name": "Consolidate Scene Data",
"type": "n8n-nodes-base.aggregate",
"position": [
1860,
-840
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3c524515-789b-4428-bdc5-368e18dfc465",
"name": "Set Video File URL",
"type": "n8n-nodes-base.set",
"position": [
1440,
-540
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "d1f1a256-ce74-4354-bebb-b32cb76ace42",
"name": "Set Image URL",
"type": "n8n-nodes-base.set",
"position": [
1040,
-740
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "fc73a938-2e7c-454c-abf1-3383c7250f70",
"name": "Send Progress Message to YTAdmin ",
"type": "n8n-nodes-base.telegram",
"position": [
2300,
-840
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "13d66735-96a0-4a26-83ae-faef717e363c",
"name": "Generate Title and Description",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
260,
140
],
"parameters": {},
"typeVersion": 1.6
},
{
"id": "5c51a31c-7732-499b-a25e-1f023bd45546",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
760,
-1020
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "cae8742e-b223-436f-a02a-95597db7c9e0",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
2020,
-1020
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "04c0c116-15e2-40db-9801-5fb70ffe1713",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-80,
-1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "dbed7ccc-342d-4ef7-af65-d16305690b36",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-900,
-1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "afb60bf2-6106-466a-81ae-99972ce0aebb",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-900,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d86f8381-7844-4b9a-885c-85390c9afd19",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "60f15f6a-f20d-4120-88bf-821f0a86ca34",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-300,
-220
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "99152d06-e2d2-4978-a3e4-5aaa8a2a126b",
"name": "Structured Output Parser1",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
200,
-640
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "8351627f-82ba-4499-a69d-1086d260109a",
"name": "Render Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
2080,
-840
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "4ca5eb70-bec1-436c-bdbd-fbb7fe5fc1ea",
"name": "Receive Response from Creatomate",
"type": "n8n-nodes-base.webhook",
"position": [
-240,
-40
],
"parameters": {},
"typeVersion": 2
}
],
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "6d9c6644-40a1-49aa-b71d-048dfdac94ee",
"connections": {
"Set Content": {
"main": [
[
{
"node": "Split into Categories for Processing",
"type": "main",
"index": 0
}
]
]
},
"Set Image URL": {
"main": [
[
{
"node": "Wait 1 minute to reduce request load on Open AI",
"type": "main",
"index": 0
}
]
]
},
"Get Video File": {
"main": [
[
{
"node": "Upload Video To Youtube",
"type": "main",
"index": 0
}
]
]
},
"Render Request": {
"main": [
[
{
"node": "Send Progress Message to YTAdmin ",
"type": "main",
"index": 0
}
]
]
},
"Generate Content": {
"main": [
[
{
"node": "Set Content",
"type": "main",
"index": 0
}
]
]
},
"Set Upload Details": {
"main": [
[
{
"node": "Get Video File",
"type": "main",
"index": 0
}
]
]
},
"Set Video File URL": {
"main": [
[
{
"node": "Merge Categories into Complete Scenes",
"type": "main",
"index": 2
}
]
]
},
"Upload to MongoDB ": {
"main": [
[
{
"node": "Set Video File URL",
"type": "main",
"index": 0
}
]
]
},
"Consolidate Scene Data": {
"main": [
[
{
"node": "Render Request",
"type": "main",
"index": 0
}
]
]
},
"Upload Video To Youtube": {
"main": [
[
{
"node": "Send Success Message to YTAdmin",
"type": "main",
"index": 0
}
]
]
},
"If Render Not Successful": {
"main": [
[
{
"node": "Send Message to YTAdmin",
"type": "main",
"index": 0
}
],
[
{
"node": "Generate Title and Description",
"type": "main",
"index": 0
}
]
]
},
"Mistral Cloud Chat Model": {
"ai_languageModel": [
[
{
"node": "Generate Title and Description",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Generate Title and Description",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Mistral Cloud Chat Model1": {
"ai_languageModel": [
[
{
"node": "Generate Content",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser1": {
"ai_outputParser": [
[
{
"node": "Generate Content",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Recieve Message From YTAdmin": {
"main": [
[
{
"node": "Generate Content",
"type": "main",
"index": 0
}
]
]
},
"Generate Title and Description": {
"main": [
[
{
"node": "Set Upload Details",
"type": "main",
"index": 0
}
]
]
},
"Convert file into Base 64 string": {
"main": [
[
{
"node": "Upload to MongoDB ",
"type": "main",
"index": 0
}
]
]
},
"Generate Voice over Using OpenAI": {
"main": [
[
{
"node": "Convert file into Base 64 string",
"type": "main",
"index": 0
}
]
]
},
"Receive Response from Creatomate": {
"main": [
[
{
"node": "If Render Not Successful",
"type": "main",
"index": 0
}
]
]
},
"Split into Categories for Processing": {
"main": [
[
{
"node": "Merge Categories into Complete Scenes",
"type": "main",
"index": 0
},
{
"node": "Generate Background Image Using OpenAI",
"type": "main",
"index": 0
},
{
"node": "Generate Voice over Using OpenAI",
"type": "main",
"index": 0
}
]
]
},
"Merge Categories into Complete Scenes": {
"main": [
[
{
"node": "Consolidate Scene Data",
"type": "main",
"index": 0
}
]
]
},
"Generate Background Image Using OpenAI": {
"main": [
[
{
"node": "Set Image URL",
"type": "main",
"index": 0
}
]
]
},
"Wait 1 minute to reduce request load on Open AI": {
"main": [
[
{
"node": "Merge Categories into Complete Scenes",
"type": "main",
"index": 1
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
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…
Source: https://n8n.io/workflows/4087/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Digital marketers, content creators, social media managers, and businesses who want to use AI marketing automation for YouTube Shorts without spending hours on production. This AI workflow helps anyon
Automatically capture, categorize, and log expenses from receipts, PDFs, voice notes, or text — powered by AI and integrated with Telegram and Google Sheets.
This n8n template demonstrates how to create authentic-looking User Generated Content (UGC) advertisements using AI image generation, voice synthesis, and lip-sync technology. The workflow transforms
📌 How it works
This n8n workflow, BlogBlizt: Blogger Edition, automates the complete creation and publishing of long-form blog posts to Blogger, saving you hours of content creation time. Simply send a blog title vi