Salesforce Project Kit: Lead Routing Engine with Samarth Ahuja

Salesforce Project Kit: Lead Routing Engine

Samarth Ahuja

Samarth Ahuja

Samarth Ahuja Tech Videos

62 ratings and 97 bookings across all services

Digital Product
1Sales

About this product

Most Salesforce portfolios are a few Trailhead badges and a to-do-list LWC. This kit gives you a project that interviewers actually ask about: a lead-routing engine with real design decisions, concurrency, failure handling and tests.

What you build

New leads are given out round-robin within their region. Reps on holiday, and reps already holding their cap of open leads, are skipped. Leads nobody can take go to a fallback queue. Sales operations manage regions, reps, caps and holidays themselves, on a Routing Board built in LWC.

What is in the kit

- The spec: user stories and 13 acceptance criteria, written like a real ticket

- A starter Salesforce DX project: the data model, the board and all 27 tests are ready; you write the four classes that do the work

- Tests that check your work: each unfinished part fails with a message naming the step that builds it, so you always know what is left and when you are done

- The finished solution: all 27 tests passing, every class above 75% coverage, run end to end in a real org

- A 17-page build guide (PDF): set-up, the design and the reasons behind it, five build steps, and the lessons found while building it

- Interview notes: a 30-second pitch, a two-minute walkthrough, and 12 questions this project invites, with strong answers

What you will practise

Custom metadata versus custom objects · trigger handlers and bulkification · platform events published after commit · a single subscriber with retries · record locking with FOR UPDATE · aggregate queries · user-mode security in an LWC controller · testing asynchronous code

Who it is for

Salesforce developers with some Apex who want a portfolio project that stands up in a product-company interview. It pairs with the free System Design for Salesforce Engineers course on samarthahuja.org.

What you need

The Salesforce CLI, VS Code and a free Developer Edition org. Four to six hours.

How it works

You get an instant download. Everything is self-paced: the tests check your work, and the finished solution is included if you get stuck. For your own learning and portfolio; please don't share or resell the kit.

₹499