I have a collection of responses sent from the application to different users. Each response has a user_id and the keen created time-stamp.
I want to run a regular job that returns the user_ids for those users where their last response was greater than seven days (or whatever) ago.
I can't just filter on the timestamp GTE seven days ago because a user can have multiple responses over a period of time. All I want to know is when was the last response by users.
I can't use the extract latest events because that appears to be across the whole collection. The last 10 events, in this case, could all have been by one user.
I want to know for each user, the latest event that is greater than seven days ago.