Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

/whatsapp-webhook/messages

Secure this endpoint with necessary security policy.(Presently allow request from certain IP addresses(203.212.70.58, valuefirst provider IP))

Template message configration:

If we are using whatsapp server mobile number for the first time (configured new number), ask whatsapp provider to configure template messages mentioned on the sheet next for that number. The template ids provided by them needs to be used in environment variables mentioned in the next section.

View file
nametemplate_messages.xlsx

Builds

  • Frontend (refer the latest release builds if the build deployed after the release)

    • citizen:327-release-extended-feb-24-92a74490(QA)

    • Citizen:372-pgr-ui-enhancements-release-0718682e (UAT)

    • Citizen:842-punjab_citizen_specific_relase-c2ef700a (PROD)

...

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:-

...

-

...

  • All localisation codes for all defined PGR complaint categories should be present in PGR localisations with prefix “pgr.complaint.category. .

View file
nameWhatsapp localisations.docx

MDMS: