How to trigger firestore cloud functions on update of field value?
问题 I want to send email to user on update of status field of user to value (true) using firestore and cloud functions. My case : I have a users(collections) which has more documents of userId(documents) and each document contains field and value. One of the field is status: true | false (boolean). I want to send email to that user if status of that user change to true using cloud functions and sendgrid api. users - dOpjjsjssdsk2121j131 - id : dOpjjsjssdsk2121j131 - status : false -