The problem
The customer-support operation of an e-commerce platform processes large volumes of unstructured conversations across several countries. Manual review alone could not consistently identify the interactions most likely to represent severe dissatisfaction or to escalate into formal consumer-protection complaints. A first implementation covered a single country, with country-specific logic built into its processing components. The objective was to convert conversations into structured, actionable risk signals so customer-care teams could prioritize sensitive cases earlier.
What was built
The team built an NLP pipeline that processes support messages and produces customer-level sentiment and escalation-risk scores. It combines two modeling layers. Fine-tuned BERT models convert conversations into semantic embeddings. Gradient-boosted models then combine those embeddings with customer, interaction and behavioral attributes to classify risk.
The production workflow separates the stages of the machine-learning lifecycle:
- Extraction, text normalization and conversation aggregation
- Generation and persistence of embeddings
- Hyperparameter optimization, training and temporal out-of-sample validation
- Batch inference that generates operational outputs
Validation windows account for the delay between an interaction and a confirmed complaint outcome, so performance estimates reflect realistic deployment conditions, not leaked information. The pipeline was then redesigned for Romanian, Bulgarian and Hungarian. Configurable parameters for language, platform, dataset and time interval replaced country-specific logic, and a multilingual BERT architecture was fine-tuned across languages.
Results
Customer-care teams moved from largely manual and reactive review toward risk-based prioritization. Large volumes of conversations are ranked by predicted severity, so the most sensitive interactions receive earlier attention. A team of 70 customer support staff relied on the daily predictions to inform their work. The reusable embedding and inference architecture also provides a foundation for further multilingual customer-experience use cases.
Where it applies
The pattern transfers wherever unstructured conversational data has to become operational decision support, using multilingual NLP, transformer embeddings, temporal validation and production pipelines.