These “raw” notifications are designed to be used in rules, so this is pretty easy. You need to create a virtual item - ie one that is not linked to a channel. You an then write a rule that receives these raw notifications, filters them as you like, and then updates the virtual item.