Create blameless win/loss retro prompts from closed-lost HubSpot deals with OpenAI and TeamRetro
UnknownWhat this workflow does
This AI workflow has 14 nodes and runs on HubSpot events. Along the way it connects HubSpot, OpenAI Chat Model and Teamretro (community).
How it runs
Trigger: On HubSpot events.
- Closed Lost? (If): checks a condition and branches into true / false
- Get Deal (HubSpot): get (deal)
- Extract Deal Facts (Edit Fields (Set)): sets 7 fields: dealName, amount, lossReason…
- Worth a Retro Slot? (If): checks a condition and branches into true / false
- Draft Retro Prompts (Basic LLM Chain): sends a prompt to an LLM, with model: OpenAI GPT-5 Mini; output parser: Parse Structured Output
- Parkable? (If): checks a condition and branches into true / false
- Get Recent Parked Items (Team Retro): get many (parked item)
- Token-Overlap Dedupe (Code): runs custom JavaScript code
- Already Parked? (If): checks a condition and branches into true / false
- Park Discussion Prompt (Team Retro): create (parked item)
…plus 1 more step. See the full node list below.
Services it uses
Other OpenAI + HubSpot templates (86)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-teamretro is verified or supports 3.0 (used in Get Recent Parked Items, Park Discussion Prompt).
Nodes used (9)
- HubSpot Trigger
n8n-nodes-base.hubspotTrigger - If
n8n-nodes-base.if - HubSpot
n8n-nodes-base.hubspot - Edit Fields (Set)
n8n-nodes-base.set - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Team Retro
n8n-nodes-teamretro.teamRetro - Code
n8n-nodes-base.code
From the author
Quick overview This workflow watches HubSpot deal stage changes, and when a deal is marked closed-lost it uses OpenAI to turn the loss details into blameless retro discussion prompts, dedupes them against recent TeamRetro parked items, parks new prompts in…