I have a system or device that sends data to the database, when that data arrives I have a function that executes them and sends other data in response to the database. the question is, how can I make that function run always without having to open it in a browser and without needing a user to do it? that I do to detect routes through googlemaps api I'm working with angular, firebase and the googlemaps API