# Notifications

## Introduction

Notifications to beneficiaries and administrators are a must, especially when there are multiple stages of a delivery chain, usually with long time intervals between the different stages. Beneficiaries must be notified of their enrollment status, entitlements, payouts, exits, etc. Multiple channels such as SMS, email, and messaging apps can be used for notifications.

OpenG2P provides configuration of email, SMS, and Fast2SMS notifications in a few simple steps. Depending on the implementation needs of a program, notifications can be triggered for specific events in the delivery chain.

The figure below shows example notifications configured for two events - enrolling in the program and sending OTP.

<figure><img src="https://3034178245-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJZcdob2emEcLMvLyIxqT%2Fuploads%2FvMM7gdK5FBogfloC3aZ3%2Fnotification-events.png?alt=media&#x26;token=4c305acf-39d9-4c83-9d0f-4e5188b568cc" alt=""><figcaption></figcaption></figure>

## Notification Manager

OpenG2P manages notifications via Notification Managers. Each program has at least one Notification Manager configured. The platform defines a different Notification Manager for each type of notification - SMS, email, Fast2SMS. These are the most commonly used Notification Managers:

* SMS Notification Manager
* Email Notification Manager
* Fast2SMS

OpenG2P uses the in-built [Qweb Templates](https://www.odoo.com/documentation/16.0/developer/reference/frontend/qweb.html) and [Inline Templates](https://apps.odoo.com/apps/modules/10.0/mail_inline_css/) for configuring the HTML pages and fragments. Notifications are sent based on the event and application configurations.

<figure><img src="https://3034178245-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJZcdob2emEcLMvLyIxqT%2Fuploads%2Fbl1DFvM6JWyqi53C9WK4%2Fnotification-template.png?alt=media&#x26;token=e4585ab9-29fe-4e5e-a2d1-2be52f0f2d1c" alt=""><figcaption></figcaption></figure>

The two steps to configure the notifications are:

1. The program administrator must create at least one Notification Manager for each Notification Manager type required.&#x20;
2. After the Notification Manager is created, the Program administrator adds the Notification Manager to the program.&#x20;

## Send notifications

Sending the notifications is a one-click operation. Based on the state of the program - enrolment, entitlement, payment, etc. - the corresponding notification is sent by the Notification Manager types configured for the program.

## Related user guides

:notebook\_with\_decorative\_cover:[Create Notification Manager Types](https://docs.openg2p.org/pbms/previous-generation/functionality/notifications/user-guides/create-notification-manager-types)

:notebook\_with\_decorative\_cover:[Create Notification Manager under Program](https://docs.openg2p.org/pbms/previous-generation/functionality/notifications/user-guides/configure-notification-manager)

:notebook\_with\_decorative\_cover:[Send Notifications to Individual Registrants](https://docs.openg2p.org/pbms/previous-generation/functionality/notifications/user-guides/send-notifications-to-individual-registrants)
