To me, it sounds like a Change Stream would be ideal here! Here's the documentation: docs.mongodb.com/manual/changeStre...
MongoDB's official blog has a nice little introduction post with code samples too. :)
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.