Professional education company gets analytics-ready data with Fivetran, dbt and Redshift

Fivetran does the generic work of moving data out of three business systems. The logic specific to the client lives in dbt, inside the Redshift warehouse it already had.

Data modeling

Data warehouse development

BI dashboard shown on a laptop: enrollments, CRM leads and web-store orders, monthly enrollments by subject area and sales channel, a program table and data checks on the last load

Who we worked with

Professional education company that needed reliable reporting data

The company had already built a data warehouse on Amazon Redshift. What it lacked were the pipelines to fill it.

It brought in specialists so that the data reaching its reports would be consistent and clean, and would arrive on time. Starting from a warehouse that already exists narrows the job in a useful way. Redshift was going to hold the data anyway, so it could also be the place where the data gets shaped.

Client under NDA

Choosing the tools

Rent the connectors, own the logic

We chose Fivetran for ingestion and dbt for transformation and modeling after going through the client's data sources, reporting requirements and existing architecture. The pair cuts the job in two. One half is moving data out of Salesforce, Shopify and SAP, which a vendor can maintain for many companies at once. The other half only this education company could write.

Moving the data is the same everywhere

Every company on Salesforce or Shopify has to get records out of them, and the work barely changes from one to the next. The vendors update their APIs, objects gain fields, and somebody has to keep the extractors in step. Keeping up is what Fivetran sells, and hand-written extractors buy a maintenance job with nothing of the business in it. Renting has its price too. Fivetran bills by monthly active rows, so a large, stable source costs little, while a high-volume source where most rows change every month is the one where a loader the team writes itself can work out cheaper.

The business logic belongs in the warehouse

Take a question like what counts as an active learner, or how a Shopify order matches a Salesforce account. No connector answers it, because the answer describes how one company works. Those answers are the part worth writing and owning, and dbt keeps them as SQL models that run inside the client's Redshift warehouse. The data is reshaped where it already sits. Keep the metric definitions in dbt and out of the calculated fields in the Tableau dashboards, and when a figure looks wrong there is one place to read how it was made.

What we built

From Salesforce, Shopify and SAP to Tableau

Fivetran loads, dbt models

Fivetran extracts data from all three systems automatically and loads it into Amazon Redshift. There, dbt transforms the raw tables into analytics-ready datasets, which the Tableau dashboards read.

Sales, shop and SAP data now sit in one warehouse for the first time, so a report no longer means joining exports by hand. The dashboards refresh automatically every day instead of being rebuilt from manual exports, and a report that took days to assemble now takes hours.

Amazon RedshiftFivetrandbtTableau

Validation and monitoring in the same build

Alongside the pipelines we set up the transformation workflows, data validation and monitoring. Validation flags broken or late data before it reaches a dashboard.

Those checks are there because people who stop believing a number go back to their spreadsheets, and then the company pays for the warehouse and the spreadsheets both.

Diagram: Fivetran loads Salesforce, Shopify and SAP into Amazon Redshift; dbt models the data with checks for BI dashboards

Filling a warehouse you already run?

Tell us what feeds your reporting and where your warehouse runs. We'll sort out which pipeline parts to rent and which to write.

Case studies

More data projects

Travel

Hotel chain compares its hotels on reviews from 10 sites

Guest review dashboard shown on a laptop: overall guest rating, reviews by source, the topics pulling scores down, topic scores per hotel, review text sorted by keyword and reviews per month