[COMMUNITY PROJECT] Desktop Push Notifications for AppSheet (Multi-App Support & Background Webhooks)

Hi everyone,

I wanted to share a project I’ve been working on to solve a common challenge: getting reliable, real-time desktop push notifications from AppSheet.

While emails and SMS are great, they aren’t always ideal for desktop users who need immediate alerts without checking their inbox.


The Inspiration & The Challenge

First off, huge credit to @Rifad for his pioneering work on this topic. His post and extension (Chrome Extension: Real-Time AppSheet Notifications) proved that it was possible to have notifications via a Chrome extension. His work was the starting point for my project, and I highly recommend checking out his original post.

However, in my specific use cases, I encountered a few limitations with the initial approach:

  • Reliability & Background State: The original solution often required the AppSheet tab to be active or open to receive notifications reliably. I needed alerts to come through even if the browser was minimized or closed (running in the background).
  • Multi-App Support: Managing notifications for multiple AppSheet applications simultaneously was difficult, as it relied on open tabs for routing.

The Solution: Matek AppSheet Notification Extension

Building on Rifad’s concept, I developed a new Chrome extension designed for reliability and multi-app environments.


Key Features:

  • :white_check_mark: 100% Reliable Push Notifications: Uses a service worker and a dedicated Firebase Cloud Function to ensure notifications are delivered even if the AppSheet tab is closed.
  • :office_building: Multi-App Support: Users can subscribe to notifications for multiple different AppSheet apps independently. The extension intelligently manages subscriptions based on the App ID.
  • :link: Deep Linking: Clicking a notification doesn’t just open the app’s homepage. You can configure your webhook to send a specific URL (url_clic), taking the user directly to the relevant view or record (e.g., a specific order detail).
  • :brain: Smart Tab Reuse: If the app is already open in a tab, clicking the notification will focus that tab and navigate within it, rather than opening a new duplicate tab.
  • :bell: Visual & Sound Controls: Includes options for dark mode and muting notification sounds.
  • :scroll: Local History: A built-in history log in the extension popup shows the last 50 notifications received.

How it Works (For Developers)

It works similarly to Rifad’s solution but with a simplified backend for better routing. You set up an Automation Bot in AppSheet that triggers a Webhook to a dedicated Cloud Function URL.

Webhook Example:

URL : https://sendnotificationtotopic-1087750934691.europe-west9.run.app

HTTP verb : POST

HTTP Content Type : JSON

{
  "title": "New Order Alert",
  "body": "Order n° <<[Order ID]>> needs approval.",
  "targetAppId": "YOUR_APP_ID_HERE",
  "icon": "https://link-to-your-icon.png",
  "url_clic": "https://www.appsheet.com/start/YOUR_APP_ID#view=OrderDetail&row=12345"
}

The extension handles the rest, routing the message only to users subscribed to that specific targetAppId.

:warning: Critical Parameters

  • title & body: The visible text content of your notification.
  • targetAppId (MANDATORY): This is the core of the system. It serves as the routing Topic (the message is sent ONLY to users subscribed to this specific ID).
  • url_clic (Optional): Enables “Deep Linking”. Allows redirecting the user to a specific view or record when clicking the notification (e.g., directly opening the details of an order to approve).
    Note: If not specified, clicking simply opens the app homepage. In both cases, the “Smart Click” feature reuses the existing tab if it is already open.
  • icon (Optional): The URL of an image (png/jpg) to customize the notification with your logo.

:locked: Security & Privacy

  • No personal data is collected.
  • History is stored locally only on the user’s browser.
  • Secure communication via HTTPS and the official Google FCM protocol.

Availability

The extension is currently published on the Chrome Web Store for free.

:backhand_index_pointing_right: Matek AppSheet Notification on Chrome Web Store

I hope this can be useful to others in the community looking for a robust desktop notification solution! Feel free to ask any questions or share your feedback.

Thanks again to Rifad for paving the way!

Note to moderators: I couldn’t post in Tips & Tricks due to permissions. Feel free to move this post to the appropriate category if needed.

14 Likes

Cool! Wouldn’t something like this be better in the Tips category? (Not a criticism; more of a suggestion so that more people can find it.)

1 Like

You’re absolutely right, but I wasn’t able to post it in the right place, hence my note:

Blockquote

Note to moderators: I couldn’t post in Tips & Tricks due to permissions. Feel free to move this post to the appropriate category if needed.

Blockquote

:wink:

3 Likes

Oops! Sorry I missed this. I hope the issue can be resolved soon. :slight_smile:

1 Like

If you hang out here a while, posting comments to other people’s post, you should be able to gain the capability you need to post to Tips and Tricks. I’m not sure how that aspect of the community works.

1 Like

Can you help me?

It worked perfectly on one computer.

On another computer, it gives this error shown in the image.

Hi @Jose_Arteaga ,

Request you to help @Mathieu_Matek to move his post in the ‘Tips and Tricks” section.

2 Likes

That is an excellent idea @Suvrutt_Gurjar ! I will do it right away.

4 Likes

Thank you very much @Jose_Arteaga

1 Like

Hi ThiagoNilbox

It is almost certainly a network restriction (Firewall, VPN, or Proxy) on that specific computer that is blocking the extension from reaching our Google Cloud notification server.

Correct Fix Steps:

  1. Disable and Re-enable: Go to chrome://extensions. Click the small toggle switch, wait a few seconds, and then click it again to turn it back ON. This forces the extension to restart.
  2. Check network restrictions: If the error comes back, it confirms a network blockage. Please ensure that the machine (especially if on a work VPN) allows outgoing HTTPS traffic to Google Cloud Run services.
  3. Reinstall: If step 1 doesn’t work, click “Remove” to uninstall, restart Chrome, and reinstall from the Store.
2 Likes

Thanks !

2 Likes

Beau travail @Mathieu_Matek ! :slight_smile:

1 Like

Merci beaucoup à celui qui m’a donné le virus @Aurelien :wink:

Update v1.22: Dynamic branding and UI improvements

Hi everyone,

I have released v1.22 of the notification extension. This update focuses on better visual integration with YOUR AppSheet apps and UI optimizations.

Changelog:

  • Dynamic Branding: The extension popup now automatically fetches the Favicon and Name of the active AppSheet app. This helps users identify the context immediately without third-party branding.
  • Status Indicator: Replaced static text badges with a status ring around the icon (Green = Connected, Red = Subscription required).
  • UI Compactness: The notification history is now moved to a collapsible drawer to save vertical space. I also compacted the item layout to display the App Name, and Timestamp on a single header line.

The update will be available on the Chrome Web Store in few days.
Let me know if you encounter any issues.

2 Likes

After the update, I’m not receiving notifications.

Hi @ThiagoNilbox

I don’t understand why…
Simply uninstall and reinstall the extension !

I did that, but it really stopped arriving. They don’t even show up in the history. And I can receive them from other sites.

I have encountered the exact same issue on my end.

The uninstall/reinstall process did completely fix it for me, but there is a specific step you need to follow:

  1. Please uninstall the extension, then make sure to close ALL Chrome tabs and completely shut down the browser.
  2. Once Chrome is fully closed, open it again and proceed with the reinstallation.

Let me know if that does the trick!

It’s still not resolved. I’ll check if something on my end is blocking the notification. The bot in the appsheet is working correctly.

Thanks for keeping me posted.

To reassure you, I actually developed a specific mini-app just to test this extension and its notification system.

I have run tests across various AppSheet applications and on different PCs, and I can confirm that everything is working 100% correctly on the extension side.

Since the bot is working, it definitely sounds like something local (browser settings, OS notification settings, or a firewall/antivirus) might be blocking the display.