Daily low-stock reorder recommendations for Adobe Commerce

By General Input

Every weekday at 9am, spot Adobe Commerce products running low, rank them by how many days of stock you have left, and post a reorder plan to Slack.

Integrations

  • Adobe Commerce (Magento)
  • Slack
  • Google Sheets

Type

Agentic Task

Categories

  • Operations

Every weekday at 9am, run Adobe Commerce Get Low Stock Items to pull the list of products that are at or below their reorder threshold. This is the starting set of SKUs the ops team needs to think about restocking today.

For each low SKU, call Adobe Commerce List Order Items with a searchCriteria filter on sku and created_at covering the last 30 days. Sum the ordered quantity across those line items and divide by 30 to get a daily sales velocity for that product. Then compute days of cover as current on-hand quantity divided by daily velocity (treat zero-velocity SKUs as a very large days-of-cover so they sort last, and flag them as slow movers rather than urgent reorders).

Once every SKU has a velocity and days-of-cover figure, have the AI rank the full list ascending by days of cover (smallest first, i.e. most urgent) and draft a short reorder recommendation per SKU: suggested purchase quantity sized to restore roughly 30 days of cover plus a small safety buffer, plus a one-line rationale calling out anything unusual (recent spike, near-zero velocity, seasonal item).

Post the ranked list to a Slack channel using Slack Send a Message. Format it as a readable digest: a headline with today's date and total number of at-risk SKUs, then one bullet per SKU with product name, SKU, on-hand quantity, 30-day velocity, days of cover, and suggested purchase quantity. Put the most urgent SKUs at the top.

Append the same rows to a Google Sheets tab called Reorder Log using Google Sheets Append Values, one row per SKU with columns for date, product name, SKU, on-hand quantity, 30-day velocity, days of cover, and suggested purchase quantity. Rows should always append to the end of the existing table so the ops team keeps a full audit history of every reorder recommendation the workflow has made.

If Get Low Stock Items returns no SKUs, still post a short Slack confirmation for the day ("No products below reorder threshold this morning") and skip the Google Sheets append.

Related prompts

Explore more prompts
Call overdue Xero customers with an AI collections agentLocal listing health board for every location you manageWin back LiveChat visitors whose chats went unansweredLet support send one-off Loops emails without an engineerStop cold emails to anyone with a live deal in PipedriveiMessage campaign console with pre-flight checks and delivery boardChat quality review board for LiveChat support leadsLinkedIn Ads budget pacing dashboard for every client accountFront desk appointment confirmation board for the next 3 daysGive your team Looker numbers without buying more seats