Automation library · Scheduling

Generate & schedule social media posts with OpenAI

Started by an incoming Telegram message, and works across Telegram. It hands the judgement calls to OpenRouter. 23 steps, 4 branches: large, and worth reading before you trust it with anything live.

LargeCalls a model: OpenRouter

23 stepsLarge: read it before trusting it with anything live
4Branches: places the flow splits
0Loops or waits
1Service it connects to

The flow

Starts it 2Model 3Logic 10Service 8

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Wait for User Topic ReplyTelegram triggerStarts it
  3. 3Structure AI OutputOutput Parser StructuredModel
  4. 4Web Research Tool (Optional)Tavily ToolService
  5. 5AI Language ModelLm Chat Open RouterModel
  6. 6Create Schedule TimestampCodeLogic
  7. 7Validate Reply FormatIfLogic
  8. 8AI Content GeneratorAgentModel
  9. 9Request Content Topic via TelegramTelegramService
  10. 10Parse User InputCodeLogic
  11. 11Validate Generated ContentCodeLogic
  12. 12Input Validation CheckIfLogic
  13. 13Content Quality GateIfLogic
  14. 14Send Input Error MessageTelegramService
  15. 15Format Content PreviewCodeLogic
  16. 16Send Generation ErrorTelegramService
  17. 17Send Preview & Await ApprovalTelegramService
  18. 18Merge Approval DataMergeLogic
  19. 19Check User ApprovalIfLogic
  20. 20Split Posts for PublishingSplit OutLogic
  21. 21Send Cancellation NoticeTelegramService
  22. 22Publish to Social PlatformsUpload PostService
  23. 23Send Success NotificationTelegramService

How it's built

Starts on
An incoming Telegram message
Steps
23, with 4 branches
Size
Large: read it before trusting it with anything live
Connects to
Telegram
Model
OpenRouter

Questions

What does it need to run?

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

How long does it take to set up?

Take your time. At 23 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 23 steps before you point it at anything that matters.