Off-the-shelf CRMs don't fit how a trading house works. So I built one in days.

Every deal has a client on one side and one or more makers on the other. Generic CRMs track one side. This one runs both, with the approvals and sign-offs written into the database.

Job file133-240059-26
ClientSample buyer
Makers3, quoted by link
TermsCIF, 30% advance
Lines4 items

Inquiry

PAID

What a trading house says about its CRM

"It tracks the client. It has no idea about the makers."

A deal is an enquiry in, quotes from several makers, a priced quote out, then purchase orders both ways. A sales pipeline holds half of it.

"The real work lives in spreadsheets and chat threads."

Maker prices arrive as PDFs, Excel files and messages. Someone retypes them, and margins get lost in the retyping.

"Anyone can send a price. Only a partner should."

Approval rules sit in people's heads. A generic tool lets the wrong person press send.

"Half the office works in Arabic."

Bolted-on translation breaks layouts. Right-to-left needs to be built in, not patched.

How I work: sit with the team first

  1. Sit with themI spend time next to the people doing the quotes, not in a meeting room.
  2. Follow one quoteEmail in, Excel out, WhatsApp to a maker, a phone call to chase. I watch where it really goes.
  3. Time each stepA rough clock on every step shows where the hours go.
  4. Suggest what to cutThen I build only for the steps that cost the most, and check with the team that it helped.
Hours per quote, by step
BeforeWith Mediate
Retyping the enquiry: about 1 h before, 0.1 h afterRetyping the enquiry1 h0.1 hSplitting lines by maker: about 0.75 h before, 0.1 h afterSplitting lines by maker0.75 h0.1 hChasing makers for prices: about 2 h before, 0.75 h afterChasing makers for prices2 h0.75 hComparing prices: about 1 h before, 0.25 h afterComparing prices1 h0.25 hBuilding the quote PDF: about 1 h before, 0.25 h afterBuilding the quote PDF1 h0.25 hSign-offs: about 0.75 h before, 0.25 h afterSign-offs0.75 h0.25 hClient follow-up: about 1 h before, 0.5 h afterClient follow-up1 h0.5 h
7.5 hper quote before2.2 hwith Mediate

Estimates from watching the team, not measured data.

Show as a table
StepBefore (h)With Mediate (h)
Retyping the enquiry10.1
Splitting lines by maker0.750.1
Chasing makers for prices20.75
Comparing prices10.25
Building the quote PDF10.25
Sign-offs0.750.25
Client follow-up10.5

Build vs buy a CRM: run your own numbers

Subscriptions look cheap until you count the hours spent working around the steps they cannot model. Every assumption below is editable.

Assumptions (edit them)
Cost declarationModel
Subscription + workarounds
Custom build

Solid = licence or build cost. Hatched = staff time spent on workarounds (retyping, chasing, manual approvals). Figures are in your currency. A model, not a quote.

Real screens from the live app

Shown with the sample company the app ships with. Every number is demo data.

crm.example/today
Today screen: the one job to act on first, then open pipeline, margin, money at risk and orders this month

Today opens on the single job to act on first, then the money: pipeline, margin, and what is at risk because someone else is late.

From enquiry to payment, on both sides

Click any stage, or step through. The top lane is the client, the bottom lane the makers, exactly as the app draws it.

Job file · client side and maker side
Stage 1 of 10
What happens

What the system enforces

One tap to Arabic, right to left

The whole interface mirrors: columns, numbers, navigation. Reference numbers and part numbers stay readable as typed.

How it's built: a small stack, rules in the database

Next.js on VercelOne app, deployed in minutes
Supabase PostgresRules in triggers and row-level security
Microsoft GraphEmail in and out through the company mailbox
Deterministic intakePlain code with its own tests
MCP endpointPer-user keys for AI agents
Playwright QAClick-through of every journey after each release

Its own schema, ready to move out

The CRM lives inside an existing database project to avoid a new monthly bill, but every table sits in its own schema. The app only sees views that run with the caller's permissions.

shared Postgres project publiccrm_* viewsinvoker crm schemajobs, rfqsaudit, rulestriggers

Share links without accounts

Makers price their lines and clients track their order through a private link. No sign-up. The link calls a checked database function that can only touch that one job.

maker link/m/token checked fntoken = jobnothing else this job other jobs

Nothing to retype

Drop a PDF, an Excel sheet, a photo of a nameplate or a voice note. Intake reads it in the browser and splits lines by maker using names, part number patterns and past jobs. It is plain code with its own check file, so it costs nothing to run.

Agents welcome, on your terms

An MCP endpoint lets any AI assistant read and update jobs with a per-user key, and it runs with that user's permissions. The company brings its own AI if it wants one.

What I chose, and what it cost

No AI in the core

Reading quotes with a model would demo well and bill forever. Intake is deterministic code instead. It is free per use, gives the same answer twice, and has a check file that fails if it breaks.

Rules in the database, not the screen

Partner-only price approval, the three-level shipping sign-off before payment, owner auto-assignment and reference numbers all live in triggers and row level security. A new screen, an export or an agent cannot skip them.

Links, not logins, for outsiders

Makers and clients will not create accounts for one quote. Token links cost more care on the server side, and remove the biggest drop-off.

Borrow the database, keep it separable

A second database project would add a monthly bill on day one. One schema inside an existing project, with a one-command exit, gave both.

Working software in two days, then refined with the team

Day 1

First version live: job files, intake, approvals, maker scorecards, agent endpoint.

Day 2

Second version: drop-anything intake, maker and client links, quote revisions, money at risk, flow views, Arabic.

26

Step click-through test run against the live app after every release.

2 weeks

Of rounds from the team's own feedback: entities, banks, terms, order acknowledgements.

Questions people ask

Should a trading house build or buy a CRM?

Buy if your deals follow a simple sales pipeline. Build if every deal runs client and maker sides at once with approvals a generic tool cannot enforce. The calculator above shows where the line sits for your numbers.

How long does a custom CRM take?

This one had a working first version in one day and a full second version the next day, then weekly rounds from the team.

Can makers and clients use it without accounts?

Yes. Each gets a private link that reaches one job only.

Does it work in Arabic?

Yes, with full right-to-left layout in one tap.

What's live now

Drop-anything intake

PDF, Excel, a photo or a voice note becomes quote lines, split by maker.

Maker quote links

Each maker prices their own lines through a private link. No account.

Client tracking link

The client sees their order move like a parcel and can accept the quote online.

Sign-off rules in the database

Partner-only price approval and the shipping sign-off cannot be skipped by any screen or agent.

Money at risk, and the chase

Late confirmations and payments show as money at risk, with reminders that get firmer each time.

Arabic and MCP

Full right-to-left Arabic in one tap. AI agents connect through MCP with their user's own key and rights.

What's next: from quotes to the whole company

Connect the tools they already use (Outlook, e-invoicing portals, bank statements, WhatsApp) rather than replace them. AI only where it removes real work: rules first, AI as the checked fallback, with the running cost stated up front.

Now

Built, waiting on their mailbox
  • Sign in with Microsoft to read the whole mailbox
  • Past emails turn into jobs, threads kept together

Next

The commercial side
  • Principals and agency agreements
  • Commission expected vs received
  • Margin approvals and credit limits

Later

Finance and the view from the top
  • Finance in several currencies
  • Three sets of accounts with e-invoicing
  • One shared calendar
  • Management dashboards

Need someone who watches the work, then builds the fix?

I sit with the team, find the slow steps, and ship software that removes them.