avniproject / integration-service

Service for integration Avni with other systems
GNU Affero General Public License v3.0
0 stars 2 forks source link

LAHI message integration #46

Closed vinayvenu closed 1 year ago

vinayvenu commented 2 years ago

Objective

By the end of this epic, Avni should be able to send HSM templated Whatsapp messages to Glific. These messages can be configured to run at the end of filling up a form, at scheduled times or based on a time that is derived from a form field.

Top level solution

There will be a new module - AvniMessagingService. This service will take in requests to send a message to a beneficiary at a specific point in time. It will also sync HSM messages from Glific, and provide mechanisms to store rules that map parameters in an HSM message to variables available in Avni.

Sample API for AvniMessagingService

API in AvniService

Data model available here - https://dbdiagram.io/d/6228ad1661d06e6eadcf53d1"

vinayvenu commented 1 year ago

Duplicate