Establishment of a platform for the automation of legal affairs