Blog · Shipped
Ask your AI agent what to restock
"What should I reorder?" is a question every small shop asks each week, usually with a spreadsheet open. If ShopsBuilder is connected to Claude or ChatGPT, you can now ask the agent instead. It answers from your own orders and stock, and it changes nothing until you say yes.
- 1You ask“What should I restock?”
- 2Agent checksSales in the last 30 days and stock available now.
- 3It suggestsWhat runs low and how many units to add.
- 4You agreeThe agent sets the new stock level.
What the agent looks at
For each product, the agent counts the units sold in the window (30 days by default) and the stock that is actually available: on hand minus what orders not yet shipped already hold. From that it works out how many days the stock will last at the current pace, and how many units would cover the next 30 days.

In the video the merchant answers "Yes, make it 14", a bigger buffer than suggested, and the agent sets Matcha to 14. You can accept the number, change it, or say no.
It's arithmetic, not a forecast
The suggestion assumes the next month sells like the last one. It doesn't know about holidays or a post that's about to go viral, so the agent says which orders and days it used. When the shop has only a few orders in the window, it says the pace rests on little data. Cancelled, draft and expired orders don't count as sales.
You can change the window (7, 14, 30 or 90 days), when stock counts as low, and how many days a restock should cover. Just say it: "Use the last 90 days and plan for six weeks."
Try it
- Connect ShopsBuilder to your assistant, as described in Run your shop from Claude or ChatGPT.
- Ask: "What should I restock?"
- Read the suggestion, then reply "Yes, update the stock" or name your own quantity.
The tools behind it are restock_assessment and set_variant_stock, both in the MCP tools reference.
Why this matters
Much of a small shop's week goes into routine checks like this one. Each check the agent can run from real shop data, leaving the merchant only to approve, is one less spreadsheet. Restocking is a first step from "the agent does what I tell it" towards "the agent tells me what needs doing".