Unify the streams, compute one way, and gate what can be reported. This dashboard replaced a recurring spreadsheet reconciliation across pipeline, AR, AP and market data with an audited ingestion path, whitelist-only monetary metrics, and AI restricted to narration and classification — never to producing a financial figure.
Alex Scharifker · Product architect and implementation lead
Designed and led by Alex Scharifker as an internal revenue and financial-intelligence system.
Pipeline data lived in Quickbase, AR and AP aging lived in accounting exports, client conversations lived in email and memory, and market signals lived in browser tabs. Producing one management view meant a recurring manual spreadsheet reconciliation — slow, unauditable, and prone to definition drift where two people could produce two different numbers from the same source.
Sources in, deterministic logic in the middle, AI restricted to interpretation.
Data sources
Layers
Deterministic logic
Where AI is used
Decision loop
My role
Layer-by-layer architecture, deterministic model, AI guardrails, and the decision loop.
A monthly spreadsheet reconciliation produced a backward-looking summary nobody fully trusted. This system replaces it with one governed ingestion path, one set of encoded definitions, and a current pipeline-to-cash picture.
Key takeaways
Architecture Principle
Quickbase REST pull and webhook push, accounting exports, tender boards, market news feeds, and human entry in the app — four streams that previously lived in four different tools.
27 Deno edge functions split by role: ingestion and sync, AI inference, retrieval, and platform. Auth, CORS, audit and model access are implemented once in shared modules.
Postgres as the system of record. Every business table carries organization_id and is scoped by row-level policy; roles live in a separate table and are read through security-definer functions, never client state.
Pure TypeScript over normalized rows: whitelist metric resolution, AR/AP aging, DSO/DPO/CCC, Sunday-cutoff weekly and YTD series, entity and intercompany classification.
The report catalog unlocks only what the present datasets can actually support. Dashboards write decisions back into the same tables the analysis reads from.

Get insights on product management and operations delivered to your inbox.
Subscribe on LinkedIn