Add to Claude

Guides · For agents

Find donors who gave last year but not this year

Tools: sift_matchWorks with Claude Code

Match your donations export to itself on the donor ID, set "today" to 31 December, then count the donors with a gift last year and none this year. In the test file, 6 of the 9 donors who gave in 2025 have given nothing in 2026, and their 2025 gifts add up to 725.00.

Ask your agent

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

Use Sift to match /path/to/donations_export.csv on donor_id to the same file on donor_id, as of 2026-12-31. Count the gifts dated last year (more than 364 and no more than 729 days before), and of those, the ones whose donor has no gift in the last 364 days. Give me donors as well as gifts, and the total of amount.

What Sift sends back

Donors who gave last year9, on 12 gifts worth 1,085.00
Gave last year, nothing this year6 donors
Their gifts last year9 gifts, 725.00

So 3 of last year's 9 donors have given again. One gift has a blank amount: the donor is counted, the gift is left out of the total, and Sift says so.

Sift's date checks look back from the as-of date. With it set to 31 December, "within 364 days" is exactly this calendar year, and "more than 364 but no more than 729 days" is exactly last year. Gifts on 1 January and 31 December 2025 count as last year. A gift on 31 December 2024 does not.

What to do next

Questions

Why match the file to itself?
So each gift can see every other gift from the same donor. Sift can then ask whether that donor has any gift this year. One export is enough.
Why set the date to 31 December?
Sift never uses today's clock, and its date checks only look back. Ending the window on the last day of the year makes this year and last year exact, and the count the same every time you run it.
Does the agent see donor names or amounts?
No. Sift reads the file on your machine and sends back counts and totals, not rows.

Any gap between two periods works the same way: members who renewed last year but not this year, or customers who stopped ordering.

More guides

Guide Find wholesale customers whose orders dropped off Guide See who signed up but didn't turn up Guide Find unpaid invoices: match invoices to payments