Business Automation & CRM
CUT Studio CRM Bot
A cross-platform manager bot for a digital tailoring studio. Connects the landing page, Telegram Bot API, and Max Platform API (VK Teams) via a shared SQLite database โ enabling production workflow management directly from messaging apps.
Python
SQLite
Webhooks & API
Key Features:
- Dual-platform notification push: A new order card from the website is instantly sent to all master chats on both Telegram and Max platforms simultaneously.
- Bidirectional click sync: When a master is assigned or an order status is updated (Cutting, Fitting, Sewing, Ready) on one platform, the change is instantly reflected on the other in real time.
- Client lookup mode: Secure order search by phone number or ID for clients โ without exposing internal management controls.
System Architecture
Frontend (cut.c0de4seek.ru)
Client submits measurements and contact details via an interactive quiz-calculator. A POST request is sent to /api/submit.
Nginx Reverse Proxy & HTTP Server
Routes requests from external domains to the local port of the Python bot server (Telegram/Max webhooks and site API).
Backend Synchronizer
Python script processes callbacks, updates the SQLite DB, and dynamically edits messages across all active master chats (editMessageText in TG, PUT messages in Max).
Synchronized Interface Across Two Platforms
Telegram Interface
Back
CUT Studio Bot
bot
bot
๐งต New order in CUT Studio (#12)!
๐ค Client: Jan
๐ Phone: +79991234567
๐งฅ Type: Custom tailoring
๐ Measurements:
โข Height: 180 cm
โข Chest: 100 cm
โ๏ธ Order details:
Wool overcoat per sketch.
๐ Status: New
๐ฅ Master: unassigned
๐ค Client: Jan
๐ Phone: +79991234567
๐งฅ Type: Custom tailoring
๐ Measurements:
โข Height: 180 cm
โข Chest: 100 cm
โ๏ธ Order details:
Wool overcoat per sketch.
๐ Status: New
๐ฅ Master: unassigned
Message...
Max (VK Teams) Interface
CUT Studio CRM
online
online
๐งต New order in CUT Studio (#12)!
๐ค Client: Jan
๐ Phone: +79991234567
๐งฅ Type: Custom tailoring
๐ Measurements:
โข Height: 180 cm
โข Chest: 100 cm
โ๏ธ Order details:
Wool overcoat per sketch.
๐ Status: Cutting
๐ฅ Master: Alena
๐ค Client: Jan
๐ Phone: +79991234567
๐งฅ Type: Custom tailoring
๐ Measurements:
โข Height: 180 cm
โข Chest: 100 cm
โ๏ธ Order details:
Wool overcoat per sketch.
๐ Status: Cutting
๐ฅ Master: Alena
โ Order #12 status changed to: Cutting (Alena)
Type a message...