Templates / Automate lead qualification & routing with GPT-4o-mini, Google Sheets & HighLevel CRM

Automate lead qualification & routing with GPT-4o-mini, Google Sheets & HighLevel CRM

Needs changes

by Rahul Joshi ✓ · 1,173 views · created 2025-10-06 · Lead Generation, AI Summarization

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 8 nodes and runs on Google Sheets events (row added). Along the way it connects Google Sheets, Azure OpenAI Chat Model and HighLevel.

How it runs

Trigger: On Google Sheets events (row added).

  1. AI Lead Qualification Agent (AI Agent): runs an AI agent, with model: Azure OpenAI Model
  2. Parse AI Response to JSON (Code): runs custom JavaScript code
  3. Save Lead to Status Sheet (Google Sheets): append
  4. Categorize Lead Priority (Function): runs custom JavaScript (legacy Function node)
  5. Add Contact to CRM (HighLevel): uses HighLevel
  6. Send Email: sends an email over SMTP

Services it uses

Google SheetsAzure OpenAI Chat ModelHighLevel

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Categorize Lead Priority1: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Categorize Lead Priority1
Code node, mode 'Run Once for All Items'

Nodes used (8)

From the author

Description Automatically qualify and route new leads from a Google Sheet into your CRM with AI-powered scoring and instant sales notifications. Turn raw form submissions into prioritized opportunities—effortlessly. ⚡ What This Template Does - Monitors a…

Excerpt from Rahul Joshi's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.