It is possible to trigger cloud functions on write events, but I can\'t find any documentation for triggering after reading (eg, firebase.database().ref().once(\'value
There is no trigger for responding to client reads. It's assumed that apps will have massive amounts of reads, and having code run for each of those reads would be incredibly expensive. If you want to run some code when the client performs some action, have the client call an HTTPS function when that action should occur.