Send mobile push to users of your app
An automation’s Send mobile push action uses your project’s connected Firebase Cloud Messaging app and registered customer device tokens. Staff notifications in the AppGram app use a separate channel.
An automation’s Send mobile push action uses your project’s connected Firebase Cloud Messaging app and registered customer device tokens. Staff notifications in the AppGram app use a separate channel.
Connect the app
Use an authorized server integration with the project push configuration API. Paths below are relative to the AppGram API base:
GET /api/v1/projects/{project_id}/push-configchecks the current sanitized configuration.PUT /api/v1/projects/{project_id}/push-configconnects or replaces it usingfcm_project_id,fcm_credentials_jsonand optionalenabled.DELETE /api/v1/projects/{project_id}/push-configdisconnects it.
Viewing requires integration view access; connecting or disconnecting requires integration management access. Keep service-account credentials and API keys on your server. Use the Firebase project that issued your app’s device tokens.
Register devices and target a test
Your app obtains a device token after the user grants notification permission and sends it to your own authenticated backend. From that trusted server, register it through POST /api/v1/projects/{project_id}/devices with token, optional platform and, for individual targeting, external_user_id. The project comes from the authenticated path. Device registration requires integration management access; do not expose its privileged key in your app. Use the same stable external user identifier in your customer events and automation inputs.
Configure Send mobile push with the intended project, title, body and audience. A user audience targets that person’s registered devices; broadcast targets the project audience, including registered anonymous devices. Test with a controlled user and device before any broadcast.
A successful action is not proof that a person saw a notification. Inspect recipients, succeeded and failed device counts, token validity, platform permission and Firebase configuration. Inactive or rejected tokens cannot receive delivery. Do not substitute a staff member ID for your app’s external user ID.
For a webhook-based support notification, see support reply push. For execution safety, see automation testing.
Inspect the action and its run
In the builder select Send mobile push. Choose Audience → User for one external customer ID, or Broadcast for all registered devices in the project. Review title, body, optional data and the project ID. In a lifecycle flow, an empty external user ID uses the flow’s person; elsewhere provide the intended external ID. Broadcast does not become an individual send because an external user ID is still present in the form.
After a controlled real execution, open Runs, select the run and expand the push step’s Output. The device counts describe provider delivery attempts. sent: true does not prove display, opening or user engagement. The screenshots use intercepted fictional data and send no notifications.

Example workspace in light mode. Sample data; follow the numbered callouts.

Example workspace in light mode. Sample data; follow the numbered callouts.

Example workspace in light mode. Sample data; follow the numbered callouts.
Was this article helpful?