«Stoloto» – is a dialog app for buying and checking the lottery ticket through SberSalute
Customer
Stoloto is the only distributor of state lotteries in Russia.
Task
Create the app that will allow users to buy tickets through the SberSalute.
SberSalute has several types of apps with which the user can interact with the assistant — these are called smartapps.
Chat App is the simplest of them. This is the dialog app that can be controlled by voice, touch, remote control or text messages.
01/
What is the Chat App
Interesting fact
This was our first Chat App, moreover, also with payment integration — via Stoloto.
Problem
The application had to be presented at the Digital Brand Day conference. We had only 11 days to work.
Solution
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".
Strict and correct determination of deadlines
Problem
The client wanted the payment to be made through Sberbank's tools. Although they could not be integrated quickly.
Solution
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.
Integration of the payment system
Problem
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.
Solution
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.
Authorization
Problem
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.
Solution
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.
Complex verification of speech synthesis
02/
The problems we are facing
03/
How it works
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 :)
Tatiana Popova
Copywriter
Sergey Verentsov
Technical Director
Sergey Ponomarenko
Project Manager
Project team
04/
Dialog Designer
Anna Mikhnik
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.