- Home
- Apps
- SaaS Tools
- Lead Scoring & Routing Engine
Illustrative previewA build-to-order Frappe app that adds rule-based and behavioral lead scoring to ERPNext CRM,
then auto-assigns every lead by round-robin, weight, or territory.
ECOSIRE scopes, builds, installs, and supports it on your bench.
What is Lead Scoring & Routing Engine?
A build-to-order Frappe app that adds rule-based and behavioral lead scoring to ERPNext CRM, then auto-assigns every lead by round-robin, weight, or territory. ECOSIRE scopes, builds, installs, and supports it on your bench. Built to order by ECOSIRE for ERPNext v15, v16 — indicative price from $999.00 USD; request a quote for a scoped proposal.
Key Features
Built to order, done for you
No DIY setup — a working app, built, installed and supported by ECOSIRE.
- 1
You order
Start with a one-time build price. We scope it with you at kickoff.
- 2
We build & install
ECOSIRE builds, configures and installs it on your ERPNext.
- 3
Go live + support
You go live in about one working week, with two weeks of go-live support. Defects in the code we deliver are fixed free of charge.
Technical Specifications
- ERPNext Compatibility
- —
- License
- Licence confirmation required
- Python Requirement
- Python 3.10+
- Database
- MariaDB 10.6+
About this Product
High lead volume exposes a real gap in ERPNext CRM out of the box: the Lead DocType has no native scoring, and Assignment Rule gives you basic round-robin ToDo assignment but no concept of demographic fit, behavioral intent, score thresholds, or grade-based prioritization. Sales-ops teams end up bolting scoring logic into spreadsheets or leaving reps to cherry-pick leads, so hot inbound sits unworked while low-fit leads soak up capacity. When you try to encode "score the lead, grade it, then route hot A-grade leads to senior closers by territory" using only stock ERPNext configuration, you run out of road fast.
ECOSIRE builds a proper Frappe app — its own module, not a pile of loose customizations — that closes that gap. We add a Lead Scoring Rule DocType (weighted conditions on industry, company size, source, country, and any custom field you already capture) and a Lead Behavior Event model that accumulates points from tracked signals such as email opens, website visits, form submissions, or webhook pings via a whitelisted REST endpoint. A hooks.py doc event on Lead (and optionally CRM Lead on v16) recomputes the total score on validate/after_insert through a server script, writes back a numeric custom_lead_score and a derived grade (A/B/C/D against configurable thresholds), and stamps the scoring timestamp. Nothing is hard-coded — thresholds, weights, and grade bands live in a single Lead Scoring Settings singleton so your ops team tunes them without a redeploy.
Routing runs the moment a lead crosses a threshold. We ship a configurable Lead Routing Rule engine supporting three strategies: round-robin across an eligible sales pool, weighted round-robin (a senior rep can carry a 3:1 share), and territory/product-based assignment that maps the lead's territory, country, or product interest to a specific owner or team. Assignment writes a standard Frappe ToDo and sets lead_owner, so it plugs into the native Assignment Rule, notifications, and Kanban views you already use — reps see it in the same inbox, no new UI to learn. A scheduler event sweeps stale or unassigned hot leads on an interval as a safety net, and every scoring and routing decision is logged for audit. Client scripts surface the live score, grade, and next-best-action badge directly on the Lead form. Role profiles and permissions gate who can edit rules versus who only sees the outcome.
Because this is built for your ERPNext, it fits your fields, your territories, and your sales structure — and it targets the version you actually run (Frappe/ERPNext v15 or v16). It is not a Frappe Cloud Marketplace download; there is no instant install. After you request a quotation we run a short scoping call, confirm your scoring dimensions and routing strategy, then build, install on a staging bench, and hand over. Typical delivery is one working week from confirmed scope, and you receive the installable source, a git repository, documentation, training, and a post-go-live support window.
What you get
- Installable source code for the version we build, packaged as a proper Frappe app for your v15 or v16 bench
- Installation and configuration on your staging bench, including `Lead Scoring Settings`, initial rules, and routing pools wired to your real territories
- Technical documentation: DocType reference, hooks and server-script logic, REST endpoints, and scheduler jobs
- End-user guide plus a live training session for sales-ops on tuning weights, thresholds, and routing rules
- UAT on staging with your sample lead data, sign-off checklist, and a documented rollback plan before production
- Post-go-live support window for bug fixes and configuration adjustments
- Git repository handover with full commit history and branch/tag for the released version
- Data-migration notes and re-scoring helper to backfill scores onto your existing lead pipeline
Who this is for
Sales Operations Manager
Owns lead distribution fairness and pipeline hygiene. Needs auditable, rule-driven scoring and routing that replaces spreadsheet triage and manual reassignment, tunable without engineering tickets.
Head of Sales / Revenue Leader
Wants reps spending time on the highest-fit, highest-intent leads. Needs grade-based prioritization so A-grade inbound reaches senior closers fast and nothing hot sits idle.
ERPNext Administrator
Runs the bench and cares about maintainability. Needs a clean Frappe app with proper DocTypes, hooks, permissions, and a git repo — not scattered customizations that break on the next v15/v16 update.
Marketing Operations Lead
Feeds behavioral signals into the CRM. Needs whitelisted REST endpoints to push email/website engagement events so lead scores reflect real intent, not just form-fill demographics.
How Lead Scoring & Routing Engine Compares
| Criterion | ECOSIRE | Custom Build | Competitor | ERPNext Native |
|---|---|---|---|---|
| Lead scoring | Rule-based + behavioral, weighted, tunable via settings singleton | Whatever you build and maintain in-house | Fixed scoring model, limited to its own fields | No native lead scoring on the Lead DocType |
| Grades & thresholds | Configurable A/B/C/D bands, no redeploy to change | Possible but you design and code it | Often hard-coded or absent | Not available |
| Routing strategies | Round-robin, weighted, and territory/product-based | Build each strategy yourself | Usually round-robin only | Basic assignment via Assignment Rule, no weighting |
| Behavioral signals | Whitelisted REST endpoints feed `Lead Behavior Event` | You build the ingestion and storage | Rarely supported or add-on gated | None |
| Fit to your fields & territories | Built around your existing custom fields and territories | Fully bespoke by definition | Fit only where its schema overlaps yours | Generic, no scoring layer to fit |
| Auditability | Every scoring/routing decision logged with rule and delta | Only if you build logging | Varies, often opaque | No decision log |
| Ownership & handover | Source code + git repo handed over to you | You own it, and all the build effort | Licensed, no source, vendor-locked | Core code, not a scoring solution |
| Support & delivery | Scoped, built, installed, UAT'd, with a support window | Your team's time and roadmap | Self-install, community/ticket support | No delivery — you configure it yourself |
Frequently Asked Questions about Lead Scoring & Routing Engine
How long does delivery take?
This is build-to-order. After you request a quotation we run a short scoping call to confirm your scoring dimensions and routing strategy, then build, install on staging, and hand over. Typical delivery is one working week from confirmed scope, depending on how many rules, territories, and behavioral integrations you need.
Is this an instant download from the Frappe Marketplace?
No. It is not an existing marketplace app you install yourself. ECOSIRE builds it specifically for your ERPNext instance, installs it, and supports it. You receive the source code and git repository as part of handover.
Which ERPNext versions are supported?
We build against Frappe/ERPNext v15 or v16. We target the version you actually run in production so the app installs cleanly on your bench and survives standard updates. Tell us your version on the scoping call.
How does scoring actually work under the hood?
A `hooks.py` doc event on the Lead fires a server script that evaluates your `Lead Scoring Rule` records, sums weighted points from demographic conditions and accumulated `Lead Behavior Event` signals, then writes back `custom_lead_score` and a derived grade. Thresholds and weights live in a settings singleton so your team tunes them without a redeploy.
How are leads routed, and does it work with our existing assignments?
The routing engine supports round-robin, weighted round-robin, and territory/product-based assignment. It writes standard Frappe `ToDo` records and sets `lead_owner`, so it integrates with your existing Assignment Rules, notifications, and Kanban views — reps see leads in the same inbox they already use.
Can we feed in behavioral data from our website or marketing tools?
Yes. We expose whitelisted REST endpoints so your website, marketing automation, or webhooks can push events like email opens, page visits, and form submissions. Those events accumulate as `Lead Behavior Event` records and raise the lead's behavioral score in near real time.
What support and updates do we get after go-live?
Handover includes a post-go-live support window for bug fixes and configuration adjustments, plus full documentation and the git repository. Because you hold the source, your team or ours can extend it later. Ongoing enhancement or version-upgrade retainers are available separately.
Related Modules

Kitchen Display System (KDS) for ERPNext
A real-time kitchen display that streams ERPNext POS orders straight to cook stations with color-coded prep timers, bump-bar controls and multi-station routing. ECOSIRE builds, installs and supports it as a native Frappe app after we scope your kitchen with you.

KSA GOSI & Mudad Payroll Compliance
A build-to-order ERPNext app that adds Saudi payroll compliance — GOSI dual-rate contributions, Mudad WPS file generation, and end-of-service benefit calculation — natively into your Salary Slip and Payroll Entry flow. ECOSIRE builds, installs, and supports it after we agree on your scope.

Lending & Loan Management for ERPNext
A build-to-order ERPNext app for running staff or customer loans end to end — loan products with configurable interest types, automated EMI schedules, interest and penal-interest accrual, disbursement and repayment entries, and collateral tracking. ECOSIRE scopes, builds, installs and supports it on your ERPNext v15/v16 site.

LinkedIn & Indeed Job Sync for ERPNext
A build-to-order Frappe app that pushes ERPNext Job Openings to LinkedIn and Indeed, then pulls applicants back into your ATS with source attribution and duplicate detection. ECOSIRE scopes, builds, installs, and supports it for you.
Lead Scoring & Routing Engine
A build-to-order Frappe app that adds rule-based and behavioral lead scoring to ERPNext CRM, then auto-assigns every lead by round-robin, weight, or territory. ECOSIRE scopes, builds, installs, and supports it on your bench.
- Dedicated Frappe app and module with a `Lead Scoring Rule` DocType for weighted demographic conditions on industry, company size, source, country, and any existing custom field
- `Lead Behavior Event` DocType accumulating points from tracked signals (email opens, page visits, form submits) ingested via a whitelisted `frappe.whitelist()` REST method
- `hooks.py` doc events on `Lead`/`CRM Lead` (`validate`, `after_insert`, `on_update`) that recompute the score server-side, never in the browser
- Server script recomputes `custom_lead_score` and derives an A/B/C/D grade against configurable threshold bands