Automatic task attribution system by SMS/phone/email

Thousands of professionals receive millions of tasks to accept or reject by SMS/phone/email

Download case study (PDF)

Challenge

The previous distribution system was manual and poorly administered.
Legacy issues had to be investigated and clarified before automation. Since the system involved more than 1000 laywers that received tasks from the Bar Association, the beneficiaries had to be consulted so that the new system be fair and widely accepted.
We had to choose a technology to distribute the tasks and receive the answers.
We proposed SMS send & reply, which we contracted with third-parties after market research.
Speed and reliability were of paramount importance.
Some tasks had to be accepted by at least one lawyer in 30 minutes at most, while giving a fair chance to the others.
Bucharest Bar Association
"The team at OPTI are notable for their respect for deadlines and for avoiding financial overruns, for the adaptability of their solutions to our constantly-evolving needs and for the general quality of their software implementation. We will continue our collaboration to fulfil other needs of the Bar Association in other projects."
Bucharest Bar Association

Solution

OPTI helped deliver an automated fair and quick task distribution system using a six-step flow.

  • Holding several open consultations with beneficiaries (lawyers) to design a fair attribution system.

  • Modelling and simulating the rules for the new system. Past data was analyzed to certify that such a system would result in equal financial outcomes.

  • Custom software developed by OPTI which allows the introduction of tasks, their distribution, and receiving the answers of the beneficiaries.

  • Implementing an SMS-provider for send & reply.

  • Integration with the official website of the Bar Association to allow lawyers to see the distributed tasks.

  • Training the employees and making public presentations of the new system.

  • Creating a pilot project to test the system on a limited initial number of tasks and beneficiaries.

  • Wide launch with a quick-response period when all the complaints and reports were investigated as emergencies.

The main technologies used were PHP, MySQL, memcache, SOAP and JSON REST APIs. OPTI still ensures support and maintenance of the solution for the client.

"We had to choose time-tested technologies in order to guarantee the high availability and redundancy of a system of such responsibility. Each hour, new tasks are fed into the system. The system chooses at random a corresponding lawyer and ask them to accept the task. In case of refusal, the task is redistributed. I am happy that the project was fully functional in less than four months."
- Marian Calborean, managing partner, OPTI
what's your challenge?

Interested?

Contact us

Highlights and results

Speed and high availability

Custom programming guarantees few loaded dependencies. The underlying technologies (PHP, MySQL, memcache) are optimized for speed. A backup plan is in place.

API integrations

JSON API integrations allow the extension of the system to future SMS/email providers. JSON APIs are used for publishing tasks to the public website.

SMS send & reply

The tasks are sent to each lawyer by SMS. In case they accept them, they get the official mandate. If they refuse, someone else is attempted until acceptance.

Fairness and equality of outcomes

The system picks randomly among lawyers having the same number of previously-distributed tasks. A statistical analysis proved that this would result in fair outcomes.

Flexibility and preferences

The system allows beneficiaries flexibility in choosing availability windows and types of tasks to receive, without affecting the fairness of the system.

Transparence and traceability

The system publishes its historical data for any possible inspection. Both sent and received messages are kept, along with the justification of each individual choice.

Full technology

stack

50+
platforms
... and any other
data source
JavaScript
React
Python
Java
PHP
Node.js
MySQL
MongoDB

Latest

Announcements

Find more of our latest software development tutorials, launch announcements and career opportunities.
Read our blog