E-commerce
Automations in e-commerce
- 5 minutes reading
- 21.12.2025
- Krzysztof Polak
Automation in e-commerce is not just about emails. It’s the way a store reacts to business events, makes decisions, and scales without constant manual control.
In this article, we show what automation really is and which processes are worth automating.
From this article you’ll learn:
- What automation is
- Which elements of an online store are worth automating
- More about unique, custom scenarios
Introduction
Automation in e-commerce is very often associated with simple actions: an email after placing an order, a change of order status, or a notification sent to the customer when their order has just left the warehouse.
However, this is only the most visible layer.
In practice, automation is much more than that – it is the ability of our store to respond to business events in a consistent, repeatable, and predictable way, without manual intervention from the team, for example from the admin panel.
It’s not about “something being sent automatically”.
It’s about the store making decisions based on predefined rules.
Processes that should be automated
In almost every online store, similar actions tend to repeat, although some of them may be non-standard.
- The customer places and pays for an order At this point, after the order is placed, the customer receives notifications via email, SMS, or another communication channel.
These are notifications such as: the order has been placed, then paid, then is being prepared, and finally, shipped. 2. Low stock level notification This is one of the key moments for a store owner, because when product X suddenly drops to the minimum threshold, the owner should receive a notification as quickly as possible – for example by email, SMS, or Slack.
Without such automation, the reaction usually comes noticeably too late.
-
Order fulfillment delay Sometimes the warehouse has issues shipping an order within the expected time. In such cases, it’s always worth notifying the customer about a potential delay.
-
Parcel dispatching After a shipping label is generated, the system can automatically perform the next steps, such as printing the label or executing other predefined actions. This makes order fulfillment faster and removes the need for manual handling.
Unique, custom scenarios
I’d like to describe a different type of automation that can appear in an online store. Ideally, this kind of automation should be configurable without developer involvement, directly from the admin panel.
The store owner could define their own events, conditions, and actions. Events react to predefined conditions and then trigger specific actions, such as sending information to Slack, email notifications, or executing a webhook and sending data.
What kind of scenarios are we talking about?
One example could be reacting to a low stock level defined by custom conditions, for instance: send me an email or a Slack notification when the stock level of product X (or any product) drops to a range above 2 but below 4. At that point, the store owner can react quickly and restock the product.
Another scenario could involve an online store that also operates Vending devices – smart machines where customers can buy products directly from the device. A critical scenario here could be sending an alert to the owner when the device loses connection with the store. In that case, we could send an SMS notification not only to the store owner but also to the vending operations team.
In summary…
Automation in e-commerce is a foundation for scaling, not an extra feature.
The earlier processes are organized and based on clear rules, the easier it is to grow the store without constant manual control.
In the next article, we’ll show how this approach to automation looks in practice, using a Medusa.js-based solution as an example.
Let's talk about collaboration!
We help businesses build scalable solutions with Medusa.js, Next.js, and Payload.

Krzysztof Polak
owner at Codee, a developer with many years of experience


