...
/whatsapp-webhook/messages
Whitelist above endpoint (ex:- update for QA - https://github.com/egovernments/eGov-infraOps/blob/master/helm/environments/qa.yaml#L298)
Configure above endpoint with whatsapp provider for following things
Missed Call alerts forwarding
User sent messages forwarding
Secure this endpoint with necessary security policy.(Presently allow request from certain IP addresses(203.212.70.58, valuefirst provider IP))
...
ex:-https://github.com/egovernments/eGov-infraOps/blob/master/helm/environments/dev-secrets.yaml
The default state tenantId used in egov-user-chatbot is “pb“, if different tenantId required then add following in environment yml.
egov-user-chatbot:
egov-state-level-tenant-id: "pg"
ex:- https://github.com/egovernments/eGov-infraOps/blob/master/helm/environments/uat.yaml#L315
Override following environment variables
kafka-topics-partition-count: suitable value
kafka-topics-replication-factor: suitable value
kafka-consumer-poll-ms: suitable value
kafka-producer-linger-ms: suitable value
contact-card-whatsapp-number: configured WA number
contact-card-whatsapp-name: "mSeva Punjab"
valuefirst-whatsapp-number: configured WA number
Valuefirst-notification-assigned-templateid: fill correct template id registered for WA number here
Valuefirst-notification-resolved-templateid: fill correct template id registered for WA number here
valuefirst-notification-rejected-templateid: fill correct template id registered for WA number here
valuefirst-notification-reassigned-templateid: fill correct template id registered for WA number here
valuefirst-notification-commented-templateid: fill correct template id registered for WA number here
valuefirst-notification-welcome-templateid: fill correct template id registered for WA number here
Valuefirst-notification-root-templateid: fill correct template id registered for WA number here
valuefirst-send-message-url:"https://api.myvaluefirst.com/psms/servlet/psms.JsonEservice"
...
https://github.com/egovernments/configs/blob/master/egov-indexer/chatbot-telemetry.yaml
Localisations:-
https://docs.google.com/document/d/1aD5MRo3WT4wlIs-JY5DRVH-6ALf-31dI60MYQOC_Fsk/edit?usp=sharing
All localisation codes for all defined PGR complaint categories should be present in PGR localisations with prefix “pgr.complaint.category.” .
View file | ||
---|---|---|
|
MDMS:
https://github.com/egovernments/egov-mdms-data/blob/QA/data/pb/RAINMAKER-PGR/ServiceDefs.json
Add order key in complaints which we want to show
https://github.com/egovernments/egov-mdms-data/blob/QA/data/pb/tenant/citymodule.json