Work / CRM intelligence layer

Case study · Data and AI

37 million rows from SQL Server to PostgreSQL, over a link that drops

Built for a publicly listed Indian steel manufacturer. Their sales history lived in SQL Server. I built the layer that syncs it into PostgreSQL, scores every lead, and gives each of 12 roles the view it needs.

Client
A publicly listed Indian steel manufacturer
Hard part
Moving the whole sales history over a link that drops, with zero duplicates.
Result
Every role, field officer to CMO, works from one live dataset. Lead scores keep coming when the LLM is down.
Built by
Sparsh Prajapati, full-stack engineer

A sync that survives a cut

Every chunk commits with a checkpoint. Pull the plug: the chunk rolls back, the next run resumes. Retries can't duplicate.

37 million rows of sales history moved this way, with zero duplicates.

Lead scoring that doesn't stop

Groq scores the leads. When it stalls, rules take over, and the screen says so.

One dataset, twelve roles

Field officer to CMO. Same tables, same queries, different answers. A field officer sees their own accounts and today's follow-ups; a CMO sees everything aggregated, with drill-down to any account.

Stack

React 18 · TypeScript · Vite · FastAPI · SQLAlchemy · SQL Server · PostgreSQL · Groq LLM · Google Cloud Run

Links

Need something like this?

I take on freelance projects and remote roles, including with teams outside India. Send a few lines about what you're building and when you need it.

Email meHow I work

More work