«Stoloto» – is a dialog app for buying and checking the lottery ticket through SberSalute
Stoloto is the only distributor of state lotteries in Russia.
Customer
Create the app that will allow users to buy tickets through the SberSalute.
Task
SberSalute has several types of apps with which the user can interact with the assistant — these are called smartapps.
01/
What is the Chat App
Chat App is the simplest of them. This is the dialog app that can be controlled by voice, touch, remote control or text messages.
Interesting fact
This was our first Chat App, moreover, also with payment integration — via Stoloto.
The problems we are facing
02/
Strict and correct determination of deadlines
To complete the task quickly, we had to limit the functionality. Using the app, you can only buy the ticket and check if it is the winning one. And only one type of lottery — "Rapido".
Solution
The application had to be presented at the Digital Brand Day conference. We had only 11 days to work.
Problem
Integration of the payment system
We offered to make the payment using the user's phone number. The number was transferred to the Stoloto payment system, and we received a ready-made status and associated it with the client's id.
Solution
The client wanted the payment to be made through Sberbank's tools. Although they could not be integrated quickly.
Problem
Authorization
We had to check the user's phone number with each purchase. We took it out of the cache and asked again if the number was correct.
Solution
A token valid for a very short time, is issued to the phone number in the Stoloto system. The user cannot be kept authorized in the system.
Problem
Complex verification of speech synthesis
We have written a separate skill for speech verification. We sent the text to the bot — and it returned the voiced version of the text.
Solution
During testing, we always check whether the assistant speaks correctly: does not confuse the accents, is it right to put pauses. But there is no such possibility in the SberSalyut yet.
Problem
How it works
03/
The user calls the skill and says how many tickets he wants to buy
The assistant asks for the user's phone number
The SMS with a payment code is sent to the user's number. Then, the user sends a code — and the amount is debited from the mobile account.
We contact the Stoloto payment system. It generates a code for payment
The user confirms the fact of payment in the assistant
We are checking the payment status. If the status has arrived, the ticket goes to the "My tickets" section
The user can check the tickets. We are contacting Stoloto base. If the ticket is won, we tell you where and how to get the prize. If you haven't won, we suggest you try again
Interesting fact
While we were testing the skill, we bought a couple of lottery tickets ourselves. Now we know exactly who is the luckiest in our team :)
Project team
04/
Anna Mikhnik
Dialog Designer
Copywriter
Tatiana Popova
Technical Director
Sergey Verentsov
Project Manager
Sergey Ponomarenko
What's next
Now we are making a more complicated application for Stoloto — Canvas App. Here you can buy ticket for any lottery.
05/
Tools
In our work we used the following services:
The constructor for creating complex dialog systems. Thanks to it, our bots are born.
zDialog
AI-service for chatbot analytics. Thanks to it, we understand how successful the bot is.