Templates / Analyze lost deal reasons from GoHighLevel conversations with Google Gemini

Analyze lost deal reasons from GoHighLevel conversations with Google Gemini

Ready for 3.0

by iamvaar ✓ · 4 views · created 2026-08-21 · CRM, 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 15 nodes and runs when an HTTP POST request hits its webhook URL. Along the way it connects HighLevel and Google Gemini Chat Model. It also calls services.leadconnectorhq.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL.

  1. Retrieve Contact Info (HighLevel): get
  2. Check Contact Existence (If): checks a condition and branches into true / false
  3. Fetch Opportunity Data (HighLevel): get (opportunity)
  4. Verify Opportunity Status (If): checks a condition and branches into true / false
  5. Fetch User Conversations (HTTP Request): calls services.leadconnectorhq.com
  6. Retrieve Conversation Details (HTTP Request): calls an HTTP API
  7. Extract Total Messages Count (Code): runs custom JavaScript code
  8. Filter Original Conversations (Code): runs custom JavaScript code
  9. Check Message Count Exceeded (If): checks a condition and branches into true / false
  10. Lost Reason Analysis Agent (AI Agent): runs an AI agent, with model: Google Gemini for Analysis; output parser: Parse Structured Output

…plus 1 more step. See the full node list below.

Services it uses

HighLevelGoogle Gemini Chat Model

HTTP calls to: services.leadconnectorhq.com

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 (8)

From the author

Quick overview Youtube Video: https://youtu.be/2FqDRG11Y88?si=yFkn0lFDodXK5f3 This workflow listens for a GoHighLevel (LeadConnector) opportunity status change, fetches the related contact, opportunity, and conversation messages, uses Google Gemini via an n8n…

Excerpt from iamvaar'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.