Posted: 2 Jul 2020 10:59 EDT Last activity: 20 Nov 2020 3:32 EST
I have a scenario where i have to generate and verify the one-time-password(OTP) by providing my mobile number.like what we are getting for payment confirmation OTP in real time.can anyone please say how to configure and proceed further.
I consider that you want to send SMS to the mobile number from Pega.
Yes, We can achieve that in Pega. But for sending OTPs, you need an external service provider like Twillio, MSG91, etc to send SMS to the respective number.
Give a try to https://www.twilio.com/ as they might provide free SMS credits to try their service. Once you register to the provider, they might provide an API key, an endpoint, and SDKs for integration.
You can create an Activity rule and connect REST rule in Pega to hit their service endpoint with required Params such as phone number, API key as mentioned by the provider document.
I hope I helped you a little. Let me know if you have any more queries!
Posted: 2 months ago
Updated: 2 months ago
Posted: 19 Nov 2020 20:10 EST Updated: 20 Nov 2020 3:32 EST
It is not mandatory to create a separate ruleset for this. But creating separate ruleset for each integration helps in improving modularity and maintenance of the application, which is also suggested by Pega.
Let me know if you have any questions about the above.