Add to Claude

Guides · For agents

Put a number on revenue at stake from stalled accounts

Tools: sift_match with a sumWorks with Claude Code

Counting stalled accounts is half the story. Sift can also add up a column over the rows it counts, so you can say how much order value sits with the accounts that stopped.

Ask your agent

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

Use Sift to match /path/to/crm_companies.csv on customer_id to /path/to/product_accounts.csv on account_id, counting product rows. For Active companies with no order in 90 days, sum total_value. Do the same for companies marked Lost that ordered in the last 90 days.

What Sift sends back

Active, no order in 90 days or ever64 accounts
Their lifetime order value345,377.56
Of those, accounts that had ordered44, average 7,849.49
Lost in the CRM, but ordered in 90 days39 accounts
Their lifetime order value247,532.91, average 6,347.00

From total_value in the fake product file. Blanks and values that aren't numbers are skipped and counted as skipped, never read as 0.

What to do next

Questions

Which side does the summed column come from?
The side whose rows are counted. Here the rows are product accounts, so total_value comes from the product file.
Can it measure time as well as value?
Yes. It can count the days between two dates in a row, such as sign-up to first order. In the test files the median is 130 days.

One file, no agent? Clean a file by hand in your browser, with nothing uploaded.

More guides for agents

Guide Audit a CRM export with your agent Guide Find Active accounts that stopped ordering Guide Check who you're emailing that you shouldn't