🀝 Predict customer churn with AI analysis of HubSpot and Google Sheets data

⚑ 1,294 views · 🀝 CRM & Sales Operations

Description

Who it’s for

Built for Customer Success and Account Management teams focused on proactive retention. This workflow helps you automatically identify at-risk customers – before they churn – by combining CRM, usage, and sentiment data into one actionable alert.

What it does

This end-to-end workflow continuously monitors customer health by consolidating data from HubSpot and Google Sheets. Here’s how it works:

How to set it up

To get started, configure your credentials and parameters in the following nodes:

  1. Credentials:
    • HubSpot: Connect your account (HubSpot: Get All Deals).
    • LLM Model: Add credentials for your preferred provider (Config: Set LLM for Agent & Chains).
    • Google Sheets: Connect your account (Tool: Get Feature Usage from Sheets).
    • Email: Set up your SMTP credentials (Email: Send Churn Alert).
  2. Tool URLs:
    • In Tool: Calculate Sentiment Score, enter the Webhook URL from the Trigger: Receive Tickets for Scoring node within this same workflow.
    • In Tool: Get HubSpot Data, enter the Endpoint URL for your MCP HubSpot data workflow. (Note: This tool does call an external workflow).
  3. Google Sheet:
    • In Tool: Get Feature Usage from Sheets, enter the Document ID for your own Google Sheet.
  4. Email Details:
    • In Email: Send Churn Alert, change the From and To email addresses.

Requirements

How to customize it

Tailor this workflow to match your business logic:

βœ… Outcome: A proactive customer health monitoring system that surfaces risks before it’s too late β€” keeping your team focused on prevention, not firefighting.

πŸ”— Nodes Used

Send Email, Webhook, HubSpot, Markdown, AI Agent, Basic LLM Chain

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup