Guides · For agents
Find wholesale customers whose orders dropped off
Join your trade account list to your orders export on the account ID, then count the trade accounts that have ordered before but placed nothing in the last 60 days, and add up what they have spent with you. In the test files, that is 5 accounts that have spent 11,815.75 between them.
Ask your agent
With Sift connected (setup takes three steps), paste this and swap in your own paths.
Use Sift to match /path/to/wholesale_accounts.csv on account_id to /path/to/wholesale_orders.csv on account_id, as of 2026-11-30. How many accounts with account_type trade have ordered before but have no order_date in the last 60 days, and what is their total_spent? How many trade accounts have never ordered?
What Sift sends back
One of the 5 has a blank total spent. It is counted, left out of the total, and Sift says so. An order exactly 60 days back still counts as recent.
What to do next
- Call the 5 before they settle with another supplier. Start with the biggest past spend.
- The account that never ordered is a different job: opened but never started. It is counted on its own, not in the 5.
- Weekly buyers might need 30 days, seasonal ones 90. It is one number in the prompt.
- Tracking accounts by stage in a CRM? See find Active accounts that stopped ordering.
Questions
From a total spent column on the account list, which many shop and wholesale exports include. Sift adds up a column on the side it counts, so an account with many orders is never added twice.
Not for this question. A total has to come from the file being counted, here the accounts, so add a total spent column to the account list.
No. Sift reads both files on your machine and sends back counts and totals, not rows.
For CRM pipelines, the same match counts Active accounts with no recent order and the revenue at stake.