Color Theme
Now available — v1.0 stable release

Route every lead
to the right rep,
instantly.

Self-hosted Salesforce lead routing with a visual canvas builder, round-robin teams, and real-time assignment. Your data never leaves your server.

$

Everything you need to
automate lead assignment

From syncing users to building visual routes — every step designed for speed and clarity.

01

License your
Salesforce users

Sync users from Salesforce by role, profile, or individually. License them with a single click. Bulk operations make managing hundreds of reps effortless.

Bulk sync Role-based import License management
License Users
↻ Sync by Role
UserRoleProfileLicensed
SR
Sarah R.
Sales RepStandard
MK
Mike K.
AEStandard
JL
Jess L.
SDRStandard
AP
Anita P.
ManagerAdmin
DW
Dan W.
Sales RepStandard
02

Build round-robin
teams

Create teams and add members for fair lead distribution. Pause or resume individual reps without disrupting the rotation. Atomic Redis pointers ensure no rep gets skipped.

Round-robin Pause / Resume Atomic assignment
Teams
🟢 Enterprise AEs 4 active
Sarah R.
Mike K.
Anita P.
Dan W.
🔵 SMB SDRs 3 active
Jess L.
Tom B.
Priya M.
🟡 APAC Reps 2 active
Raj S.
Yuki T.
03

Visual route
builder canvas

Drag-and-drop pipeline: Trigger → Match → Filter → Assign → Default. Build complex routing logic with AND/OR conditions, 17+ operators, and branching paths — no code required.

Drag & drop 17+ operators AND/OR logic Multi-branch
Route Builder — Enterprise Inbound
TriggerLead · Insert
🔍
MatchEmail + Domain
EnterpriseRevenue ≥ $1M
SMBRevenue < $1M
👥
Enterprise AEsRound Robin
👤
SMB SDRsRound Robin
Default OwnerQueue: Unassigned
04

Real-time
activity feed

Track every lead assignment as it happens. Filter by status, rule, team, or assignee. Inspect record snapshots, retry failures, and export to CSV. Full audit trail included.

Live feed Record snapshots CSV export Audit log
Activity — Live
All
Success
Failed
Unmatched
Time Status Record Rule Assigned To
12:04:02✓ OKLead — john@acme.coEnterpriseSarah R.
12:04:01✓ OKLead — lisa@corp.ioSMB InboundJess L.
12:03:58↗ MergedLead — raj@bigco.comMatch FirstExisting
12:03:55✓ OKContact — amy@startup.ioAPAC RouteYuki T.
12:03:51? NoneLead — test@test.comDefault Queue
12:03:48✓ OKLead — pk@enterprise.coEnterpriseMike K.
12:03:44✗ FailLead — bad@invalidSMB InboundRetry #2
12:03:40✓ OKAccount — globalcorp.comTerritoryAnita P.

Built for serious
revenue operations

Enterprise-grade routing without the enterprise price tag.

Visual Route Builder

Zapier-style canvas with drag-and-drop nodes. Build Trigger → Match → Filter → Assign pipelines visually.

Round-Robin Teams

Fair distribution with atomic Redis pointers. Pause/resume individual members without breaking rotation.

Duplicate Matching

Detect existing leads, contacts, and accounts by email, phone, or domain. Auto-merge, skip, or assign to existing owner.

Millisecond Latency

Real-time evaluation via Fastify engine with BullMQ workers. Leads get assigned before your reps finish reading the notification.

Full Audit Trail

Every routing decision logged with record snapshots, timestamps, and assignment details. Compliance-ready from day one.

Analytics & Conversions

Track routing volume, success rates, speed-to-lead, and lead-to-opportunity conversion. Know which routes drive revenue.

How the stack connects

Six services, one Docker Compose. Everything runs on your VPS with automatic HTTPS.

☁️
Salesforce Apex Trigger
Engine Fastify + BullMQ
🗄️
PostgreSQL + Prisma ORM
🔴
Redis Cache + Queues
🖥️
Web Dashboard Next.js 16

Deploy in ten minutes,
not ten sprints

One CLI command. No DevOps team required. No Salesforce package installs.

1

Prerequisites

A Linux VPS with Docker installed, two domain names (app + engine), and a Salesforce Connected App with OAuth credentials.

2

Run the CLI

Execute npx @lead-routing/cli@latest init from your local machine. No global installs needed.

3

Configure via wizard

The interactive wizard collects SSH credentials, app URLs, Salesforce OAuth details, and admin password. Everything validated in real-time.

4

Auto-deploy Docker stack

CLI SSHes into your VPS and deploys five services: Web (Next.js), Engine (Fastify), PostgreSQL, Redis, and Caddy for automatic HTTPS.

5

Salesforce package deployed

Apex triggers, custom settings, permission sets, and remote site settings are automatically deployed to your Salesforce org via the REST API.

6

Login and start routing

Open your dashboard URL, connect Salesforce via OAuth, sync your users, create your first route, and watch leads get assigned in real-time.

lead-routing init
# Install and run with a single command
$ npx @lead-routing/cli@latest init
 
Welcome to Lead Routing Setup
 
SSH connection established
Docker verified on remote host
Configuration files uploaded
Docker images pulled (web, engine)
Services started (5/5 healthy)
Database migrated & seeded
SFDC package deployed
Health checks passed
 
Lead Routing is live!
Dashboard: https://app.yourcompany.com
Engine: https://engine.yourcompany.com

Simple, transparent
pricing

No per-API-call fees. No hidden costs. Self-hosted means you own the infrastructure.

Free
$0 / month

Get started with the essentials.

  • Up to 5 licensed users
  • 100,000 routes / month
  • Visual Route Builder
  • Round-robin teams
  • Activity & audit logs
Start Free

100% self-hosted. Your data stays on your server. No telemetry. No vendor lock-in. Deploy on any VPS — Hetzner, DigitalOcean, Vultr, AWS, or bare metal.

Ready to automate?

Deploy Lead Router to your server in ten minutes. No credit card required for free tier.

$ npx @lead-routing/cli@latest init