Automation library · Content

Midjourney Image Generator with Telegram and GoAPI

Started by an incoming Telegram message, and works across Discord and Telegram. 16 steps, 3 branches, 2 loops or waits: a working afternoon to understand properly.

Medium

16 stepsMedium: a working afternoon
3Branches: places the flow splits
2Loops or waits
2Services it connects to

The flow

Starts it 1Logic 6Service 9

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

  1. 1Telegram TriggerTelegram triggerStarts it
  2. 2Get PromptIfLogic
  3. 3TaskSetLogic
  4. 4Generate ImageHttp RequestService
  5. 5Notify GenerationTelegramService
  6. 6Get Generation TaskHttp RequestService
  7. 7Status = completeIfLogic
  8. 8Get Index to UpscaleTelegramService
  9. 9WaitWaitLogic
  10. 10UpscaleHttp RequestService
  11. 11Notify UpscalingTelegramService
  12. 12Get Upscale TaskHttp RequestService
  13. 13Get UpscaleIfLogic
  14. 14Main LogTelegramService
  15. 15Discord - Generation LogDiscordService
  16. 16Wait1WaitLogic

How it's built

Starts on
An incoming Telegram message
Steps
16, with 3 branches, 2 loops or waits
Size
Medium: a working afternoon
Connects to
Discord, Telegram
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own Discord and Telegram accounts. 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?

No. Every step is fixed logic or a call to a service, so it does the same thing every time.

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.