Automation library · Content

Automate SEO blog post creation and publishing with OpenAI

Started by an incoming Telegram message, and works across Telegram and WordPress. It hands the judgement calls to Azure OpenAI, OpenAI and one other. 18 steps, 1 branch: a working afternoon to understand properly.

MediumCalls a model: Azure OpenAI, OpenAI

18 stepsMedium: a working afternoon
1Branch: places the flow splits
0Loops or waits
2Services it connects to

The flow

Starts it 2Model 7Logic 4Service 5

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Article GeneratorLm Chat Open AiModel
  3. 3Telegram TriggerTelegram triggerStarts it
  4. 4Set Valid CategorySetLogic
  5. 5Category MappingCodeLogic
  6. 6📦 Format Final DataSetLogic
  7. 7Get CategoriesHttp RequestService
  8. 8🚀 PublishHttp RequestService
  9. 9Metadata GeneratorLm Chat Open RouterModel
  10. 10ParserOutput Parser StructuredModel
  11. 11altLm Chat Azure Open AiModel
  12. 12Topic Chooser and Title MakerChain LlmModel
  13. 13Basic LLM ChainChain LlmModel
  14. 14IfIfLogic
  15. 15GetWordpressService
  16. 16OpenAI - Generate ImageOpen AiModel
  17. 17Upload Image to WPHttp RequestService
  18. 18Wordpress - Set Featured ImageHttp RequestService

How it's built

Starts on
An incoming Telegram message
Steps
18, with 1 branch
Size
Medium: a working afternoon
Connects to
Telegram, WordPress
Model
Azure OpenAI, OpenAI, OpenRouter

Questions

What does it need to run?

An n8n account, plus your own Telegram and WordPress accounts, and a key for Azure OpenAI 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 Azure OpenAI, OpenAI and OpenRouter. Model calls are billed by the provider, not by n8n.

How long does it take to set up?

Plan an afternoon. 18 steps is enough that you should read each one before running it.

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 18 steps before you point it at anything that matters.