Channels & ProvidersMobile Push
Firebase Cloud Messaging
Configure Firebase Cloud Messaging in Notiflows
Firebase Cloud Messaging (FCM) delivers push notifications to Android, iOS, and web applications.
Configuration
To create a mobile push channel with FCM, configure the following:
| Field | Required | Description |
|---|---|---|
| Project ID | Yes | Your Firebase project ID |
| Service Account JSON | Yes | Full contents of your service account JSON file |
Prerequisites
Before configuring FCM in Notiflows:
- A Firebase project
- Service account credentials (JSON file)
Generating Service Account Credentials
- Go to the Firebase Console
- Select your project
- Click the gear icon > Project Settings
- Go to the Service Accounts tab
- Click Generate New Private Key
- Download and securely store the JSON file
Setup in Notiflows
- Navigate to Channels in your project
- Click Create Channel
- Select Mobile Push as the channel type
- Select Firebase Cloud Messaging as the provider
- Enter your Project ID
- Paste the full contents of your service account JSON
- Save the channel
Templates
Mobile push templates use plaintext and include:
- Title - Notification title
- Body - Notification body text
Use Liquid templating for dynamic content:
Title: {{ data.title }}
Body: {{ data.body }}Available variable contexts:
recipient.*- Recipient user dataactor.*- User who triggered the notificationdata.*- Custom payload passed when triggering the notiflow