node-red-contrib-firebase-messaging-advanced 1.0.0
A Node-Red node to send Firebase Cloud Messages (FCM)
node-red-contrib-firebase-messaging
A custom Node-RED node to send push notifications via Firebase Cloud Messaging (FCM) using a Service Account key.
Features
- Send FCM notifications via topics
- Accepts dynamic payloads
- Supports service account JSON or file path
- Works with Firebase Admin SDK
Usage
- Install via Node-RED Palette Manager or:
npm install node-red-contrib-firebase-messaging
Use case
Best way to use it by pasting the serviceAccountKey.json content and it will simply send the msg.payload as notification, so make sure to structure the payload according to google's policy. In this way it can be useful for all type of notifications.