Custom operations platform for an industrial roller distributor covering sales, quoting, vendor management, and invoicing end-to-end.
The challenge
RollerFlow managed their business using fragmented data spread across multiple legacy systems. Their sales team struggled to track complex quotes, while supply chain managers lacked clear visibility into vendor performance. This lack of integration caused lost sales opportunities and slow response times for their industrial clients.
What we built
We developed a centralized operations platform that serves as the single source of truth for the entire company. The system acts as a custom CRM handling the full lifecycle of a job—from the initial email inquiry through vendor sourcing, customer quoting, project delivery, and final invoice.
In plain English
- When a customer emails in a request, the system reads it, understands what they need, and either creates a sales opportunity automatically or flags it for a quick human review.
- Sales reps build and send quotes inside the same tool; customers sign and accept online without creating an account.
- Vendor quotes are pulled in, compared side by side, and scored so the team always picks the best option with confidence.
- Everything—calls, emails, documents, payments—lives in one place, so no one is hunting across spreadsheets or inboxes.
How it works (technical)
Frontend: React 18 single-page application built with Vite and Tailwind CSS (shadcn/ui components). Pages are lazy-loaded via React.lazy/Suspense. Data fetching uses TanStack Query; charts use Recharts; PDFs are generated client-side with jsPDF and html2canvas. Design follows a fixed internal visual brief covering colors, spacing, and tap-links.
Backend: A managed cloud backend (schema-defined database with row-level/ownership security, ~158 Deno serverless functions, ~37 event-driven workflows triggered by data changes, schedules, or connected services, and ~50 data entities with per-record access rules).
Integrations:
- Gmail — push webhook ingestion (
gmailInboxWebhook → _ingestEmailCore) stores one record per Gmail thread plus messages; matches threads to records by contact email, domain, and former company names; AI classifies real RFQs vs. other mail; confirmed RFQs become Deals automatically; uncertain ones go to an AI review queue; threads carry response status and an audit trail; test-mode banner included.
- Google Drive — automatic job folder creation per deal/project.
- Google Calendar — two-way event sync.
- QuickBooks Online — OAuth connection; invoice push and payment pull.
- Quo / OpenPhone — HMAC-signed webhooks for calls, texts, transcripts, and summaries; phone numbers normalized to E.164 and 10-digit form; duplicate call records prevented by external call ID; unmatched callers surface in a Today page inbox grouped by number; contact changes trigger workflows that push updates back to Quo.
- Pipedrive migration toolkit — one-off import scripts and backfill utilities.
- Managed cloud payments module.
Deal and project state machines: Deals and Projects move through enumerated stages with an "awaiting" status and "awaiting since" date feeding urgency buckets in action queues and a "Start My Day" router. Workflows react to stage changes: a Won deal becomes a Project and generates Vendor POs; new deals receive job numbers and follow-up tasks; line-item edits recalculate totals and margins automatically.
Document numbering and dates: Shared modules generate quote, invoice, and PO numbers (including invoice suffixes like -2 and vendor PO numbers mirroring customer POs). Dates are stored as plain ISO dates; milestones use US Eastern time to prevent timezone drift.
Customer-facing pages: Quote acceptance, invoice view, and customer portal are public token-secured pages requiring no login. Acceptance captures a drawn signature, typed name, and agreed terms version; view counts and timestamps are recorded.
Vendor intelligence: Vendor capabilities sourced from a master list or AI-drafted from a vendor's website; "Do not use for" blocks supported. Reliability scores (response, delivery, consistency, value) recalculated daily; vendor quotes compared side by side.
Data quality: Records carry live/archive flags; merged records reference their merge target; customers and vendors can be cross-linked. Contacts retain employment history with "possible move" suggestions and saved "Not a move" preferences. A Data Cleanup page groups duplicates.
Access and resilience: Role-based page filtering, login-required routes, error boundaries on record pages, post-login redirect recovery, and daily AI usage rate limiting.
AI capabilities: Structured-output LLM calls classify RFQs, extract line items from emails/PDFs/images/spreadsheets, parse vendor quotes, rank vendors, score leads and vendor reliability, write summaries, and power an in-app support agent.
Why it matters
Centralizing these workflows removes manual data entry and reduces human error across every department. With accurate, real-time data at their fingertips, RollerFlow closes deals faster and gives customers more reliable delivery timelines.
Want something like this?
Save the projects and features you like, then send us your list so we can prepare a focused first meeting.