We have a Flutter project with Firebase setup we would like to create a Firebase cloud function with node js that perform the following:
Every 27th of any month check the subscription date from the subscription collection. And create a new document in invoices collection then finally send an email & FCM with a payment URL.