Bibliothek / CRM & Vertriebspipeline
CRM & Vertriebspipeline
Create blameless win/loss retro prompts from closed-lost HubSpot deals with OpenAI and
When something happens in a connected app, it updates your CRM with OpenAI / ChatGPT using HubSpot, Team Retro.
Was sie bewirkt
## TeamRetro: Park lost HubSpot deals as win/loss retro prompts ### How it works When a HubSpot deal moves to closed-lost, the workflow fetches the deal, skips anything under a value floor, and asks one OpenAI call to turn the loss notes into at most two discussion prompts. CRM notes are attributed and blamey — "rep missed the demo", "champion went dark" — so parking them verbatim turns the retro into a blame session. The system prompt forces neutral questions about process, product, pricing or market instead, and that transform is the point of this template. Surviving prompts are checked by word overlap against the last 30 days of parked items, parked in TeamRetro for the sales team's win/loss retro, then logged back on the deal timeline. ### Setup steps - Map your own closed-lost stage ID in "Closed Lost?". The default pipeline uses closedlost, but a custom or renamed stage gets a different internal ID, often numeric. Find yours under HubSpot → Settings → Objects → Deals → Pipelines. - Two HubSpot credentials: a developer app for the trigger, a private app token with crm.objects.deals.read and write for the deal nodes. - Add an OpenAI credential to "OpenAI GPT-5 Mini", then replace REPLACE_WITH_TEAM_ID on both TeamRetro nodes. The parking lot is a plan feature — a 403 means it is not on your plan. - Sample data is pinned on the trigger and "Get Deal", so Execute workflow replays a lost deal before you connect HubSpot. ### Customization minDealAmount in "Extract Deal Facts" is the floor (default 5000, deal currency) — set it to 0 to park every loss. THRESHOLD in "Token-Overlap Dedupe" tunes duplicate sensitivity. For the win side, duplicate the branch on your closed-won stage and reframe the prompt.
Die Schritte
- When Deal Stage Changes
- Closed Lost?
- Get Deal
- Extract Deal Facts
- Worth a Retro Slot?
- Draft Retro Prompts
- OpenAI GPT-5 Mini
- Parse Structured Output
- Parkable?
- Get Recent Parked Items
- Token-Overlap Dedupe
- Already Parked?
- Park Discussion Prompt
- Log "Queued" on Deal
Ähnliche Automatisierungen
CRM & VertriebspipelineVerlorene GoHighLevel-Deals mit OpenAI, Gmail und Google Sheets zurückgewinnen15 SchritteCRM & VertriebspipelineCreate and approve Xero invoices from Pipedrive Closed Won deals with Slack21 SchritteCRM & VertriebspipelineStagnierende HubSpot-Deals mit OpenAI-Entwürfen und Slack-Eskalation wieder aufnehmen12 SchritteCRM & VertriebspipelineFolien und Warnungen für HubSpot-Deals nach Priorität erstellen11 Schritte