Account Health Intelligence Agent

Weekly AI health briefs for every account.

Ongoing CS account monitoring agent. 3 agents assemble HubSpot CRM data (companies, deals, tickets, engagements), analyze account health with the analysis model, and deliver weekly health briefs to Slack with HubSpot notes for audit trail. 4-status taxonomy: HEALTHY, AT_RISK, GROWING, CHURNING. Slack alerts only for at-risk and growing accounts (noise filtering). $0.014/account. This came from a CS director who combined NPS scores, support tickets, and usage data in a quarterly spreadsheet to assess account health. We built an agent that calculates health scores continuously from live data.

Last updated March 14, 2026

Customer churn costs 5-25x more than retention, yet most companies detect churn risk only after the customer has already decided to leave. NPS scores, support ticket patterns, usage frequency, and engagement signals are available months before cancellation. Automated health scoring turns those signals into intervention triggers.

triggerWeekly01AssemblerHubSpot API02AnalystHealth Score03FormatterBrief + RouteSlackHealth AlertHubSpotNotes

Three Agents. Weekly Cadence. Health Brief for Every Account.

Assembler

Step 1Assembler

HTTP + Code

Weekly scheduled trigger pulls account data from HubSpot: companies, associated deals (open and closed), support tickets, engagement history (emails, calls, meetings), and contact activity. Pre-computes engagement velocity, ticket resolution rates, deal pipeline coverage, and activity recency per account. All metrics computed in code before the LLM call — no token waste on raw API payloads.

Analyst

Step 2Analyst

Tier 1 Reasoning

What does Analyst actually decide? Single the analysis model call receives the pre-aggregated account data and assigns one of four health statuses: HEALTHY (active engagement, deals progressing), AT_RISK (engagement drop, open tickets, deal stalls), GROWING (increasing engagement, expansion signals, upsell activity), or CHURNING (no activity, multiple tickets, lost deals). Each assessment includes an evidence chain citing the specific data points that drove the classification. Not a score — a reasoned status with explanation.

Formatter

Step 3Formatter

HTTP

Without this step, upstream analysis sits idle. Routes output based on health status. Slack alerts fire only for AT_RISK and GROWING accounts — noise filtering keeps the channel actionable. All accounts (including HEALTHY and CHURNING) get a HubSpot company note logged with the full health brief and evidence chain for audit trail. CS managers see only the accounts that need attention in Slack, while the complete record lives in HubSpot.The scorer ignored an optional hint field. Adding 4 lines of explicit scoring rules — what the field represents, how it affects threshold — fixed scores immediately.

That's the full pipeline. Here's what it intentionally does NOT do — and why those boundaries exist.

What It Does NOT Do

×

Does not predict churn — classifies current health status based on CRM data signals

×

Does not modify HubSpot deals or tickets — read-only CRM access for data, write-only for company notes

×

Does not replace CS playbooks — surfaces which accounts need attention, not what action to take

×

Does not work with Salesforce, Pipedrive, or other CRMs — HubSpot only

×

Does not send email alerts — delivers to Slack with HubSpot notes for audit trail

With those boundaries clear, here's everything that ships when you purchase.

The Complete Customer Success Bundle

5 files.

CHANGELOG.mdVersion history
README.mdSetup and configuration guide
account_health_intelligence_agent_v1.0.0.jsonn8n workflow (main pipeline)
docs/TDD.mdTechnical Design Document
system_prompts/analyst_system_prompt.mdAnalyst system prompt

The technical specifications below are ITP-measured, not estimated.

Tested. Measured. Documented.

Every metric is Independent Test Protocol (ITP)-measured. The Account Health Intelligence Agent assembles HubSpot CRM data, classifies account health with the analysis model, and delivers weekly briefs at $0.014/account — the cheapest per-unit cost in the catalog.

Workflow Nodes

24

Blueprint Quality Standard

12/12 PASS

Agent Architecture

3 agents — Assembler (HTTP + Code), Analyst (Tier 1 Reasoning, Sonnet 4.6), Formatter (HTTP)

Required Credentials

HubSpot API, Anthropic API, Slack Bot Token

Bundle Contents

9 files

Cost per Account

$0.014/account (ITP-measured, Sonnet 4.6)

ITP Milestones

14/14 PASS (20 records)

n8n Compatibility

2.11.2

Tested on n8n v2.7.5, March 2026

Account Health Intelligence Agent v1.0.0 — Technical Reference━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Architecture: 24 n8n nodes, 3 agents (Assembler → Analyst → Formatter)Trigger:      Weekly schedule (configurable)Input:        HubSpot API — companies, deals, tickets, engagementsIntelligence: Sonnet 4.6 — single call on pre-aggregated data, 4-status taxonomyOutput:       Slack alerts (AT_RISK + GROWING only) + HubSpot notes (all accounts)Cost:         $0.014/account (ITP-measured average)ITP:          20 records, 14/14 milestones PASSBQS:          12/12 PASSTool A:       HubSpot (input — companies, deals, tickets, engagements)Tool B:       Slack (output — health alerts) + HubSpot (output — company notes)Intelligence: Pre-aggregated CRM analysis + evidence-chain health classificationCost Value:   0.014

What You'll Need

Platform

n8n 2.11.2+

Est. Monthly API Cost

<$4/month (50 accounts/week)

Credentials Required

  • Anthropic API
  • HubSpot API
  • Slack Bot Token

Services

  • HubSpot (any plan with API access)
  • Slack workspace

Setup Track

Quick Start

~15 min

All credentials live, n8n running

Full Setup

1–2 hrs

Needs API config + tables

From Scratch

2–4 hrs

No n8n, no credentials

Account Health Intelligence Agent v1.0.0

$249

one-time purchase

What you get:

  • ITP-tested 24-node n8n workflow — import and deploy
  • Weekly automated health assessment for every HubSpot account
  • 4-status health taxonomy: HEALTHY, AT_RISK, GROWING, CHURNING — with evidence chains
  • the analysis model analysis at $0.014/account — cheapest per-unit cost in the catalog
  • Slack alerts for AT_RISK and GROWING accounts only (noise filtering)
  • HubSpot company notes for all accounts (full audit trail)
  • CS lifecycle integration: COIA onboards → AHIA monitors → ERD catches expansion
  • ITP test results with 20 records and 14/14 milestones
  • All sales final after download

Frequently Asked Questions

How does it differ from Customer Onboarding Intelligence Agent?+

Distinct products with different lifecycle stages. COIA runs once per new customer — a one-shot onboarding brief that surfaces key context for the CS handoff. AHIA runs weekly on all accounts — ongoing monitoring that tracks health changes over time.

Why is the cost so low at $0.014/account?+

Single LLM call architecture with the analysis model (not Opus). The Assembler pre-aggregates all HubSpot data into compact per-account metrics before the Analyst runs — engagement velocity, ticket rates, deal coverage are all computed in code. The Analyst receives structured data, not raw API responses.

What are the four health statuses?+

HEALTHY — active engagement, no issues, deals progressing. AT_RISK — engagement drop, open tickets, deal stalls. GROWING — increasing engagement, expansion signals, upsell activity.

Why does Slack only alert for AT_RISK and GROWING?+

Noise filtering. HEALTHY accounts need no action. CHURNING accounts are typically handled through separate churn playbooks.

Can I use Salesforce instead of HubSpot?+

This version is built for HubSpot. The Assembler uses HubSpot-specific API endpoints for companies, deals, tickets, and engagements. The Analyst and Formatter are CRM-agnostic — only the Assembler would need rebuilding for Salesforce.

Is there a refund policy?+

All sales are final after download. Review the Blueprint Dependency Matrix and prerequisites before purchase. Questions?

Read the full guide →

Related Blueprints