Templates / Generate GoHighLevel deal follow-up actions with OpenAI and Cognee

Generate GoHighLevel deal follow-up actions with OpenAI and Cognee

Needs changes

by Rahul Joshi ✓ · 5 views · created 2026-09-21 · CRM, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 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 16 nodes and runs when an HTTP POST request hits its webhook URL (plus 2 other triggers). Along the way it connects Google Sheets, OpenAI Chat Model, Slack and Gmail and 1 more. It also calls services.leadconnectorhq.com over HTTP.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 2 other triggers).

  1. Get GHL Pipelines (HTTP Request): calls services.leadconnectorhq.com
  2. Merge: merges the data from its input branches
  3. Fetch Leads from GHL (HTTP Request): calls services.leadconnectorhq.com
  4. Format Error Message (Edit Fields (Set)): sets 4 fields: errorMessage, failedNode, workflowName…
  5. Parse Deal Data (Code): runs custom JavaScript code
  6. Notify Error in Slack (Slack): uses Slack
  7. Follow-up Actions Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model; 1 tool (Search Company Brain (Cognee))
  8. Parse Agent Output (Code): runs custom JavaScript code
  9. Post Follow-up to Slack (Slack): uses Slack
  10. Log Deal to Google Sheet (Google Sheets): append

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

Services it uses

Google SheetsOpenAI Chat ModelSlackGmailCognee (community)

HTTP calls to: services.leadconnectorhq.com

Before you upgrade to n8n 3.0

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

  • AI Agent v1 (old agent modes) in Follow-up Actions Agent (v1.9): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

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

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

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Follow-up Actions Agent (v1.9)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (13)

From the author

Quick overview This workflow triggers from a GoHighLevel webhook, schedule, or manual run to pull open opportunity and pipeline details, generate deal-specific follow-up actions using an OpenAI GPT-4o-mini agent with Cognee knowledge search, then posts…

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.