About the client
The client sells an analytics product to e-commerce founders. Its customers run ads on several networks, sell through Shopify, email through a marketing platform and track costs elsewhere. Each source reports differently, so working out true profitability means exporting data and building reports by hand or writing SQL. The client engaged FiftyFive to build Phase 1: an analytics co-pilot that pulls this data together and lets non-technical users ask questions directly.
One profit picture from six platforms that disagree
- Six APIs, six behaviours. Shopify, Meta, Google, TikTok, Google Analytics and Klaviyo each have different APIs, refresh rates and reliability, plus operational and cost inputs.
- Inconsistent schemas and attribution. Each source uses its own data format and attribution model; combined datasets had to be queried together accurately.
- Fast queries on combined data. Complex analytical queries and chart-heavy dashboards had to stay responsive on repeated loads.
- Shopify at volume. Orders, products and customers had to sync through the Shopify GraphQL API within authentication scopes and rate limits, without consistency errors.
- Answers without SQL. Founders needed to ask business questions in plain language and get accurate answers across profitability, campaign, product and forecasting data.
What FiftyFive built
FiftyFive delivered the MVP as a full product build: data integration, backend, AI and forecasting workflows, dashboards, authentication and billing. The platform pulls data from six sources, normalises it into one model and presents profitability, campaign and forecasting views alongside a plain-language query layer.
How the solution works
Ingestion and normalisation
- Airbyte connectors and custom backend services extract data from the six sources.
- Shopify orders, products and customers are synchronised through the GraphQL API with handling for scopes, rate limits and bulk sync.
- Pipelines normalise source-specific formats into a unified structure so marketing, CRM, commerce and cost data can be joined.
Analytical storage on ClickHouse
- The analytics backend runs on ClickHouse for low-latency analytical queries.
- Indexing, partitioning, query pruning, pagination and data chunking keep large combined queries fast.
- Supabase handles authentication, real-time subscriptions and lightweight database operations.
Profitability metrics and dashboards
- The model calculates profit on ad spend (POAS) and contribution margins at three levels (CM1, CM2 and CM3), alongside campaign, cohort and product metrics and alerts.
- The Next.js 15 and React frontend uses Tailwind CSS, shadcn/ui and Recharts, with React Query and Zustand for state.
- Memoisation, virtualisation, reusable dashboard modules and code-splitting keep large tables and charts responsive.
Plain-language queries and forecasting
- Cohere interprets natural-language business questions so users get answers without writing SQL.
- Time-series forecasting workflows run on Amazon SageMaker.
Access and billing
- Role-based access control manages permissions, and Stripe subscriptions handle billing for the MVP.
Technology stack
What the solution enabled
Business transformation
Sources unified in one ClickHouse model
Contribution-margin levels (CM1, CM2, CM3)
Phase-1 MVP built by a four-person team
Six sources, one model
Data from six platforms across marketing, CRM, commerce, analytics and operational inputs unified in one platform.
Profitability views
POAS and CM1, CM2 and CM3 contribution-margin metrics for founders.
Query, forecast and alert
Plain-language queries, campaign and cohort dashboards, product metrics, forecasting workflows and alerts.
Billing and access in Phase 1
Stripe subscriptions and role-based access control.
Technical questions
How do you combine ad, store and email data to calculate e-commerce profitability?
FiftyFive Technologies extracted data from Shopify, Meta, Google, TikTok, Google Analytics and Klaviyo with Airbyte and custom services, normalised each source's format into one structure and stored it in ClickHouse. With marketing spend, orders and costs in one model, the platform calculates profit on ad spend and contribution margins at three levels for each founder's business.