# Real-Time Notifications - 0 WU

> Plugin page:[ ](https://bubble.io/plugin/user-online-detector---0-wu-1717331641063x165919281217011700)
>
> <https://bubble.io/plugin/real-time-notifications---0-wu-1717080344608x153376187138703360>

## Description

Introducing Real-Time Notifications - plugin that will allow you send notifications from user to user without any need to create new database entities and without spending workload units.&#x20;

With this plugin you can:&#x20;

* Notify users when someone logs in or performs specific actions (e.g., comments, edits).
* Inform users when new content is published (e.g., blog posts, articles, videos).
* Display reminders for upcoming events, meetings, or deadlines in real-time

## Features

* **No Workload Unit Consumption**: The solution does not use workload units to perform user notifications.
* **Real-Time Notifications:** When event was triggered, users will see the notification on their screen in real-time.
* **Hassle-free Solution:** If you only need to show something on user's screen once, you don't need to store it in the database or perform any searches to get it to the screen.
* **Enhanced User Experience**: Gain more opportunities to make the application more interactive for users by leveraging real-time notifications.
* **Customizable**: Easily configure the groups of users that should receive the notifications&#x20;

In the instruction below we'll set up the plugin to send a real-time notification to all users when someone logs in.&#x20;

## How to Use

1. **Install the plugin:** Search for the plugin in the plugin list and install it in your application.
2. **Add "User Connector" element:** You need to place this element on all pages, where you need to track actions and display notifications.

<figure><img src="/files/fdIemAEotI7gpJZvForR" alt=""><figcaption></figcaption></figure>

3. **Add users to the group that will receive notifications**: Create a workflow with "Join room" action, for example, on page load. This way the users will be added to the group that will receive the notifications. Fill the field "Room Name" with the name that will refer to the group of users you'll be notifying.

<figure><img src="/files/uokUgUWaVmXXhGK6dZ61" alt=""><figcaption></figcaption></figure>

4. **Add message transmitter that will capture the notifications**: Add "Message Transmitter" element to the pages where you'll be displaying the notifications, and specify the room name - the transmitter will be receiving the messages only for the room specified.&#x20;

<figure><img src="/files/dGaglII26eLY2Dx17104" alt=""><figcaption></figcaption></figure>

5. **Set up the notification sending**: Upon particular trigger, call "Send a message" action, passing the room name and message in the fields of the action.

<figure><img src="/files/siPntsN1eplB7lGCNgE2" alt=""><figcaption></figcaption></figure>

6. **Display the notification**: Configure the notification to your preference. For example, you can create a workflow to trigger when Message Transmitter's value changed, and display Message Transmitter's value in an alert.&#x20;

<figure><img src="/files/7ns8JNYmVT9QqF2n8Guj" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thesimplelabs.com/plugins/real-time-notifications-0-wu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
