Automation library · Content

Generate and Publish SEO-Optimized Blog Posts to WordPress

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

MediumCalls a model: Gemini, OpenAI

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

The flow

Starts it 2Model 8Logic 1Service 5

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2Scheduled Auto Trigger (Every 3 Hours)1Schedule triggerStarts it
  3. 3ALT: Metadata Generator (Gemini)1Lm Chat Open RouterModel
  4. 4Parse Blog Metadata JSON1Output Parser StructuredModel
  5. 5Article Generator (alt)Lm Chat Open AiModel
  6. 6Article Generator (alt2)Lm Chat Google GeminiModel
  7. 7Article GeneratorLm Chat Open RouterModel
  8. 8Check command from telegramIfLogic
  9. 9Topic Chooser and Title MakerChain LlmModel
  10. 10Generate Article BodyChain LlmModel
  11. 11Create WP Draft Post1WordpressService
  12. 12Generate Featured Image (OpenAI)Open AiModel
  13. 13Upload Image to WordpressHttp RequestService
  14. 14Attach Feature Image to PostHttp RequestService
  15. 15Notify Discord channelDiscordService
  16. 16Notify TelegramTelegramService

How it's built

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

Questions

What does it need to run?

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

How long does it take to set up?

Plan an afternoon. 16 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 16 steps before you point it at anything that matters.