1. The Challenge
The goal was a complete SaaS (Software as a Service) solution that lets website and store owners deploy a virtual assistant able to handle customer support and drive sales automatically.
2. The Technical Solution
I built the platform’s complete architecture, with a focus on scalability and source code security:
- Customizable Widget: An ultra-lightweight JS script that is injected into clients’ websites without affecting load speed (Core Web Vitals).
- “Anti-Steal” Security Logic: An advanced protection system. If the script is detected on an unauthorized domain or without an active licence, it hides itself from the page, protecting the intellectual property.
- Subscription System: Full integration with the payment processor Netopia, automatically managing the subscription lifecycle.
- Licensing Automation: The bot stops working instantly when the client’s subscription expires, removing the need for manual intervention.
- API Management: An intuitive interface for configuring API keys, giving users full control over the AI engine they use.
3. Results and Impact
- 90% Automation: The ability to answer repetitive questions without human intervention.
- Full Control: An admin panel for managing clients, payments and active chatbot instances.
- Scalability: The infrastructure supports an unlimited number of clients with independent configurations.
Technologies Used:
- Backend: PHP (Laravel/Custom) & Node.js for real-time processing.
- Frontend: JavaScript (Vanilla/Vue.js) for the widget and dashboard.
- Database: MySQL for managing client data and chat logs.
- Integrations: Netopia Payments API, OpenAI API / Anthropic API.