Is there a way to make an app that send data to a firebase database for example a string and then when the string is received by the firebase database a function is performe