Skip to content

Case study · Sales Operations

Decisions on Demand

A Certified Salesforce AppExchange Assignment Engine

Decisions on Demand is a consulting and technology services company delivering business process management, low-code development and automation. Its Salesforce AppExchange application automates the assignment, routing and distribution work that marketing and sales operations teams otherwise do by hand.

The app handles complex routing, including round-robin distribution, load balancing and lead-to-account matching, and it accounts for absences, working hours and skills so follow-ups actually happen.

Live at: decisionsondemand.com

Client
Decisions on Demand
Product
Salesforce AppExchange managed package
Sector
Sales operations, CRM and process automation
Engagement
Senior Salesforce developer embedded in the client’s team

Delivered Capabilities

What We Built for Decisions on Demand

01

Dynamic Assignment

Leads and opportunities routed by flexible rules.

02

Custom Configuration

Complex rules set through metadata, with no code needed.

03

Weighted Distribution

Weighted round-robin and priority rules balance workloads.

04

Flow Integration

Assignment logic callable from Salesforce Flows.

05

API Availability

Assignments triggered from outside Salesforce.

06

Audit Logging

Full logs for troubleshooting and improving rules.

07

AppExchange Compliance

Certified against Salesforce security standards.

Project requirement

Assignment looks simple until volume and exceptions arrive. Five requirements defined the build.

  1. 01

    Route thousands of leads and opportunities quickly and accurately across multiple territories and representatives.

  2. 02

    Implement complex assignment logic, including round-robin, load balancing, lead-to-account matching and priority rules.

  3. 03

    Apply consistent, reliable rule logic across all Salesforce objects, not only leads and opportunities.

  4. 04

    Extend automation into related processes such as data enrichment, task creation and checklist management.

  5. 05

    Let administrators manage, share and reuse rules without a developer or technical expertise.

Our approach

An embedded engagement: our senior Salesforce developer worked inside the client’s engineering team and owned features end to end.

Step 1

Scoping

Features scoped from scratch with the client’s product team.

Step 2

Design

Designed within the constraints of a managed package.

Step 3

Implementation

Built in Apex and Lightning Web Components.

Step 4

Release

Released as a certified managed package.

Configuration Without Code

Rules are defined through metadata, not code. A test console lets an admin check a rule before it goes live, version history makes every change traceable and reversible, and Excel import and export supports bulk editing.

Together these make admin ownership safe, not just possible: handing rules to non-developers without a way to test, track and roll back would move risk rather than remove it.

Passing the AppExchange Security Review

A managed package on the AppExchange has to clear Salesforce’s security review, an external audit of code quality. Bulk-safe coding, correct sharing settings, optimized queries and asynchronous processing for large data volumes were all needed to get through it. Certification matters because it is not self-assessed: Salesforce checked the work.

Diagram: bulk-safe coding, sharing settings, optimized queries and asynchronous processing leading to a certified AppExchange package

Code Review for the Whole Team

Our engineer also owned pull request review for the client’s entire development team, so every change entering the product passed one consistent review before merge.

Project success

A managed package that clears Salesforce’s security review and puts rule control in the hands of administrators.

  1. 01

    An object-agnostic rule engine: logic generalized across all Salesforce objects, so routing rules don’t fragment per team.

  2. 02

    Absences, working hours and skills are evaluated alongside the routing rules, so leads never go to someone who can’t act on them.

  3. 03

    A modular design on Salesforce Flows, Apex and Platform Events, extending automation beyond assignment without tangling it with routing.

  4. 04

    The Decisions on Demand table shows all the data behind an assignment in one view, so routing decisions can be audited.

Results

Certified, automated and owned by the admins who use it.

Certified Package

Passed the AppExchange security review; ships as a certified managed package.

Assignment Automation

Lead and opportunity routing runs without manual input, cutting admin work and the delay before a rep sees a lead.

Admin Independence

Admins create, test, share and reuse rules, so routing changes don’t wait on a developer.

Performance at Volume

Optimized queries and asynchronous processing handle large data volumes within platform limits.

Adoption Support

Admin and developer guides plus flow templates, so customers can implement it without bespoke consulting.

Code Quality

One review standard held for everything entering the product.

Technologies we used

  • Salesforce
  • Apex
  • Platform Events
  • Salesforce Flows
  • Lightning Web Components
  • Aura Components
  • Managed Packages
  • AppExchange

Start a project

Have a Project Like This?

Tell us what you are trying to build. We will reply by email with questions, not a sales pitch.