Add to Claude

Guides · For agents

Find stock that hasn't sold in 90 days

Tools: sift_matchWorks with Claude Code

Join your stock list to your sales export on the SKU, then count the products still on the shelf with no sale in the last 90 days, including ones that never sold, and add up their stock value. In the test files, that is 6 products holding 1,427.00 of stock.

Ask your agent

With Sift connected (setup takes three steps), paste this and swap in your own paths.

Use Sift to match /path/to/stock_on_hand.csv on sku to /path/to/stock_sales.csv on sku, as of 2026-11-30. How many products with qty_on_hand above 0 have had no sale in the last 90 days, including ones that never sold, and what is their stock_value? How many never sold at all?

What Sift sends back

Products with a sale on file9 of 12
In stock, no sale in 90 days6, worth 1,427.00
of which never sold3, worth 275.00
Sales for a SKU not on the stock list1

One slow product has a blank stock value. It is counted, left out of the total, and Sift says so. It is never treated as 0.

"No sale in 90 days" means no sale from 1 September to the as-of date. A sale exactly 90 days back still counts as recent.

What to do next

Questions

Does a product that never sold count?
Yes. A product with no sales at all has nothing in the last 90 days, so it is in the 6. Sift also counts it on its own: 3 here.
What if a product sold many times?
It is still one product. Sift checks whether any of its sales falls in the last 90 days, and says how many products have several sales rows.
Does the agent see my products or sales?
No. Sift reads both files on your machine and sends back counts and totals, not rows.

Any two lists that share a code work the same way: invoices against payments, seats against logins, bookings against check-ins.

More guides

Guide Find software licences nobody uses Guide Find unpaid invoices: match invoices to payments Guide Change prices across a list, with a dry run and an undo