Automate lead qualification & routing with GPT-4o-mini, Google Sheets & HighLevel CRM
Needs changesWhat 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).
- AI Lead Qualification Agent (AI Agent): runs an AI agent, with model: Azure OpenAI Model
- Parse AI Response to JSON (Code): runs custom JavaScript code
- Save Lead to Status Sheet (Google Sheets): append
- Categorize Lead Priority (Function): runs custom JavaScript (legacy Function node)
- Add Contact to CRM (HighLevel): uses HighLevel
- Send Email: sends an email over SMTP
Services it uses
Other Google Sheets + Azure OpenAI templates (88) · Other HighLevel + Google Sheets templates (43) · Other HighLevel + Azure OpenAI templates (6)
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.0 | Replace with |
|---|---|
| Function (legacy) Categorize Lead Priority1 | Code node, mode 'Run Once for All Items' |
Nodes used (8)
- Function
n8n-nodes-base.function - Google Sheets Trigger
n8n-nodes-base.googleSheetsTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Azure OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatAzureOpenAi - Code
n8n-nodes-base.code - Google Sheets
n8n-nodes-base.googleSheets - HighLevel
n8n-nodes-base.highLevel - Send Email
n8n-nodes-base.emailSend
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…