Automation library · Alerts and monitoring

Automatic Magento 2 product & coupon alerts to Telegram

Started by a clock, and works across MySQL, Telegram and X. 20 steps, 4 branches: a working afternoon to understand properly.

Medium

20 stepsMedium: a working afternoon
4Branches: places the flow splits
0Loops or waits
3Services it connects to

The flow

Starts it 1Logic 6Service 13

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

  1. 1Schedule TriggerSchedule triggerStarts it
  2. 2Get Latest OfferHttp RequestService
  3. 3Init DatabaseMy SqlService
  4. 4Fetch New ProductHttp RequestService
  5. 5New Voucher EntryMy SqlService
  6. 6New Product EntryMy SqlService
  7. 7Voucher Duplication ProtectionIfLogic
  8. 8Product Duplication ProtectionIfLogic
  9. 9Get Rule InfoHttp RequestService
  10. 10Get Product InfoHttp RequestService
  11. 11Coupon StatusIfLogic
  12. 12Product StatusIfLogic
  13. 13Voucher Message FormatCodeLogic
  14. 14Product Message FormatCodeLogic
  15. 15Post to Telegram1TelegramService
  16. 16Voucher to XTwitterService
  17. 17Product Alert to TelegramTelegramService
  18. 18Product X PostTwitterService
  19. 19Set Coupon as PostedMy SqlService
  20. 20Set Product as PostedMy SqlService

How it's built

Starts on
A clock
Steps
20, with 4 branches
Size
Medium: a working afternoon
Connects to
MySQL, Telegram, X
Model
None. This is plumbing, not judgement

Questions

What does it need to run?

An n8n account, plus your own MySQL, Telegram and X accounts. You connect your own accounts after importing it; none are included.

What starts it?

It starts on a clock.

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