Enabling SMS Notifications
With microservices and SAP BTP Extensions integration, you can quickly and easily enable the sending of SMS messages to customers when business-relevant updates are detected.
Prerequisites
Context
Sending of SMS notifications to customers is illustrated in the following diagram:
As can be seen from the diagram, the process involves several steps:
- Financial Services Accelerator triggers a notification event call to SAP BTP Extensions about a new message that has been created in the portal for a customer with the specified customer ID. The notification event in the example provided is activated when a policy application or a claim request is created, or a policy is issued.
- When SAP BTP Extensions that runs Kyma receives the call, the lambda function or microservice that handles SMS notifications, sends in return a web service call to SAP Commerce database with the request for the customer's phone number.
- If a customer has provided the phone number and his consent for SMS notifications, SAP Commerce sends the phone number from the database back to SAP Commerce. Otherwise, the action is aborted.
- In case a phone number has been received, SAP BTP Extensions, Kyma runtime calls the SMS Gateway.
- The SMS Gateway then sends the SMS notification to the customer.
Notification Events
The following notification events are enabled in Financial Services Accelerator:
- Customer Registration
- Contact an Agent
- Order Confirmation
- Claim Confirmation
- Quote Referred
- User Rejected
- Order Pending
- Document Received
For all these notification events (except for documents), the system creates a corresponding site message that a customer can preview in the Inbox section of the My Account area.
To enable the process for SMS notifications over SAP BTP Extensions , you must have all the systems properly set up. In addition to that, you must:
- configure a notification event in Backoffice
- register a lambda function in SAP BTP Extensions, Kyma runtime