Case study · High-tech

Direct sales, marketplaces, resellers:
a single revenue model.

A consumer high-tech manufacturer sells on its website, on marketplaces and through resellers. For its data team, we developed and maintained the chain that runs from the sources to the dashboards, the alerts and the summary sent to the executive team every morning.

High-techAirflowRedshiftTableauPython
3sales channels combined in a single revenue model
3families of sources: marketing, sales, inventory
Every morninga summary of the business sent to the executive team

THE CONTEXT

Three channels, three ways of knowing about a sale.

The manufacturer sells its products through three channels: its own website, marketplaces and a network of resellers. On its website, it knows every order. On a marketplace, it depends on the platform’s reports. With resellers, it receives files.

From 2021, we worked alongside its data team to develop and maintain the complete chain: ingestion of marketing, sales and inventory sources, transformations, dashboards, alerts. A long assignment, of the kind where you strengthen a data team already in place.

The heaviest subject was the revenue calculation: many sources, and transformations nested inside one another.

WHAT WAS IN THE WAY

Three sources of complexity.

01

Revenue split across three channels.

Each channel has its own data and rules. Adding them up means treating each according to its own logic before bringing them together.

02

Reseller files.

Each reseller sends its sales and inventory in its own file. They have to be filed, dates aligned and duplicates removed before counting. That is the subject of sell-out.

03

A catalogue that moves.

Each new item has to be attached to a product group, and a bundle counted as the products that make it up.

WHAT WE BUILT

From the sources to the morning e-mail.

01

Airflow pipelines.

Airflow orchestrates ingestion and transformations. Sources go through market connectors, including Fivetran, or through connectors written in Python.

02

A two-tier Redshift data warehouse.

In Redshift, staging tables clean each source. Final tables, the ones the dashboards read, carry the business rules.

03

A shared revenue model.

Direct sales, marketplaces and resellers are each treated according to their own rules, then aggregated into a single model.

04

Alerts and a daily summary.

One alert warns when a new product reference appears and needs to be classified. Another compares resellers’ prices with the price grid. Every morning, a summary of the business goes out by e-mail; if its tests fail, it is not sent.

THE STACK

Proven tools, from ingestion to reporting.

Ingestion
FivetranPython connectors
Orchestration
Data warehouse
Transformation
SQLPython
Reporting
TableauDaily e-mail summary

WHAT IT CHANGES

Readable revenue, channel by channel.

  • A single revenue calculation for direct sales, marketplaces and resellers.
  • Reseller tracking: sales, inventory and prices charged.
  • A new product is flagged as soon as it appears, to be classified in the right group.
  • The executive team reads the same summary every morning, and a summary whose tests fail does not go out.
  • A written procedure for each alert: what to check, what to update, who to ask in case of doubt.

WHAT COMES NEXT, WE BUILD TOGETHER

Your next project
starts with a conversation.

An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.

Let’s talk about your project