Trigger Push Notification Action

Using this action, you can trigger the push notification when an event occurs in your app. For example, sending the push notification to the post creator when someone comments on a post.

Adding Trigger Push Notification action


Before you add this action, you must have a document reference of the receiver (user to whom you would like to send the notification. Learn how to retrieve a document reference of the user.

Follow the steps below to add this action to any widget.

  1. Select the Widget (e.g., IconButton, Button, etc.) on which you want to add the action.

  2. Select Actions from the Properties panel (the right menu), and click Open. This will open an Action Flow Editor in a new popup window.

    1. Click on the + Add Action.

    2. On the right side, search and select the Trigger Push Notification action.

    3. To set who should receive the push notification, set the Audience to Single Recipient or Multiple Recipient.

      • If you want to send a notification to a single user, set it to 'Single Recipient'. For example, sending a notification only to the group creator when someone joins the group.

      • If you want to send a notification to multiple users, set it to 'Multiple Recipients'. For example, sending a notification to all group members when someone joins the group.

    4. Set the Source of user document reference (e.g., app state variable or Firestore document).

    5. Further options are available based on the selected source.

    6. To set the specific notification title text, enter the Notification Title.

    7. You can set the Notification Text from a variable.

    8. Optional: Open the Notification Image section to set the image that you want to appear in the notification.

    9. Turn on the Deliver with Sound if you want to send a notification with the user's default sound/vibration.

    10. To set which page to open when a user taps the notification, set the Initial Page to the page you would like to open. You can also pass on the parameters if page requests.

Last Updated Date: October 2, 2023

Last updated