{"product_id":"n8n-workflow-recover-lost-gohighlevel-deals-with-openai-gmail","title":"n8n Workflow: Recover Lost GoHighLevel Deals with OpenAI + Gmail","description":"\u003ch3\u003eRecover GoHighLevel “Lost” Deals Automatically—With OpenAI + Gmail\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow runs daily to find GoHighLevel opportunities that went \u003cstrong\u003elost within the last 24 hours\u003c\/strong\u003e, analyzes timing\/engagement\/objection signals with \u003cstrong\u003eOpenAI\u003c\/strong\u003e, and then either sends a tailored winback email via \u003cstrong\u003eGmail\u003c\/strong\u003e or escalates uncertain cases to your manager—while logging everything to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eRuns every morning\u003c\/strong\u003e on a schedule.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eQueries the GoHighLevel LeadConnector Opportunities Search API\u003c\/strong\u003e for lost opportunities for your configured \u003cstrong\u003elocation_id\u003c\/strong\u003e and \u003cstrong\u003epipeline_id\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eKeeps only deals whose \u003cstrong\u003estatus changed within the last 24 hours\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003eCalculates three key signals per deal:\n    \u003cul\u003e\n      \u003cli\u003e\n\u003cstrong\u003eTiming\u003c\/strong\u003e: how long the deal was open\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eEngagement\u003c\/strong\u003e: whether contact engagement or opt-out tags indicate likely interest\u003c\/li\u003e\n      \u003cli\u003e\n\u003cstrong\u003eObjection\u003c\/strong\u003e: whether a lost reason is present\u003c\/li\u003e\n    \u003c\/ul\u003e\n  \u003c\/li\u003e\n  \u003cli\u003eSends deal details and signals to an \u003cstrong\u003eOpenAI chat model\u003c\/strong\u003e to select a recovery action and, when appropriate, generate a \u003cstrong\u003eshort winback email\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eSends winback emails via Gmail\u003c\/strong\u003e to the contact when the action is \u003cstrong\u003eSEND_WINBACK_OFFER\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eAppends results to Google Sheets\u003c\/strong\u003e with the deal info, chosen action, reasoning, and an optional follow-up date.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eEscalates to a manager via Gmail\u003c\/strong\u003e when the action is \u003cstrong\u003eESCALATE_TO_MANAGER\u003c\/strong\u003e, including full AI reasoning and deal context.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eYour team wants \u003cstrong\u003efast winback outreach\u003c\/strong\u003e for newly lost leads without manual review.\u003c\/li\u003e\n  \u003cli\u003eYou need \u003cstrong\u003eAI-assisted triage\u003c\/strong\u003e—automatically emailing clear cases and escalating ambiguous ones.\u003c\/li\u003e\n  \u003cli\u003eYou want a \u003cstrong\u003erecovery audit trail\u003c\/strong\u003e in Google Sheets for follow-ups and do-not-contact outcomes.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGoHighLevel\u003c\/strong\u003e via Opportunities Search API using \u003cstrong\u003eHTTP header auth\u003c\/strong\u003e: \u003ccode\u003eAuthorization: Bearer \u0026lt;token\u0026gt;\u003c\/code\u003e plus \u003cstrong\u003elocation_id\u003c\/strong\u003e and \u003cstrong\u003epipeline_id\u003c\/strong\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eOpenAI\u003c\/strong\u003e Chat Model for action selection and winback email generation.\u003c\/li\u003e\n  \u003cli\u003en8n nodes include \u003cstrong\u003eCode\u003c\/strong\u003e, \u003cstrong\u003eGmail\u003c\/strong\u003e, \u003cstrong\u003eMerge\u003c\/strong\u003e, \u003cstrong\u003eFilter\u003c\/strong\u003e, \u003cstrong\u003eSwitch\u003c\/strong\u003e, and \u003cstrong\u003eSplit Out\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":46217931292851,"sku":"N8N-20801","price":3.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/nsQdB0fMuxX164MV1GXQO_Pd1ZGaid.png?v=1791883781","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-recover-lost-gohighlevel-deals-with-openai-gmail","provider":"N8N Commerce","version":"1.0","type":"link"}