Sales quoting at this manufacturer had been living in Salesforce. The path a quote actually takes is specific: engineering has to cost it, sales prices it, a manager approves the larger ones, and the customer receives a PDF. Bids that are still months out need a watchlist of their own. Salesforce held the records. We built a quoting application around that path. New quotes are written there, the Salesforce history came with them, and the company owns the system.
What had to survive the move
A quoting system that starts empty is not a replacement. Sales needed the customers, contacts, and old quotes they already had. They also needed to copy a previous quote forward when a job came back, instead of retyping line items out of a PDF.
The review path had to stay visible. A quote sitting with engineering should look different from a quote waiting on a manager, and different again from one already sent.
What we built
A salesperson opens a draft against a customer and a contact. The quote keeps a snapshot of that company, contact, and address, so the PDF still reads correctly if the master record changes later. Line items can look up a part in Plex. Drawings, correspondence, and specs attach to the quote in named categories.
From there the quote follows one path:
- Draft, while sales is still writing it
- Engineering, where an engineer claims it, adds cost and notes, and marks the review complete
- Sales review, for pricing and a final read
- Supervisor approval, when the total is over the company's threshold
- Sent, as a PDF and a customer email
- Won, lost, or expired. A lost quote requires a reason.
The quote page shows that path the same way Product Activation shows an order: the current step, who owns it, and a history of how it got there. The quotes list and the engineering queue show a shorter version of the same rail, so a person can see the pile without opening every record. Engineers claim unassigned quotes oldest first.
Future Projects is the list for work that is not a quote yet. A bid window has a target month, a status, and an optional reminder. When it is time, sales turns the project into a draft and the reminders stop.
The Salesforce record did not get thrown away
Accounts, contacts, opportunities, and quote lines were imported. On a customer page, sales can open that history and copy a Salesforce quote into a new draft. The copy keeps the commercial lines and restores details the export had damaged, including inch marks that had turned into question marks in part descriptions.
Duplicate customers from the import are reviewed in the app and merged, so contacts, quotes, and the Salesforce aliases move onto the record the company keeps. Quotes that never received a customer during import can be matched and linked, with the ambiguous ones left for a person to decide.
What changed
Quoting now follows the review path the company actually uses, in software they own. A sent quote keeps its revision. A manager sees the quotes waiting on them. Engineering sees a queue. Status changes, approvals, and edits are written to an audit log with the person who made them. The old Salesforce quotes are still on the customer, available to copy.
The stack is Next.js, TypeScript, and Prisma, hosted on Azure. Sign-in is Microsoft Entra. Customer email and the PDF go out through Microsoft Graph. Uploaded files live on persistent storage, so a redeploy does not drop a drawing package.
This project replaced the quoting path, and kept the history people still look up. If a single workflow is stuck inside a CRM, we can talk about that workflow on its own.