In detail
Project snapshot
Project: North Coast Pontifex, North Coast Medical internal tooling
Role: Full-stack design engineer
Stack: Next.js, React, TypeScript, Convex, Microsoft Entra ID, OpenAI Responses API, Retool webhooks, Tailwind CSS, Cloudflare Worker branded links.
Turn fragmented inputs into reviewable work
Sales and account teams worked across pasted mNotes, product IDs, distributor context, samples and follow-ups. North Coast Pontifex brought those inputs into a guided internal workspace, with human review between generation and external sharing.
I designed and built the product experience, frontend, backend, authentication, data model and integrations. The central decision was to make generated material editable and inspectable—not to replace a person's judgment with an opaque AI response.
Decisions that kept people in control
Show the inputs before generating the document
The Product Intro Generator parses category headings and product IDs, retrieves product metadata and lets users review the selection. Search, image choices, section ordering and editable copy keep the document grounded in products the user actually intends to discuss. Thin company context calls for neutral wording, not invented familiarity.
Make recovery and sharing part of the workflow
Saved drafts and recovery support work that cannot be completed in one sitting. Read-only documents and branded links separate the external result from the authenticated internal tools. Public asset allowlisting and route restrictions support that separation.
Build shared infrastructure without claiming every tool is finished
A shared shell, registry, access model, Convex data layer and Retool webhook boundary support multiple tools. Microsoft Entra sign-in and per-user tool gates govern access. Account Activity Review was started, with filters and a review layout; it is not presented as a completed operational capability.
Technical depth
- The Product Intro Generator parses mNotes category headings and product IDs, fetches product API metadata, optionally analyzes a company homepage, and generates structured introduction copy.
- Users review parsed products, add products through search, choose images, reorder/refine sections, save drafts, and share read-only documents.
- Generation is grounded in selected products, API data, optional company context, and cached summaries. Thin context produces neutral copy. Guardrails prohibit invented claims, partnerships, pricing, availability, and internal-process references.
- Structured fields preserve relationships; server sanitization removes common internal-language leaks. Product summaries cache by metaItemId, company profiles by normalized website URL.
- Migrated state from PocketBase to Convex. Added Entra sign-in, Convex custom OIDC, whitelist seeding, per-user tool gates, admin access, auth recovery, redirects, and collaborator controls.
- Public read-only documents use /plg-document/[id], branded Worker links, public asset allowlisting, route restrictions, and sample request routes.
- Retool webhooks support account search, mNotes, accounts, normalized summaries, and debug/testing flows.
- Started Account Activity Review with account filters, sample flags, request/search timelines, and review layout.
- Tests cover access, documents, parsing, samples, Retool integration, and tool manifests.
Delivery and evidence
The implementation account describes the Product Intro Generator, editable drafts, branded sharing and reusable internal-tool infrastructure as delivered. Product and company-summary caches avoid regenerating identical context; no measured productivity, AI accuracy or sales improvement is supplied.
Messy notes, partial data, public sharing, cross-system authentication and retained Retool dependencies remain constraints. Human review and restrictions on unsupported claims are design safeguards, not proof that generated output is always correct. Account Activity Review remains explicitly unfinished in this account.
The existing Pontifex illustration is an editorial workflow diagram, not a capture of a private internal interface. Related work: healthcare commerce modernization.