Prerequisites

  • You'll need a valid Progressier subscription and have completed the onboarding

  • You'll need a Bubble app on the Personal plan or higher

  • Follow the instructions in this article to connect your Bubble data with push subscriptions.

Install the official Progressier plugin

  1. Go to your Bubble dashboard, click on Plugins in the menu, and click on Add plugins.

  2. Search for Progressier, choose Progressier (Official), click Install, and then Done.

  3. Go to Progressier > My PWA > API Key and copy the value you find there. Then paste it in your Bubble dashboard after the word Bearer (why?)

Use the API in a workflow

Now that you've initialized the connection with Bubble, you can use Progressier in a workflow.

Select Insert dynamic data to use your own user data. You can now trigger push notifications as part of any workflow!

API Fields

title required

The title of the push notification, up to 50 characters. This typically identifies the sender of the notification, i.e. you or one of your users depending on the purpose of the notification.

body required

The main message of the push notification, up to 100 characters. Avoid repeating your app name or what you already set in title. It's generally a good idea to display a text preview of the content users will see when they click the notification.

url required

The URL where users will be taken when they open the push notification.

email required

The email of the user to notify. In most cases, you'll want to use Insert dynamic data > Current's User email.

icon optional

The URL of an icon representing the sender of the notification. If not specified, no icon will be used.

badge optional

The URL of a monochrome badge that replaces the Chrome icon on Android. If not specified, we'll use the badge that was created when you uploaded your logo. You can preview or change it at Push Composer > Images > App Badge.

image optional

The URL of a large image accompanying the push notification. Use this field to show an image preview of the content the user will see when they open the notification. If not specified, no image will be used.

campaigns optional

An array of strings that categorize the purpose, recipients, or timing of the notification. All notifications with the same campaign name will see their stats grouped together. This is useful to evaluate the performance of push marketing campaigns or individual notifications sent on an ongoing basis. There's no need to create campaigns before your API call. Each campaign in your array will automatically be created in your dashboard if it doesn't already exist. Users cannot see your campaigns.

Did this answer your question?