My Jom PAY Bot
In Malaysia, you can pay utitlities bills if you walk up to the payment counter and pay cash. There are other channels which you can make payments such as cheques (checks), online transfer, ATM fund transfer, etc. Recently there is this 'new' JomPay payment infrastructure. I thought it will be cool to build a payment chat bot using the JomPAY infrastructure.
What it does
My Jom PAY Chat Bot will be the new payment channel where customer can make bill payment thru chat bot. Currently, it has integration with FB Messenger. Integration with other chat channels will be carried out soon. The following shows biller code and other info required to make payment using JomPAY.
How I built it
I follow this resource to build the board.
Follow this link to create the bot's lambda.
Create a custom Bot
Sign in https://console.aws.amazon.com/lex/ to create a bot.
Create an Intent
Create Slot Types
Configure the Bot
Slot type: jompayBillerName
Build and Test the Bot
Publish the Bot
Follow this to integrate with FB Messenger.
On the FB integration page at Channels tab:
On Webhooks setting on the FB developer portal:
Samples of Voice Interactions
Challenges I ran into
The biggest challenge for me is there are a lot to learn. There are tons of meterials to cover, Luckily, there are a lot of good documentations, tutorials and videos around to help.
Accomplishments that I'm proud of
I have some experience with Lambda. But I am totally new to Lex and FB Messenger integration. I am glad that I manage to learn all these new knowledge and finish the project.
What I learned
Mainly I learned Lex Bot building and voice interactions which is very different from visual interactions. In designing voice interactions, you need to get down to those nitty gritty details of selecting important utterances from lots of speech structures.
What's next for Jom PAY Payment Chat Bot
At the moment, Jom Pay Payment Chat Bot is a POC (proof-of-concept). The integration with fulfillment service is not implemented because it is not easy to convince the financial instituitions in Malaysia to try something new without proper study and preparation. However, I hope the implementation will be carried out in the near future as chat bot is a convenient and effective channel for bill payment and other fulfullment services.