Templates / AI-driven lead classification & routing with HighLevel and Azure GPT-4o-mini

AI-driven lead classification & routing with HighLevel and Azure GPT-4o-mini

Ready for 3.0

by Rahul Joshi ✓ · 904 views · created 2025-10-25 · Lead Generation, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects HighLevel and Azure OpenAI Chat Model.

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Fetch All Opportunities (HighLevel): get many (opportunity)
  2. Fetch Contact Details (HighLevel): get
  3. AI Lead Classifier Agent (AI Agent): runs an AI agent, with model: Azure OpenAI GPT-4o-mini
  4. Process AI Response (Code): runs custom JavaScript code
  5. Check: Demo Request? (If): checks a condition and branches into true / false
  6. Check: Support Query? (If): checks a condition and branches into true / false
  7. Check: Partnership Inquiry? (If): checks a condition and branches into true / false
  8. Route to Demo Team (Send Email): sends an email over SMTP
  9. Route to Support Team (Send Email): sends an email over SMTP
  10. Route to Partnership Team (Send Email): sends an email over SMTP

Services it uses

HighLevelAzure OpenAI Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (7)

From the author

Description: Streamline your lead management process with this AI-driven n8n automation template. The workflow fetches opportunities from HighLevel (GHL), enriches them with contact details, and uses Azure OpenAI GPT-4o-mini to analyze each lead’s intent…

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.