Skip to content
All writing

ShelfFlow

We kept losing wholesale leads in a spreadsheet, so I built the CRM I wished we had.

SKU
MCS-SF
Company
ShelfFlow
Role
Founder, design + engineering
Dates
Feb 2026 – present
Length
2 min read
The shelfflow.app landing page, "Your retail pipeline, finally in one place."

The spreadsheet problem

Selling Cirrus 9 Candy into shops meant living in five places at once: Faire for some orders, Airgoods for others, Shopify for direct wholesale, Gmail for every conversation, and a spreadsheet trying to hold it all together. Samples went out and nobody followed up. A shop reordered and we found out by accident.

The real incumbent for a small CPG brand isn't enterprise software. It's Excel and Gmail labels. So in February 2026 I started building ShelfFlow: one record per retailer, pulled together from everywhere you already sell.

ShelfFlow pipeline board with retailers moving from lead to reorder
The pipeline: lead, contacted, sample sent, on shelf, reorder (demo data)

One record, every channel

The first weeks were all plumbing. Faire and Gmail landed in the first two days, Airgoods (plus two Chrome extensions to get at its data) by mid-February, and multiple Gmail inboxes by the end of the month. March was the big push, 260 commits in a single month:

  • Automations you can actually see. Stage moves used to be buried in edge-function code, so I made them a rules engine with a UI: when something happens, if it matches, then do this.
  • Orders from email. An LLM classifies incoming mail and turns a purchase order into a Shopify draft order.
  • A monorepo and a design system. I split the app into a Turborepo with a shared @shelfflow/ui package, so the CRM, the marketing site and an invoices Shopify app all speak the same visual language.

Designing for people and for AI

My favourite rule in the codebase: every feature ships on four surfaces, desktop, mobile, the API, and an MCP server. All the logic lives server-side, so when Claude or Cursor operates the CRM it calls exactly the same code as the buttons do. No second-class robot API.

That rule shaped Ask, which is not a chatbot. It's a question compiler with a memory: you type a question, Claude Haiku turns it into a typed query plan, and the plan runs on the same stats code the dashboard uses. If you like the answer, you pin it to the dashboard. The numbers always come from the product, never from the model.

ShelfFlow dashboard with an Ask bar above revenue and reorder charts
Dashboard with Ask (demo data)

Campaigns follow the same caution. Every follow-up is a draft by default, and autopilot is something you switch on per campaign, on purpose.

Small tools with big payoffs

Some of the most-used pieces are tiny. The Faire commission check finds orders charged 15–25% commission that should have been commission-free, gathers the evidence and tracks the claim. Prospecting and a fit screen suggest stores that match your brand. A map shows where you're stocked and where you aren't.

ShelfFlow map of stockists and prospects
Where you're stocked, and where you could be (demo data)

The rest of the business

Building the product was half of it. I also designed and built shelfflow.app, the marketing site, kept in lockstep with the app's design system, wrote and designed the pitch deck (as a web page with a PDF export, naturally), and made integrations work for any brand rather than just ours. That last one meant a per-team OAuth setup with write-only secrets: owners can save a key but never read it back.

Where it's at

464 commits between February and November 2026, about 37 Supabase edge functions, and a product we run Cirrus 9's wholesale on every day. Next up is a modular, open-source take on the whole thing.

Try it

Small, playable versions of features I designed and built in ShelfFlow. Same ideas, same motion, made-up shops.

Ask

Not a chatbot: a question compiler. Claude turns a question into a typed query plan, and the numbers come from the same stats code as the dashboard, never from the model.

query plan

from: "orders"where: { kind: "reorder", period: "this_quarter" }group_by: "retailer"metric: "count"sort: "desc", limit: 4
  • Hudson Sweet Shop4
  • Kingston Mercantile3
  • Beacon General2
  • Catskill Pantry1
Demo data

Automations

Stage moves used to hide in edge-function code. Now they're rules you can read and change. Follow-ups are drafts by default, so nothing sends without a look.

  1. Lead

    Beacon General

    Faire

  2. Contacted

  3. Sample sent

  4. On shelf

  5. Reorder

  • Press Run to watch the rule fire.
Demo data