All works
Lead Scoring & Routing
AIWorkflow Automationn8nGoHighLevelGemini

Lead Scoring & Routing

Wayan Phantom Megaditha

Wayan Phantom Megaditha

Automation Architect

Live ↗

The Problem

Sales teams spend the same amount of time on every lead regardless of quality. A cold lead from a casual enquiry gets the same follow-up effort as a hot prospect ready to buy. Without a scoring system, high-value leads get lost in the queue and response times on the best opportunities are too slow.


How It Works

  1. Receives a POST webhook from GoHighLevel when a contact is created or a pipeline stage changes, and immediately returns OK.
  2. Loads workflow configuration and normalizes the incoming lead fields including name, source, budget, timeline, interest, and message.
  3. Sends the normalized lead profile to Gemini and requests a strict JSON response containing a score from 1 to 10, reasoning, and a recommended next step.
  4. Parses the Gemini output, clamps the score to the 1 to 10 range, and assigns the lead tier as Hot, Warm, or Cold.
  5. For Hot leads, posts an urgent alert to Slack, applies hot and priority tags in GoHighLevel, and creates a follow-up item in Monday.com.
  6. For Warm leads, posts a nurture notification to Slack and applies warm and nurture tags.
  7. For Cold leads, applies low-priority tags only.

Tech Stack

n8nWebhook ingestion, branching logic, and all API calls without custom server infrastructure
GoHighLevelSource CRM for lead data and destination for tag updates
Gemini APIScores and reasons about lead quality with structured JSON output
SlackInstant notification channel for the sales team
Monday.comTask board for hot lead follow-up tracking

What I Would Improve

Adding a feedback loop where sales reps can mark outcomes in Monday.com and feed that data back into a fine-tuned scoring prompt would improve accuracy over time. The current scoring criteria are prompt-based and could be augmented with historical deal data for better calibration.

Wayan Phantom Megaditha

Wayan Phantom Megaditha

Fullstack Engineer · AI & Web3

n8nGoHighLevelGeminiSlackMonday.com