📜 ⬆️ ⬇️

Do you know who is calling to your online store?

It's no secret that large modern call-centers know how to “recognize” a customer by number and immediately call by name - “Hello Vasily, how can I help you?”.
This article is about how to implement the same thing on your own, with minimal resources and in a short time.

Probably every modern online store keeps a customer base in some form.
Either it is a full-fledged database of "customer cards", where all orders are tied to each card, all emails, all calls of this customer, or is it just the base of all orders of the store, where the name / phone number / address of everyone who ever made an order in the store.

And today many online stores already use ip-telephony - whether it is an asterisk or a rented service from a third-party contractor.
')
We have both in our store. We put these two things together and as a result ...
- Hello, online store, hello Ivan Ivanovich.
- Zdra ... how do you know that my name is Ivan Ivanovich ?!
- We know our regular customers by sight! What did you want to order?

The base of orders, where the names and phone numbers of customers are recorded, we have been doing for a very long time.
And here we are lucky that almost all phone numbers are stored in our standardized form - 044xxx-xx-xx. Due to this, having the caller's phone number, it is quite easy to get all orders from the base where the same number appeared.

We have been recording customer calls for more than a year thanks to close integration with iStat.com.ua .
And, in general, we have long understood that theoretically, we can guess by phone number who calls us if this person has ever made an order with us. But for some reason this task seemed very difficult and was postponed for the distant future. But recently, with the filing of one colleague, it was decided to implement it all the same, and it turned out that the task was completely simple!

So, thanks to iStat.com.ua, we have a page where all customer calls for the selected period are displayed, by default - for the current day (just the call log is essentially). In general, any call log from any asterisk will do. we are the main thing that it was in real time and were incoming phone numbers.

All that needs to be done is to add a couple of columns to this plate and another request to the database: “But do we have a client’s phone number that matches the caller’s phone from the call log?” The base is large, so we had to play around for a while and - voila. For each call, we find a match in the database of orders, if there are several matches, we take the client’s name from the most recent order, if he has ordered a lot of orders, we’ve printed a number of orders along with a mouse over list.

Here, in general, is the whole implementation. As a result, it works like this:

1. When the call is heard, the manager picks up the phone and in parallel opens the tablet with the last 10 calls in the admin of the store ( 10 were chosen, because this is sufficient for the task and minimizes the number of requests to the database. work to track customer by number).

2. According to the incoming phone number, the manager determines which of the current calls to the table answers his current conversation with the client. It's pretty easy, it's usually enough to compare the last 2 digits of the caller's phone number.

3. If the caller has ever ordered something in the store and his data is in the database - the manager sees them:
- whether this client called today, if yes, how many times.
- how many times this customer has called in the past year.
- what is his name, and if you hover the mouse over the name, you can see how it was presented in different orders
- how many orders we have designed for all the time that we maintain a base. If you hover the mouse on orders, a list of all orders is displayed.

And this is how it looks live:


I can not express gratitude to our regular customer Petruha, who, as can be seen from the screenshot, made 239 calls a year. He by the way is on Habré, but what is he called here I forgot partially.

The plans still finish the list of links to all the recordings of calls of each client.
Any other ideas on how to develop the system? ..

And finally, if the engine of your online store does not allow you to make such "nyashechki", as an option, please contact us, we can.

Source: https://habr.com/ru/post/113847/


All Articles