# Create SMS Notification Manager

## Description

This guide will provide the steps to create an SMS Notification Manager.

## Pre-requisites

The user should have a Program Administrator role assigned.

## Steps

1. Navigate to *Programs* using the menu bar.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FzXVVIZXm9UmUIvBK7wta%2Fhome-page-openg2p.png?alt=media&#x26;token=02ae1f1d-f507-4587-a4ae-99b1c2fadb71" alt=""><figcaption></figcaption></figure>

2. Click on *Configuration* and then on *SMS Notification Manager.*

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FkezChRHOQ3Qik4yyhr1G%2Fsms-notification.png?alt=media&#x26;token=5e7f1b8b-d7c0-4621-a108-ec670808b6ff" alt=""><figcaption></figcaption></figure>

3. Click the *Create* button to view the *SMS Notification Manager* creation page.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FHzJQCGRUYDjrD20wQqYw%2Fsms-create.PNG?alt=media&#x26;token=d9354ec4-06e4-4106-b2c2-1c9fdb14f63a" alt=""><figcaption></figcaption></figure>

4. Enter *Name* and *Program* in the *SMS Notification Managers* view.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fgit-blob-082a50eb2fd4a83e5af9c40ec82b48cdde77ead7%2Fsms-template-name-and-program%20(2).png?alt=media" alt="" width="456"><figcaption></figcaption></figure>

4. The view allows the configuration of a template for each of these event types:

* *On Enrolled In Program Template*
* *On Cycle Started Template*
* *On Cycle Ended Template*
* *On Otp Send Template*
* *On Generate Voucher Template*

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2F73kTaPTzgRsSl9kaYGpc%2Fsms-template-event-types.PNG?alt=media&#x26;token=82c18dca-d75c-43c7-9525-17d100f0ca12" alt=""><figcaption></figcaption></figure>

There are two ways to configure a template for an event:

a. Use an existing template: Go to step#6

b. Create a new template: Go to step#7

6. Click on the dropdown button and select the template from the drop-down list. Go to step#9.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fo51A4XEh4YUxpByZM2l0%2Fselect-existing-template.png?alt=media&#x26;token=2e16ccf6-364f-455d-a62d-7495c895879f" alt=""><figcaption></figcaption></figure>

7. Enter a name for the new template. When a non-existing template name is entered, the option *Create and Edit* appears. Click on this option\_.\_

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FbiBMvfYxH6kTn4RXtle1%2Fcreate-new-template.png?alt=media&#x26;token=6fc6df80-cf46-4a0f-ab89-9e55f71c2bfc" alt=""><figcaption></figcaption></figure>

8. A new dialogue box appears. Enter the details and click on *Save.*

* *SMS Template*: Name of the template
* *Applies to*: Applicable context; For example, the option *Contact* sends the OTP to the beneficiary contact number
* *Language:* Language for the content
* *Content:* Content written using the Odoo platform's [QWeb](https://www.odoo.com/documentation/16.0/developer/reference/frontend/qweb.html) templating engine

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2FpSiTR0Hy6LzS3mkIsA0p%2Fenter-sms-template-details.PNG?alt=media&#x26;token=13b47913-7cae-4396-8707-e14c1558e268" alt=""><figcaption></figcaption></figure>

9. Click on *Save*.

<figure><img src="https://1098398587-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYPoyCjtgyun9HOF3pnQT%2Fuploads%2Fty2oAtmzB3W7ubK8TVO0%2Fsave-sms-notification-manager.png?alt=media&#x26;token=d0d26d5e-5bca-468c-9c41-192c19ce3136" alt=""><figcaption></figcaption></figure>
