Templates / Detect pipeline stall risk with HubSpot, Slack, OpenRouter and Anthropic

Detect pipeline stall risk with HubSpot, Slack, OpenRouter and Anthropic

Ready for 3.0

by Mychel Garzon ✓ · 4 views · created 2026-08-25 · CRM, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 38 nodes and runs on a schedule (every week at 06:00) (plus 1 other trigger). Along the way it connects HubSpot, OpenRouter Chat Model, Slack and Guardrails and 1 more.

How it runs

Trigger: On a schedule (every week at 06:00) (plus 1 other trigger).

  1. Fetch Open Deals (HubSpot) (HubSpot): get many (deal)
  2. Respond 202 Accepted (Respond to Webhook): sends the response back to the webhook caller
  3. Normalize Deal Data (Code): runs custom JavaScript code
  4. Calculate Stall Risk Score (Code): runs custom JavaScript code
  5. Is Risk High Enough to Analyze (If): checks a condition and branches into true / false
  6. LLM: Generate Stall Diagnosis (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model; output parser: Stall Diagnosis Output Parser
  7. Log: Low/Medium Risk (Code): runs custom JavaScript code
  8. Parse and Validate LLM Output (Code): runs custom JavaScript code
  9. Handle LLM Generate Failure (Code): runs custom JavaScript code
  10. LLM: Audit Diagnosis (Basic LLM Chain): sends a prompt to an LLM, with model: OpenRouter Chat Model; output parser: Auditor Verdict Output Parser

…plus 21 more steps. See the full node list below.

Services it uses

HubSpotOpenRouter Chat ModelSlackGuardrailsAnthropic Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (14)

From the author

Quick Overview This workflow monitors sales deals from HubSpot or a CRM-agnostic webhook, scores stall risk using deterministic rules, and uses OpenRouter (Anthropic models) plus an Anthropic guardrails check to generate, verify, and safely send Slack alerts…

Excerpt from Mychel Garzon'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.