¶ case file 1 of 6 · honda-two-wheelers · filed 2026-02 · verified 2026-11

status: shipped · automated directquery pipeline across nationwide dealerships

↩ consigned at honda two-wheelers, ¶ 03 · 08:24 · waybill: dealership telemetry → neon postgresql → power bi directquery

the line stands dark at 08:24. the archive lamp is lit; a record is read in the light it needs.

Honda Two-Wheelers.

Engineered an autonomous, zero-cost cloud sales decision-support pipeline syncing nationwide dealership telemetry into AWS Neon Serverless PostgreSQL. Powered by n8n webhook triggers and Python schema validation, the 4-page Power BI DirectQuery cockpit proactively flags 8.2-day regional stockout risk, lifts NBFC conversions (+22%), and eliminates 100% of ETL infrastructure spend across ₹59.63 Cr gross sales (5,617 units).

role
lead data analytics & automated pipeline engineer
timeframe
2025-11 to 2026-02 · production release
stack
Power BI DirectQuery · Neon PostgreSQL · n8n Cloud · Python · SQL
scope
5,617 vehicle units · ₹59.63 Cr turnover · 4-page cockpit · 100% DirectQuery

Enterprise audit note: Dealership raw transactions record intraday booking velocity, financier attachment rates, and inventory staging across India's two-wheeler network. This case file presents verified transactional receipts, serverless data pipeline schemas, and DAX formulations committed to source control.

[ problem ] · § as found

Nationwide dealership networks relied on manual end-of-day Excel spreadsheet exports, creating 48-to-72 hour reporting latencies. Regional sales directors had no live visibility into high-demand model stockouts, showroom turnaround velocity, or dealer financing attachment trends.

Enterprise ETL platforms (Fivetran, Talend) carried prohibitive monthly subscription costs for non-enterprise dealership tiers. The business required an enterprise-grade automated pipeline operating on serverless, zero-maintenance infrastructure.

constraints & technical boundaries

  • Zero-Cost Cloud Infrastructure: Build complete pipeline utilizing free-tier serverless PostgreSQL (Neon) and n8n cloud automation without recurring licensing fees.
  • Sub-Second DirectQuery Latency: Power BI connects live to analytical PostgreSQL views without import mode caching delays, requiring indexed join execution.
  • Automated Data Cleansing & Ingestion: n8n webhook listener parses incoming dealership CSV feeds, validates schema constraints, deduplicates chassis IDs, and stages clean tables.
  • Intraday Inventory Rebalancing: Provide actionable dealership-level sales velocity metrics to compress regional warehouse holding cycles from 38 days to 24 days.
Data Ingestion Endpoint 5,617 Records · 12 Models
Multi-Branch Showroom Endpoints
Dealership network CSV exports ingested via webhook listeners; captures vehicle sales, ex-showroom pricing, and regional delivery logs.
↓ Automated Webhook Payload (JSON)
Workflow Automation Zero Recurring Licensing
n8n Automated ETL Webhook & Cron Engine
Serverless cron schedules and real-time webhook endpoints automate batch file processing without expensive enterprise ETL tooling.
↓ Data Cleansing & Transformation
Schema Validation Python / n8n Nodes
Data Cleansing & Schema Normalization
Enforces strict column casting, date standardization, deduplication, and anomaly logging before staging into PostgreSQL tables.
↓ Continuous Cloud Staging
Cloud Data Warehouse ₹0.00 / mo · AWS Singapore
Neon Serverless PostgreSQL
Serverless managed Postgres instance hosting optimized transactional tables and analytical views; scales down to zero when idle.
↓ DirectQuery (Sub-Second Ingestion · Zero Refresh Delay)
Semantic Model ₹59.63 Cr Revenue Monitored
Power BI Enterprise Semantic Model
Star Schema dimensional model with 40+ DAX business measures, holding cycle metrics (24 days), and SKU volume distribution.
↓ Surfaced in 4 Executive Analytical Suites
Page 1
Brand & Model Landing Showcase
Page 2
Executive Operational Cockpit
Page 3
Transaction Sales Ledger
Page 4
Segment Matrix & Sparklines

fig. 01 · the automated etl & directquery architecture · open full diagram ↗

[ commercial scorecard ] · volume & efficiency benchmarks

Verified sales and operational metrics benchmarked across nationwide dealership operations:

Gross Sales · Verified
₹59.63 Cr
Ex-Showroom Revenue
100% DirectQuery validated across 5,617 transactional records nationwide.
Volume Driver · Flagship
38.4%
Activa 6G Share
Primary scooter volume driver with 2,157 units sold across urban metro zones.
Motorcycle Anchor
25.6%
Shine 125 Share
Commuter motorcycle anchor commanding rural and semi-urban repeat purchases.
Inventory Efficiency
24 Days
Holding Cycle
Compressed from 38 days through live regional inventory rebalancing telemetry.
Infrastructure Cost
₹0.00 / mo
Serverless Cloud Stack
Zero recurring enterprise Capex utilizing Neon PostgreSQL and n8n webhooks.

[ interactive suite ] · 4-page directquery cockpit

Inspect the 4 specialized executive views engineered for intraday inventory control and regional revenue management:

Honda Two-Wheelers Dashboard View

fig. 02 · page 01: directquery entry port · sub-second live query connection to neon postgresql instance tracking ₹59.63 Cr gross showroom sales.

[ relational engineering ] · production dax & staging queries

Production DAX measures engineered to calculate gross showroom revenues and isolate model volume shares under DirectQuery mode:

// 1. Gross Showroom Sales Revenue Across 5,617 Vehicle Records
Total Revenue (INR) = 
SUMX(
    fact_sales,
    fact_sales[units_sold] * fact_sales[unit_price_inr]
)

// 2. Activa 6G Volume Contribution % (Steers Dealer Restocking)
Activa 6G Volume Share = 
DIVIDE(
    CALCULATE(SUM(fact_sales[units_sold]), dim_model[model_name] = "Activa 6G"),
    CALCULATE(SUM(fact_sales[units_sold]), ALL(dim_model)),
    0
)

// 3. PostgreSQL Analytical Staging View (Pushed from DirectQuery)
CREATE OR REPLACE VIEW vw_dealership_sales_summary AS
SELECT 
    d.dealer_id,
    d.region_name,
    m.model_name,
    m.segment_type,
    s.sale_date,
    s.units_sold,
    (s.units_sold * m.ex_showroom_price) AS gross_revenue_inr
FROM fact_dealership_sales s
JOIN dim_dealers d ON s.dealer_id = d.dealer_id
JOIN dim_vehicle_models m ON s.model_id = m.model_id;

[ receipts & outcomes ] · autonomous decision-support & roi

Moving beyond passive sales charts to proactive stockout detection and automated zero-cost cloud orchestration:

Proactive Detection
8.2d Stock Alert
Velocity & Schema Gates
Python validator catches chassis duplicates & flags rapid showroom turnover before stockouts occur.
Automation Workflow
n8n + Neon
Zero-Touch ETL Engine
Webhook listeners auto-ingest multi-branch CSV feeds into Serverless PostgreSQL DirectQuery views.
Measured ROI
₹0.00 / Mo
Zero Infra Spend + 72h Saved
Eliminated paid ETL licensing and cut dealership holding cycles from 38 days down to 24 days.
Intervention Strategy Operational Remediation Business Outcome
Inventory Holding Optimization Identified that Activa 6G and Shine 125 accounted for 64% of total showroom turnover, allowing regional stock yards to shift buffer allocations. Holding 38d → 24d
Tier-2/3 Financing Margins Uncovered a 14.2% higher dealer financing attachment rate in Tier-2/3 cities compared to metro regions, enabling targeted EMI campaigns. +14.2% Attach Rate
Zero-Cost Cloud Architecture Replaced legacy paid ETL middleware with an open-source serverless stack (Neon + n8n), eliminating recurring server infrastructure overhead. ₹0.00 / Month
Source Repo on GitHub ↗ · Download Report PDF ↗
Next Case File: Healthcare RCM →