
In our work, we widely use the JivoSite service - as the main tool for communication with customers (it is really good). Everything is good, but it has one feature that does not suit us. You can view chats and calls in it separately in the archive.
We needed to print all the chats and put them in a pile on the supervisor's table, so that she would follow the work of the sales department, make some notes, correct the work of the operators on these notes, and so on. And browsing the chats in the archive - we did not fit.
As a solution, I took a bottle of vermouth, a couple of evenings and an API, which JivoSite offers. It turned out that it was quite easy to get all the chats via web-hooks, the main thing is to set them up correctly.
')
I decided not to zhlobstovovat and arrange everything as a web service on symfony, which everyone could use. If you are a representative of a bank or another company where 100% security is required - please in a personal, I will give you all the sources, you can easily raise such a service.
Objective of the project:
- Solve your problem with chats.
- To show that it is possible to put together a very convenient integration with JivoSite on your knee.
How the service works:
- Sign up
- Create the channel you need - get the key API
- In your personal account JivoSite indicate the key API
- After that, all conversations marked chat_finished (ie, completed chats) are saved in the service.
- You can select the period you need by timestamp and get all the dialogues in a single document in PDF format.
- PDF generation is implemented using the dompdf library, so you can be sure that the data is not sent to any third service.
Service implementation:
At the moment, the service works very "straightforward":
- collects plain json and saves it to the base
- parses plain json into subgroups of information for subsequent generation in PDF
This is quite enough at the initial stage. In the future we plan to add queues so that the process of accepting JSON and PDF disassembly is carried out more adequately.
Service petmark.ruThere is an interest to make chatting more intelligent. If you are interested too, please report!