notiflowsDocs
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:

FieldRequiredDescription
Project IDYesYour Firebase project ID
Service Account JSONYesFull contents of your service account JSON file

Prerequisites

Before configuring FCM in Notiflows:

  1. A Firebase project
  2. Service account credentials (JSON file)

Generating Service Account Credentials

  1. Go to the Firebase Console
  2. Select your project
  3. Click the gear icon > Project Settings
  4. Go to the Service Accounts tab
  5. Click Generate New Private Key
  6. Download and securely store the JSON file

Setup in Notiflows

  1. Navigate to Channels in your project
  2. Click Create Channel
  3. Select Mobile Push as the channel type
  4. Select Firebase Cloud Messaging as the provider
  5. Enter your Project ID
  6. Paste the full contents of your service account JSON
  7. 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 data
  • actor.* - User who triggered the notification
  • data.* - Custom payload passed when triggering the notiflow

On this page