A laptop showing a lead-routing dashboard connecting to installer partner profiles, set against a solar panel field, representing an optimized lead distribution system for a solar panel manufacturer
Customer Success

Optimized Lead Distribution System for a Global Solar Panel Manufacturer

Contact Us
Mirketa7 min read

Customer Success Summary

DetailDescription
ClientA major global manufacturer and seller of solar panels (client name withheld)
IndustrySolar panel manufacturing, sold through a worldwide network of small-business installer partners
ChallengeDistributing multi-source leads fairly and geographically to a tiered partner network with capacity limits, reassignment rules, and a third-party mobile app
SolutionAn automated, geo-matched round robin Lead Distribution System built in Salesforce
Technologies UsedSalesforce, GeoPointe, scheduled batch Apex, round-robin assignment logic, REST API integration with a partner mobile application
Business ImpactFaster lead response, fair distribution across partners, optimized partner load, and real-time mobile lead access

Background & Context

The client is a major global manufacturer and seller of solar panels with an extensive network of partners worldwide. These partners, typically small businesses, purchase solar panels from the client and install them on rooftops or open spaces for end customers. As lead volume grew across regions, getting each lead to the right partner quickly and fairly became a genuine operational problem.

Business Challenges

The client's lead distribution process needed to solve six distinct problems at once:

  • Multi-source lead ingestion: leads were entering Salesforce from multiple sources
  • Geographical assignment: leads needed to be assigned to the nearest partner
  • Fair distribution: partners should receive leads in a round-robin fashion
  • Partner hierarchy & load management: different layers of partners with varied lead-handling capacities, each with a threshold for the maximum number of leads they could handle at a given time
  • Lead reassignment & expiry: a lead could be reassigned up to three times before being considered unserviceable
  • Partner system integration: partners accessed assigned leads through a mobile application built on a different tech stack, requiring seamless integration with Salesforce

Solution Overview

Mirketa designed and implemented an automated Lead Distribution System in Salesforce that geo-matches every incoming lead to the nearest available partner, distributes leads fairly by round robin within capacity limits, handles reassignment when a lead is rejected, and keeps a third-party partner mobile application in sync with Salesforce in real time.

Architecture & Integration

1. Geographical Mapping & Lead Assignment

  • Tool used: GeoPointe (can be replaced with the Google Maps API in the future)
  • When a lead enters Salesforce, its latitude and longitude are determined
  • A scheduled batch process runs every hour to identify the nearest partner using a tiered search radius (5, 15, 30, 50 miles)

2. Round-Robin Lead Assignment

  • Leads are distributed in a fair round-robin manner among partners
  • Partner lead quotas are enforced based on their hierarchy
  • If a partner is at capacity, the lead is assigned to the next available partner

3. Lead Reassignment Rules

  • If a partner rejects a lead, it is reassigned up to three times
  • If no partner accepts after three attempts, it is flagged for review

4. Integration with Partner Mobile Application

  • Partners access leads via a mobile application built on a different tech stack
  • Real-time updates are pushed to the mobile app through API integration
  • Lead statuses (accepted, rejected, completed) sync back to Salesforce

Implementation Highlights

  • Tiered geographic matching using a stepped search radius (5, 15, 30, 50 miles) so leads always reach the closest available partner
  • Hourly scheduled batch processing to keep assignment running automatically at scale
  • Hierarchy-aware round-robin routing that respects each partner's lead-handling capacity
  • A three-attempt reassignment safety net so no lead silently disappears if a partner doesn't respond
  • Two-way API sync with a third-party mobile app on a completely different tech stack

Business Outcomes

By automating geographic matching, fair distribution, and mobile sync, the client removed the manual coordination that previously slowed down getting a lead in front of the right installer partner, while still respecting each partner's real capacity to take on new work.

Key Results

  • Improved lead response time through automated, near-instant assignment to partners
  • Fair distribution, the round-robin mechanism prevents lead hoarding
  • Partner efficiency optimization, since load management ensures partners only receive leads they can handle
  • Enhanced partner experience, with mobile app integration providing real-time lead access and updates

Technologies Used

  • Salesforce
  • GeoPointe (geolocation matching)
  • Scheduled batch Apex
  • Round-robin assignment logic
  • REST API integration with a partner mobile application

Lessons Learned

This engagement showed that fair distribution and geographic relevance aren't competing goals: a tiered search radius combined with hierarchy-aware round-robin routing let the system optimize for both at once. It also pointed to a clear next phase of investment. The client is evaluating future enhancements, including:

  • AI-based lead scoring for better prioritization
  • Machine learning to predict partner availability and optimize lead routing
  • Real-time push notifications for quicker partner responses

About Mirketa

Mirketa Inc. is a Salesforce AppExchange Partner specializing in digital transformation solutions across Education, Healthcare, and Nonprofit sectors. With deep expertise across the Salesforce platform, including manufacturing and dealer network implementations, Mirketa enables organizations to achieve automation, scalability, and superior user experiences. Headquartered in Dublin, California, with delivery centers in Noida and Bangalore, Mirketa has successfully delivered hundreds of Salesforce implementations globally.

Frequently Asked Questions

Managing lead distribution across a dealer, installer, or partner network on Salesforce? Schedule a consultation with Mirketa to talk through your assignment logic.

Get Started

Have Questions? Let's Talk

Share a few details about your goals: a Mirketa consultant will follow up within one business day.

  • A specialist follows up within one business day
  • A no-obligation conversation about your specific goals
  • Answers from someone who actually works in this space
  • Your information stays confidential
Certified PartnerSOC 2 CertifiedHIPAA ReadyEnterprise Ready

Schedule a Free Consultation