Find Opportunities / Customer Follow-Up
Spot Customers Who Stopped Ordering
I put order history beside each account so reps can see who needs a call and why.
- Problem
- A customer could stop buying months before anyone noticed.
- Solution
- I put order history beside each account so reps can see who needs a call and why.
- Evidence · Sample Data
- The example flags customers who bought before but have gone more than 180 days without an order.
Account Health Monitor & Churn Risk Radar
Identifies high-value accounts whose buying cycle has broken (silent churn risk) or whose lifetime spend is lagging far behind peer accounts in the same segment.
| Account | Segment | Territory | Orders | Lifetime Spend | Last Order | Health Status | Segment Benchmark Variance | Recommended Commercial Action |
|---|---|---|---|---|---|---|---|---|
| Kinetix Biologics ACC-0002 | academic | North America - West | 7 | $54k | 295d ago 2024-03-26 | Gone Quiet (>180d) | +$0k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Optima Medicine ACC-0003 | CRO | North America - Central | 5 | $16k | 276d ago 2024-04-14 | Gone Quiet (>180d) | $-57k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Kinetix Health Sciences ACC-0004 | biopharma | EMEA - Central | 1 | $14k | 684d ago 2023-03-03 | One-and-Done (At Risk) | $-60k | Onboarding Review: verify customer success on initial kit and reorder readiness |
| Apex Institute ACC-0005 | CDMO | North America - East | 9 | $352k | 348d ago 2024-02-02 | Gone Quiet (>180d) | +$98k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Sentry Biofoundry ACC-0006 | biopharma | North America - West | 2 | $6k | 280d ago 2024-04-10 | Gone Quiet (>180d) | $-68k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Altezza Genomics ACC-0007 | CRO | EMEA - UK/Nordics | 6 | $42k | 448d ago 2023-10-25 | Gone Quiet (>180d) | $-32k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Helixfield Discovery ACC-0009 | CDMO | North America - Central | 5 | $174k | 213d ago 2024-06-16 | Gone Quiet (>180d) | $-80k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Veridian Laboratories ACC-0011 | clinical lab | EMEA - Central | 5 | $8k | 107d ago 2024-09-30 | Under-buying (<45% Median) | $-56k | Account Expansion Playbook: cross-sell catalog reagents into custom synthesis workflow |
| Sentry Diagnostics ACC-0014 | biopharma | North America - East | 5 | $68k | 422d ago 2023-11-20 | Gone Quiet (>180d) | $-6k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Cytos Laboratories ACC-0015 | CRO | North America - West | 3 | $41k | 560d ago 2023-07-05 | Gone Quiet (>180d) | $-32k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Celero Discovery ACC-0017 | biopharma | EMEA - Central | 5 | $7k | 339d ago 2024-02-11 | Gone Quiet (>180d) | $-66k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
| Astraea Health Sciences ACC-0019 | academic | North America - West | 1 | $13k | 352d ago 2024-01-29 | One-and-Done (At Risk) | $-41k | Onboarding Review: verify customer success on initial kit and reorder readiness |
| Strata Medicine ACC-0020 | clinical lab | EMEA - UK/Nordics | 1 | $4k | 718d ago 2023-01-28 | One-and-Done (At Risk) | $-60k | Onboarding Review: verify customer success on initial kit and reorder readiness |
| Helixfield Diagnostics ACC-0021 | biopharma | North America - West | 1 | $10k | 711d ago 2023-02-04 | One-and-Done (At Risk) | $-64k | Onboarding Review: verify customer success on initial kit and reorder readiness |
| Kinetix Pharma ACC-0022 | biopharma | North America - West | 4 | $37k | 439d ago 2023-11-03 | Gone Quiet (>180d) | $-37k | Trigger Rep Re-engagement: replenishment cycle overdue; audit assay protocol changes |
Showing 15 of 220 matching accounts. In production, these health rules sync daily via Reverse ETL (Census/Hightouch) directly into HubSpot account properties, triggering HubSpot automated tasks for assigned sales reps.
How It's Built & Commercial Systems Architecture
NetSuite ERP & HubSpot CRM
Connects directly to NetSuite transaction / transactionLine tables and HubSpot CRM contacts, companies, and marketing_events. Normalizes custom pricing, catalog SKUs, contract tiers, and multi-touch interactions.
Staging → Dimensions → Marts
Plain .sql models use the staging → dimension → mart pattern popularized by dbt: stg_orders, dim_accounts, fct_order_attribution, and mart_account_health. Governed by primary key uniqueness tests and referential integrity assertions.
DuckDB + AI Agent Interface
High-performance columnar engine capable of sub-10ms queries. Feeds executive dashboards and triggers automated HubSpot task alerts via Reverse ETL when accounts show signs of quiet churn.
How I Built It
The Problem
Commercial leadership at life sciences tools companies often lacks a single cohesive picture across NetSuite ERP orders and HubSpot CRM marketing touches. Sales and marketing argue over attribution, executive quarterly reports take weeks to cobble together in spreadsheets, and accounts go quiet or under-buy without reps realizing it until quota is missed.
What I Built
- Clean Data & SQL Models Layer: Staged orders and accounts across 3,000 transactions, 400 accounts, and 6 product lines over 24 months, with marts for accounts, attribution, and health.
- Dual-Touch Attribution Mart: Direct side-by-side comparison of First-Touch origination vs Last-Touch deal-closing revenue, tied to marketing program spend to compute return per dollar (ROMI).
- Account Health Early Warning: Algorithms flagging accounts that have gone quiet (>180 days) or are under-buying relative to their segment median, complete with commercial next steps.
- Warehouse Text-to-SQL: Natural language query engine translating plain-English executive questions directly into SQL against the warehouse, with instant tabular results and synthesis.
- NetSuite
- HubSpot
- DuckDB
- Claude
- ChatGPT
- Gemini


