hello. you could use the Firebase integration that AG provides out-of-the-box to achieve your goal. This post may be help as well;
PS. Reference scheduling: you might want to implement in the global canvas page logic; you would have to periodically (how often this is your design choice) test against the scheduling condition trigger.