Automated data pipeline processing 500+ daily transactions with real-time analytics and client retention tracking
A beauty salon using the Trinks platform needed real-time visibility into business operations, professional performance tracking, and proactive client retention management to stay competitive in a crowded market.
Manual spreadsheet updates were error-prone, time-consuming, and always outdated by the time they were completed.
No way to accurately track individual professional revenue contribution and productivity metrics.
Reactive approach to client retention - only noticed churned clients after they had already left.
Built a complete end-to-end BI pipeline that automatically extracts data from Trinks API every morning, transforms it through N8N workflows, stores it in a MySQL data warehouse with constellation schema, and delivers insights via Power BI dashboards and automated WhatsApp reports to the salon owner.
Runs daily at 7 AM, fetching the last 48 hours of transactions. Processes 500-800 records daily with zero manual intervention and automatic error notifications via WhatsApp.
Proprietary proportional algorithm distributes total transaction value across services based on price ratio, enabling accurate professional earnings tracking even for shared transactions.
Owner receives automated weekly reports with key metrics, top performers, at-risk client alerts, and revenue trends directly on WhatsApp.
Automatic status classification system: Active (≤40 days since last visit), At Risk (41-90 days), Inactive (>90 days). Enables proactive retention campaigns.
The dashboard provides real-time insights into revenue by day of week, top-performing services, professional productivity comparison, month-over-month growth trends, and client retention metrics. Interactive filters allow deep-dive analysis by time period, professional, and service type.
Trinks REST API - Beauty salon management platform
N8N - Self-hosted workflow automation with custom JavaScript transformations
MySQL 8.0 - Constellation schema with 6 tables optimized for analytical queries
Power BI - DirectQuery mode for real-time dashboard updates
WhatsApp Business API - Automated reports and error alerts via Evolution API
VPS Ubuntu 24 + Docker - Self-hosted for full control and data privacy