Automation library · Content

AI content creation and publishing engine with Mistral

Started by an incoming Telegram message, and works across Telegram and YouTube. It hands the judgement calls to Mistral and OpenAI. 27 steps, 1 branch, 1 loop or waits: large, and worth reading before you trust it with anything live.

LargeCalls a model: Mistral, OpenAI

27 stepsLarge: read it before trusting it with anything live
1Branch: places the flow splits
1Loop or waits
2Services it connects to

The flow

Starts it 2Model 8Logic 9Service 8

The steps in the order they run, from what starts it.

  1. 1Mistral Cloud Chat Model1Lm Chat Mistral CloudModel
  2. 2Mistral Cloud Chat ModelLm Chat Mistral CloudModel
  3. 3Structured Output ParserOutput Parser StructuredModel
  4. 4Recieve Message From YTAdminTelegram triggerStarts it
  5. 5Structured Output Parser1Output Parser StructuredModel
  6. 6Receive Response from CreatomateWebhookStarts it
  7. 7Generate ContentChain LlmModel
  8. 8Generate Title and DescriptionChain LlmModel
  9. 9If Render Not SuccessfulIfLogic
  10. 10Set ContentSetLogic
  11. 11Set Upload DetailsSetLogic
  12. 12Send Message to YTAdminTelegramService
  13. 13Split into Categories for ProcessingSplit OutLogic
  14. 14Get Video FileHttp RequestService
  15. 15Merge Categories into Complete ScenesMergeLogic
  16. 16Generate Background Image Using OpenAIOpen AiModel
  17. 17Generate Voice over Using OpenAIOpen AiModel
  18. 18Upload Video To YoutubeYou TubeService
  19. 19Consolidate Scene DataAggregateLogic
  20. 20Set Image URLSetLogic
  21. 21Convert file into Base 64 stringExtract From FileService
  22. 22Send Success Message to YTAdminTelegramService
  23. 23Render RequestHttp RequestService
  24. 24Wait 1 minute to reduce request load on Open AIWaitLogic
  25. 25Upload to MongoDB Http RequestService
  26. 26Send Progress Message to YTAdmin TelegramService
  27. 27Set Video File URLSetLogic

How it's built

Starts on
An incoming Telegram message
Steps
27, with 1 branch, 1 loop or waits
Size
Large: read it before trusting it with anything live
Connects to
Telegram, YouTube
Model
Mistral, OpenAI

Questions

What does it need to run?

An n8n account, plus your own Telegram and YouTube accounts, and a key for Mistral and OpenAI. You connect your own accounts after importing it; none are included.

What starts it?

It starts on an incoming Telegram message.

Does it use AI?

Yes. It calls Mistral and OpenAI. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Take your time. At 27 steps it is large: read it before trusting it with anything live.

How do I import it?

Copy the workflow, open a new workflow in n8n and paste. The steps appear on the canvas, ready for your own accounts.

Before you run it

Nothing here has been tested by us. It is somebody's working automation, read and described from its own steps. Treat the connections it wants as a list of accounts it will touch, and read the 27 steps before you point it at anything that matters.