/cases/aulov-consultCase study
aulov consult
Legal help in Telegram: an AI advisor answers legal questions and reads photos of documents, lawyers handle clients in chat, a manager matches each case with the right specialist, and the owner sees everything. This is a demo — message a lawyer, then answer yourself from the lawyer panel.
- Project
- Telegram bot + Mini App + 3 web panels
- Scope
- Design, Mini App, AI, chats, panels, server
- Timeline
- About 7 days
- Status
- Demo is open — try it out
- Year
- 2026
Fig. 01 — screen recording of the bot, Mini App and panels on iPhone 18 Pro Max: from /start to the reply from the lawyer panel
Point your phone camera at the code to open the bot.Open the bot with the link below. Ask the AI, message a lawyer, then answer yourself from the lawyer panel: use the /lawyer command.
@aulov_portfolio_2_bot- 7daysto the first version — about a week
- 4rolesclient, lawyer, manager and owner in one system
- 3web panels for staff — on a computer or right inside Telegram
- 24/7the AI advisor answers; complex questions go to a lawyer
01Challenge
Legal help where people already are
A delayed salary, a deposit that isn’t returned, a store refusing a warranty claim — people need a quick, clear answer, not a trip to an office. The AI advisor explains the situation right away, at any hour. If the question is complex, a real lawyer is one tap away in the same app.
The service owner needs a system, not just a chat: requests are distributed among lawyers, a manager picks the right specialist for each case, and all conversations, workload and statistics are visible in one panel.
02AI advisor
An answer in seconds — even from a photo of a contract
The text streams in as it’s generated, just like in familiar AI chats. The advisor relies on Russian law, cites specific articles and suggests contacting a lawyer on its own when a lot depends on the answer.
You can send a photo of a contract, a receipt or an official report — the AI reads the document and explains what matters in it. The model is plugged in through settings: GigaChat by Sber or any model via an OpenAI-compatible API. In the demo, GPT-4o answers, and a daily question limit keeps costs in check.
03Lawyer
From question to a lawyer’s answer — all in Telegram
In the demo you can go through it from both sides: ask a question as a client and answer it as a lawyer.
04Panels
Three panels — one for each role
They open in a browser on a computer or right inside Telegram on a phone. Permissions are checked on the server: a lawyer sees only their own and unassigned requests.
The panels are open to everyone
No password needed: the staff, clients and conversations in them are fictional and can’t be changed. And if you open a panel from the bot, your own requests will appear there too — you can reply to them. Only you can see them.
05What was built
Built end to end: from design to server
- Python
- FastAPI
- aiogram 3
- PostgreSQL
- SQLAlchemy
- WebSocket
- Telegram Mini Apps
- GigaChat · GPT-4o
- Docker
- Caddy
- 01
Mini App
AI advisor, personal lawyer, lawyer matching, support and group chats. Photos, videos, documents and voice messages, message replies, pinning and forwarding.
- 02
AI advisor
Streaming answers, document photo analysis, conversation history and a daily question limit. GigaChat or any model via an OpenAI-compatible API.
- 03
Real-time chats
Messages, “typing…”, “online” status, unread counters and Telegram notifications when a lawyer replies.
- 04
Staff panels
Lawyer — own and unassigned requests. Manager — matching and assigning lawyers. Owner — statistics, live feed, staff, broadcasts, required channel subscription.
- 05
Security
Sign-in via Telegram signature, staff passwords stored only as hashes, role permissions checked on every request, uploaded file validation, limited login attempts.
- 06
Server
Docker, PostgreSQL with migrations, HTTPS. Demo mode: fictional data, and each visitor’s requests are visible only to that visitor.
/nextYour project
Need a service like this in Telegram?
Tell me what project you need. I reply within 15 minutes during working hours.