Back to Portfolio
Mielepiù
B2B Sales Platform with an AI Agent that Cites its Sources

Mielepiù

B2B sales platform for customers, orders, catalogue, activities and KPIs, where Email and WhatsApp requests become tracked tasks automatically and an AI agent answers from the platform's own data, showing the sources it consulted. In production.

Project Overview

A B2B sales team lives in its inbox and in WhatsApp. A request arrives as a message, someone reads it, someone else quotes it, and the record of what was agreed lives in a thread rather than a system. When a customer asks "what did you quote us in March?", someone has to remember which conversation it was in.

In Mielepiù, an inbound Email or WhatsApp message automatically becomes a tracked task, which then moves through assignment, status changes and digital signature. Customers, orders, the catalogue and commercial KPIs live in the same platform, with an ERP-facing side.

The AI agent answers questions about customers, orders, attachments and sales conversations from the platform's own data and shows what it consulted. It sits beside the domain modules and reads through them, which is what lets every answer cite the record it came from, and it is scoped per channel so a conversation about attachments never silently pulls in the whole commercial dataset.

Because Email and WhatsApp content is attacker-reachable input rendered back into an operator's browser, it is sanitised on the server and again on the client. Accounts that can see customer lists and pricing are protected with a TOTP second factor.

Key Features

  • Operational dashboard: open requests, quotes sent and accepted, overdue tasks, unread messages and a per-operator summary
  • Email and WhatsApp requests turned into tasks automatically, then assignment, status tracking and digital signature
  • AI agent with separate conversations per channel (web, sales, orders, customers, attachments) that cites its sources
  • Automatic classification of incoming requests and tasks; clustering of customers and products
  • Predictive analytics for reorders and commercial KPIs
  • Integrations with external services, signed outgoing webhooks and scheduled jobs
  • Explicit NestJS domain modules (customers, ERP, tasks, inbox, integrations, webhooks, AI…) instead of generic service layers
  • 54 Prisma models with types shared between API and client through a workspace package, so model changes break the build, not production
  • JWT + Passport authentication, TOTP second factor, rate limiting, security headers, and input and output sanitisation
  • Validation at the boundary twice: DTOs on the server, schemas in the client; OpenAPI docs and structured logging

Technologies Used

React 18TypeScriptTanStack QueryTailwind CSSNestJS 11Prismapnpm WorkspacesAI AgentsRAGClassification & ClusteringPredictive AnalyticsWhatsApp IntegrationWebhooksJWT / PassportTOTP 2FAOpenAPI

Project Gallery

Dashboard: open requests, quotes sent and accepted, overdue tasks, unread messages and per-operator summary
Dashboard: open requests, quotes sent and accepted, overdue tasks, unread messages and per-operator summary
AI agent: separate conversations per channel and an answer citing its sources
AI agent: separate conversations per channel and an answer citing its sources
Architecture: React client, NestJS API, domain modules, AI module, integrations, Prisma data layer and observability
Architecture: React client, NestJS API, domain modules, AI module, integrations, Prisma data layer and observability

Project Details

Role

Management modules, request-to-task workflows, AI classification, clustering and predictive analytics

Status

In production

© 2026 Artem Shelepiuk. All rights reserved.

0%