Add to Claude

Guides · Beyond customer lists

Find gym or clinic members with no visit in 30 days

Tools: sift_match, sift_prepare_importWorks with Claude Code

Match the members list to the visits export on the member ID, then count the Active members with no visit in the last 30 days, and write them to a file. In the test files, that is 7 of 13 Active members, paying 254.98 a month between them. 2 of them have never visited.

Ask your agent

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

Use Sift to match /path/to/members.csv on member_id to /path/to/visits.csv on member_id, as of 2026-11-01. How many Active members have no visit in the last 30 days, how many never visited, and what is their monthly_fee worth? Then write those members to a file, leaving out anyone who visited in the last 30 days or isn't Active.

What Sift sends back

Members, of them Active16, 13
Members with at least one visit13
Visits for someone not on the list1 member ID
Active, no visit in 30 days7, paying 254.98 a month (average 36.43)
of which never visited2
The file7 members, each row exactly as it was

"In the last 30 days" means 0 to 30 days before the date you give. A visit on 2026-10-02 counts; one on 2026-10-01 doesn't. One visit is dated 31/09/2026, which isn't a real day: Sift says so, and doesn't count it as a visit.

How the file is written

Sift writes the list with sift_prepare_import, the tool it uses to hold rows back before an import. Here it holds back the 9 members who visited in the last 30 days or aren't Active, each with a reason, and writes the other 7 to a file it calls ready. Your agent gets the counts and row numbers, not the rows.

What to do next

Questions

What about members with lots of visits?
Each member counts once. Sift says when a member has several visit rows, and a member counts as visited if any one of them is in the last 30 days.
Can I use a different window, like 60 days?
Yes. The condition takes any number of days before the date you give. It can't look forward, to visits booked for next month.
Does my agent see the members' details?
No. Sift reads the files on your machine and hands back counts and row numbers. The list file stays on your machine.

More guides

Guide Find Active accounts that stopped ordering Guide Put a number on revenue at stake from stalled accounts Guide Lapsed memberships: who didn't renew in the last 30 days