# Generate GoHighLevel deal follow-up actions with OpenAI and Cognee

> 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 results to Slack, sends an email via Gmail, logs the deal to Sheets. How it works 1. Triggers when a GoHighLevel webhook is received, on a schedule, or from a manual run to start processing open opportunities. 2. Searches GoHighLevel for open opportunities and fetches the current pipeline and stage metadata via the LeadConnector (GoHighLevel) API. 3. Normalizes the opportunity payload into structured fields (deal, pipeline, stage, contact, owner, value) and prepares it for downstream processing. 4. Uses an OpenAI GPT-4o-mini agent that first queries Cognee to retrieve relevant SOPs/playbooks from your company knowledge base and then generates a 3–6 item follow-up checklist. 5. Formats the agent output into Slack text, an HTML email body,

- **Domain**: `n8n-workflow-19781.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/19781
- Page (HTML): https://agenstry.com/agents/n8n-workflow-19781.n8n.io
- Documentation: https://n8n.io/workflows/19781
