# Automatic Magento 2 product & coupon alerts to Telegram: n8n workflow

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

Source: https://millionrounds.com/workflow/automatic-magento-2-product-and-coupon-alerts-to-telegram (Millionrounds; every figure on the page links to its filing or article)

[Automation library](https://millionrounds.com/workflows) · [Alerts and monitoring](https://millionrounds.com/workflows?category=Alerts+and+monitoring#library)

# 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

[Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomatic-magento-2-product-and-coupon-alerts-to-telegram)

**20 steps** Medium: a working afternoon

**4** Branches: places the flow splits

**0** Loops or waits

**3** Services it connects to

## The flow

Starts it 1 Logic 6 Service 13

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

- 1 **Schedule Trigger** Schedule trigger *Starts it*
- 2 **Get Latest Offer** Http Request *Service*
- 3 **Init Database** My Sql *Service*
- 4 **Fetch New Product** Http Request *Service*
- 5 **New Voucher Entry** My Sql *Service*
- 6 **New Product Entry** My Sql *Service*
- 7 **Voucher Duplication Protection** If *Logic*
- 8 **Product Duplication Protection** If *Logic*
- 9 **Get Rule Info** Http Request *Service*
- 10 **Get Product Info** Http Request *Service*
- 11 **Coupon Status** If *Logic*
- 12 **Product Status** If *Logic*
- 13 **Voucher Message Format** Code *Logic*
- 14 **Product Message Format** Code *Logic*
- 15 **Post to Telegram1** Telegram *Service*
- 16 **Voucher to X** Twitter *Service*
- 17 **Product Alert to Telegram** Telegram *Service*
- 18 **Product X Post** Twitter *Service*
- 19 **Set Coupon as Posted** My Sql *Service*
- 20 **Set Product as Posted** My Sql *Service*

## 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.

## Run it in n8n

- **Create your n8n account** Free to start. n8n is where the workflow runs. [Create an n8n account ↗](https://millionrounds.com/n8n)
- **Download the workflow** Free with a Millionrounds account. [Download free](https://millionrounds.com/login?next=%2Fapp%2Fworkflow%2Fautomatic-magento-2-product-and-coupon-alerts-to-telegram)
- **Paste it into n8n** Open a new workflow in n8n and paste. Then connect your own accounts.

Stored with the author's traces removed: canvas notes, instance identifiers, saved credential names and any live document they had left behind.

## Connects to

Each opens the other workflows that use it.

[MySQL](https://millionrounds.com/workflows?service=MySQL#library)[Telegram](https://millionrounds.com/workflows?service=Telegram#library)[X](https://millionrounds.com/workflows?service=X#library)

## Workflows like it

Also alerts and monitoring, with the same services where possible, closest in size first.

- [**Automated forex news alert system with Forex Factory** 20 steps · Telegram](https://millionrounds.com/workflow/automated-forex-news-alert-system-with-forex-factory)
- [**Catch Amazon MAP price breaches with Bright Data** 20 steps · Telegram, n8n data table](https://millionrounds.com/workflow/catch-amazon-map-price-breaches-with-bright-data)
- [**Create dynamic crypto market monitors with Gemini** 20 steps · Postgres, Telegram](https://millionrounds.com/workflow/create-dynamic-crypto-market-monitors-with-gemini)
- [**Generate multi-pass Seedance AI roto mattes with Nuke** 20 steps · Gmail, Google Sheets](https://millionrounds.com/workflow/generate-multi-pass-seedance-ai-roto-mattes-with-nuke)
- [**Investigate scam URLs with URLScan.io and Telegram** 20 steps · Gmail, Telegram](https://millionrounds.com/workflow/investigate-scam-urls-with-urlscan-io-and-telegram)
- [**Telegram AI bot: NeurochainAI text & image - NeurochainAI basic** 20 steps · Telegram](https://millionrounds.com/workflow/telegram-ai-bot-neurochainai-text-and-image-neurochainai-bas)
