← All case studies
Case study 04 · Data engineering & BI
A first data warehouse and reporting layer for a MedTech manufacturer
A central PostgreSQL and dbt warehouse, pipelines from CRM, marketing and device data, automated dashboards, and a GenAI assistant over the result.
Context
Medical device company, in-house BI role
My role
Designed and built warehouse, pipelines and reporting
Stack
PostgreSQL, dbt, Python, SQL, Tableau
The situation
Sales, operations, quality and finance data lived in Salesforce, HubSpot, enrichment tools, device logs and spreadsheets. Most reporting depended on manual exports from each system.
The company needed one reliable place to report from, automated KPIs for regulated teams like quality, and a way for non-technical staff to ask questions of the data.
What I did
I designed and built the warehouse, the pipelines and much of the reporting, working directly with the commercial, quality, finance and production teams.
Approach
- 01Built a central warehouse in PostgreSQL with dbt models as the shared source for reporting.
- 02Wrote Python and SQL ELT pipelines from Salesforce, HubSpot, ZoomInfo, Lead Forensics and raw device logs.
- 03Automated Tableau and Power BI dashboards and audit reports for Finance, QA and Production.
- 04Built a GenAI assistant on the OpenAI and Gemini APIs so teams could query sales, production and internal documentation in plain English.
- 05Developed predictive models to support inventory and reorder planning for Sales and Operations.
Results
Automated KPI and audit reporting for quality, finance and production teams.
A single warehouse used across departments instead of per-system exports.
“This automation improved data accuracy and saved significant time, allowing us to focus on using the data to drive improvements.”
Tradeoffs & limits
A shared warehouse depends on consistent definitions and reliable source data. The case study describes the work at a high level; internal data and business metrics are not published.
Technologies
PostgreSQLdbtPythonSQLTableauPower BIOpenAI APIGemini API