Tutorial

How to Create Custom Notifications for Your Application

A step-by-step guide to setting up custom in-app notifications in Openkoda that alert users when a claim is assigned to them.

Custom Notifications for Insurance Application

The in-app notifications feature of Openkoda helps insurance professionals stay informed about critical updates in real time, reducing delays, improving collaboration, and streamlining workflows.

For instance, in a policy management application, timely notifications can alert agents to updates or approvals, ensuring smooth processing.

Follow the steps below to create custom notifications in Openkoda, or watch our video tutorial:

Step 1: Assign a Claim to a Specific User

custom notifications
custom notifications

Start by entering the claims table in Openkoda.

custom notifications
custom notifications

It's a centralized feature where claims are assigned to the person responsible for handling them.

We click edit and assign a claim to a specific user who is responsible for it.

Next, we'll implement a custom event that alerts users when a claim is delegated to them.

Step 2: Add Custom Events

how to make custom nofitications
how to make custom nofitications

In Openkoda, every data table comes with pre-configured custom events.

These events track critical changes, such as creating, modifying, or deleting records.

For this tutorial, we'll focus on the Modification event, which will send notifications when a user is assigned to a claim.

Step 3: Write Short Server-Side Script

customizable notifications
customizable notifications

Next, we create a server-side script called "claim-update-notification".

The role of the script is the following:

  • Defines the content of the notification message
  • Identifies the recipient, specifically, the user assigned to the claim.

Step 4: Set Up the Event Listener

how to make custom nofitications
how to make custom nofitications

Once the script is ready, we configure an event listener.

This listener monitors changes to the claim's "assignedTo" attribute and triggers the custom notification whenever an update occurs.

Step 5: Test the Notification System

custom alerts
custom alerts

To demonstrate the impact of this feature, we compare the system's behavior before and after implementing custom notifications.

custom notifications
custom notifications

Before: The user Patrick Stewart has no notifications.

what is custom notification in message
what is custom notification in message

Action: Update the claim by changing its status and assigning it to Patrick.

what is custom app notification
what is custom app notification

After: The system now generates a notification for Patrick, ensuring they are immediately informed about the new assignment.

All in-app notifications are conveniently accessible within your Openkoda account.

Custom notifications foster collaboration and transparency. By keeping everyone informed, you enable your team to respond quickly to updates, enhancing overall business agility and service quality.

Custom Notifications with Openkoda

Custom notifications are a simple yet powerful way to improve communication within your organization. With Openkoda, setting up these notifications is seamless and flexible, allowing you to address changes in real-time without the need for manual updates.

Learn more about Openkoda features.

Openkoda's innovative tools are designed to streamline operations and provide practical solutions for insurance companies.

Book a personal demo today to see how Openkoda can support your business needs and drive efficiency.

See Openkoda in your context

Book a live, personalized demo with our product team - tell us your use case and see the platform work with your data. No commitment.