Daily
Catch Adobe Commerce orders that have stalled
A daily email names orders still pending or processing after two days, so none sit unnoticed.
- Runs
- Daily
- Apps
- Adobe Commerce
- AI
- Not needed
- Access
- sales read
Send this to your assistant
Create a ClickRuntime automation: every day at 9am, email me the Adobe Commerce orders that have been 'pending' or 'processing' for more than 2 days, with order number, customer and how long they've waited.
First time? Adding ClickRuntime to your assistant takes about two minutes.
Why use it
Why teams use this automation
An order that stays in Processing for six days is rarely good news. It might be waiting on stock that never arrived, a warehouse that never received the export, or a payment capture that failed quietly. In your Adobe Commerce catalog, these orders are not obvious: they sit in the grid mixed with hundreds of healthy ones, and the customer finds out first, by emailing to ask where their parcel is.
Each day, the automation searches orders by status and by updated_at, picks out those whose status has not changed for the number of days you choose, and sends the list by email. Each row shows the order number, status, customer and how long it has been stuck.
It is useful for operations managers and small teams where one person does fulfillment on top of other work.
What you get out of it
Customers are contacted before they complain
If you reach out first with an update, the customer sees a proactive shop. If they have to chase you, they remember it, and often leave a poor review. A quick message from you turns a potential complaint into a mark of good service.
Hidden process failures are found
Many stuck orders share one cause, such as a broken integration with the warehouse. A list of them makes the pattern clear, so you fix the cause once instead of each order by hand.
Payment issues are caught in time
Orders waiting on a pending payment may need a follow-up before the item is reserved too long. Spotting them early prevents lost sales and inventory held for no reason. A held payment can also mean stock reserved for someone who will never complete the order.
Fulfillment staff have a clear to-do list
The email is a short list of orders to investigate, so the person on duty knows where to start instead of scrolling through the order grid. There is no filtering, sorting or guessing involved.
Fewer refunds and chargebacks
A customer waiting two weeks with no news may dispute the charge. Catching late orders early gives you the chance to ship, update or refund before a dispute starts. It also protects your standing with the payment processor.
How it works
What happens, step by step
Once a day, ClickRuntime looks for Adobe Commerce orders that have sat in the same status without an update for too long.
It works out how many days each of those orders has been waiting.
You get an email listing each one with its order number, customer, current status and how many days it has been stuck.
Before it runs live
- Connect Adobe Commerce
What you get
Build your own
Need it to work differently?
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
Changes you can ask for
- Run it at a different time, more or less often, or only on weekdays
- Add an AI step, for example to summarize, sort or draft a reply
- Add another app, for example also send it to Slack
- Combine it with other Adobe Commerce steps into one automation
Under the hood
The code that runs this automation
from datetime import datetime, timedelta
from clickruntime import on_trigger, credentials, http, notify
BASE = "https://yourstore.com/rest/V1"
F = "searchCriteria[filter_groups][{}][filters][0][{}]"
@on_trigger
def run(event):
cutoff = datetime.utcnow() - timedelta(days=2)
params = {F.format(0, "field"): "status", F.format(0, "value"): "pending,processing",
F.format(0, "condition_type"): "in",
F.format(1, "field"): "updated_at", F.format(1, "value"): cutoff.strftime("%Y-%m-%d %H:%M:%S"),
F.format(1, "condition_type"): "lt", "searchCriteria[pageSize]": 500}
orders = http.get(f"{BASE}/orders", params=params,
headers={"Authorization": f"Bearer {credentials.secret('ADOBE_COMMERCE_TOKEN')}"}).json()["items"]
if not orders:
return {"stale": 0}
lines = []
for o in sorted(orders, key=lambda o: o["updated_at"]):
waited = (datetime.utcnow() - datetime.strptime(o["updated_at"], "%Y-%m-%d %H:%M:%S")).days
lines.append(f"- #{o['increment_id']} {o.get('customer_firstname', '')} {o.get('customer_lastname', '')} "
f"({o['status']}), {waited} days")
notify.email_me(f"{len(orders)} orders stuck for over 2 days", "\n".join(lines))
return {"stale": len(orders)}FAQ
Common questions
How many days counts as stale?
Which statuses are checked?
Will an order that was only edited count as moved?
What permissions does it need?
Does it need AI?
How many runs does it use?
Can I change how it works?
Related
You might also like
Get a morning Adobe Commerce sales report
Each morning you see yesterday's orders split by status and the revenue they brought in.
See how it worksGet alerted when orders drop off
If a day's orders fall far below the usual level, Slack tells you that evening.
See how it worksGet a daily list of products running low
A morning email lists products with fewer than your chosen number in stock, lowest first.
See how it worksKeep exploring
Set up “Catch Adobe Commerce orders that have stalled” from your assistant
Copy the prompt above, or connect your assistant first. Free plan, no credit card.