All work

Case 04 / Applied AI & revenue operations

The CRM behind the conversation

Lead scoring, account history and two-way integration with the WhatsApp platform.

NestJS · Next.js · Refine · HMAC · Microsoft Graph

I built an in-house CRM and the integrations around it at a B2B telecom. The work connects lead scoring, commercial funnels, account history and communication with the WhatsApp platform. It gives the commercial process a shared record beyond the conversation itself.

I work across requirements with the sales team and implementation in production. My earlier account-management and sales-coordination roles help me reason about the difference between a contact, an opportunity and an account with an existing history.

An integration has to survive repeated events and updates arriving through different systems. A useful dashboard also needs to let someone inspect the record behind a number. A total without the account, source or stage underneath it is not enough for commercial work.

The public board uses a small synthetic pipeline. Its opportunity values, scores and historical account values are illustrative. They are not revenue figures from the telecom. The demonstration also keeps historical LTV separate from the value of an open opportunity.

I built the CRM with NestJS, Next.js and Refine. It includes lead scoring, funnels, drill-down reporting, account merging, multi-account LTV and permissions. Microsoft Graph supports email integration, and Teams notifications connect the system to the team's working channels.

The two-way connection to the WhatsApp platform uses HMAC-signed, idempotent webhooks and reconciliation. It carries tickets, tags, deals and events. I also connected first-touch attribution to the CRM, including Click-to-WhatsApp sources, LTV and MQL information from RD Station. A CRM panel sits inside the conversation. For in-house reporting, I evaluated marketing-analytics ingestion through Windsor.ai, Supermetrics and Fivetran.

System flow / simplified
  1. 01WhatsApp events
  2. 02HMAC + idempotency
  3. 03CRM / account graph
  4. 04Reporting + attribution
  5. 05Graph / Teams

Move a synthetic opportunity through the board or use its native stage selector. Open Funnel to compare stage counts and conversion, then drill into a stage. Account shows two prior opportunities merged across account references. Historical LTV remains separate from the open opportunity, and moving a lead backward does not erase its earlier progress through the funnel.

The integration boundary is about trustworthy state. Signature verification checks the source of an event; idempotency prevents a repeated delivery from applying the same action twice; reconciliation addresses differences between systems. The public loop illustrates an event applied once. It does not expose a production endpoint, signing secret or private database schema.

The result is an in-house CRM linked to the conversation platform, with commercial reporting and account history in the same workflow. No approved revenue-lift or time-saving figure was supplied for this project, so the case does not claim one.

The attribution work makes it possible to follow the source into the CRM and inspect account value. In the demo, a meeting request remains a meeting request. It does not become won revenue merely because an animation has reached its last stage.

NestJS · Next.js · Refine · HMAC · Microsoft Graph

I would expand the public demonstration with a duplicate event and a delayed update, then show reconciliation restoring the expected state. That would make the integration behavior easier to inspect without sharing its implementation.

I would also make permission boundaries visible through a synthetic read-only role. The current board illustrates the commercial workflow; it is not a reproduction of the employer's complete access model.

Screens are rebuilt with synthetic data; numbers are the ones approved for sharing.