Skip to main content

Google Chrome (v2)

With Google Chrome modules in Make, you can send a notification in your Google Chrome account.

To use the Google Chrome modules, you must have a Google account and set up a Google Chrome extension with notifications allowed. For more information, review the Get Started with Chrome Extensions documentation as well as the information on setting up a Firebase Cloud Messaging client app.

Refer to the Google Chrome API documentation and the Firecloud Base Messaging API documentation for a list of available endpoints.

Connect Google Chrome to Make

To establish the connection in Make:

  1. Log in to your Make account, add a Google Chrome module to your scenario, and click Create a connection.

  2. Optional: In the Connection name field, enter a name for the connection.

  3. Optional: Switch on the Show advanced settings toggle and enter your Google Cloud Console project client credentials. For more information, see the Create and configure a Google Cloud Console project for Google Chrome section below.

  4. Click Sign in with Google.

  5. If prompted, authenticate your account and confirm access.

You have successfully established the connection. You can now edit your scenario and add more modules. If your connection requires reauthorization at any point, follow the connection renewal steps here.

To connect to Make using your own client credentials, you can create and configure a project in the Google Cloud Console.

Create a Google Cloud Console project for Google Chrome

To create a Google Cloud Console project:

  1. Log in to the Google Cloud Console using your Google credentials.

  2. In the top menu, click Select a project > New project.

  3. Enter a Project name and select the Location for your project.

  4. Click Create.

  5. In the top menu, check if your new project is selected in the Select a project dropdown. If not, select the project you just created.

Enable APIs for Google Chrome

To enable the required APIs:

  1. Open the left navigation menu and go to APIs & Services > Library.

  2. Search for and enable the following APIs: Firebase Management API and Firebase Cloud Messaging API

Create your Google Chrome client credentials

To create your client credentials:

  1. In the left sidebar, click Credentials.

  2. Click + Create Credentials > OAuth client ID.

  3. In the Application type dropdown, select Web application.

  4. Update the Name of your OAuth client. This will help you identify it in the console.

  5. In the Authorized redirect URIs section, click + Add URI and enter the following redirect URI: https://www.make.com/oauth/cb/chrome

  6. Copy your Client ID and Client secret values and store them in a safe place.

You will use these values in the Client ID and Client Secret fields in Make.

Build Google Chrome Scenarios

After connecting the app, you can perform the following action:

Actions

Sends a notification to the browser

Connection

Establish a connection to your Google Chrome account.

Project ID

Select the project ID.

Recipient

Select the recipient category. Token corresponds to a single recipient or a group of recipients specified by the FCM registration token of a recipient. Topic corresponds to the FCM topic that sends the notification to all recipients subscribed to the topic.

Title

Enter the title of the notification.

Body

Enter the body of the notification.

Icon URL

Enter the URL of an icon to be displayed as part of the notification.

Priority

Set the relative priority for this notification.

Priority is an indication of how much of the user's valuable attention should be consumed by this notification. Low-priority notifications may be hidden from the user in certain situations, while the user might be interrupted for a higher-priority notification. The system will determine how to interpret this priority when presenting the notification. Low-priority notifications may not be supported for some versions.

Collapse Key

Enter the collapse key. This is a string that groups notifications and prevents similar multiple notifications from occurring. Corresponds to the Topic Web Push header.

Disable the auto-dismiss of notifications

Select Yes or No. If enabled (yes), the notification will be displayed until it is closed by clicking the Close button.

URL

Enter the URL (including the https prefix) that will open in a new tab when the user clicks the notification.

Validate Only

Select Yes, No, or Empty. Select Yes to test the request without delivering the message.