Hi guys can someone point me in the right direction, i have a website based on company profiles which receive reviews/ratings from there customers, i want to alert the owner of that specific profile of a new review/rating anyone submits to there profile via a bell notification,
I have 2 separate database collections one for member profiles, and the 2nd collection for customers reviews.
Do i need to use a afterinsert() hook on the reviews collection? i’m quite confused how i would implement this?