Skip to main content

Detect churn risk from competitor tech adoption using PredictLeads and Gmail

Workflow preview

Workflow preview
100%
Detect churn risk from competitor tech adoption using PredictLeads and Gmail preview
Open on n8n.io

1. Workflow Overview

Monitor customers for competitor tech adoption via PredictLeads and alert CSMs to prevent churn. This workflow uses PredictLeads to monitor existing customers for competitor tool adoption (HubSpot,...

Best for

  • CRM automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.scheduletrigger, n8n-nodes-base.googlesheets, @predictleads/n8n-nodes-predictleads.predictleads, n8n-nodes-base.splitout, n8n-nodes-base.limit, n8n-nodes-base.set, n8n-nodes-base.code, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yaron Been.

Original n8n.io source

1.1 Workflow description

Title
Detect churn risk from competitor tech adoption using PredictLeads and Gmail
Workflow name
Detect churn risk from competitor tech adoption using PredictLeads and Gmail

Monitor customers for competitor tech adoption via PredictLeads and alert CSMs to prevent churn.

This workflow uses PredictLeads to monitor existing customers for competitor tool adoption (HubSpot, Salesforce, Zoho CRM) and renewal timing risk, then alerts Customer Success Managers so they can take proactive action before customers churn.

How it works

  1. Schedule trigger runs weekly and loads customer domains from Google Sheets
  2. Fetches each customer's full tech stack via PredictLeads Technology Detections API
  3. Looks up technology details by ID in PredictLeads to identify competitor tools
  4. Detects if customer adopted competitor tools (HubSpot, Salesforce, Zoho CRM)
  5. Calculates days until renewal and flags high-risk accounts (competitor detected + within 90 days)
  6. Sends churn risk alert email to the assigned CSM

Setup

  1. Create Google Sheet with columns: company_domain, renewal_date, csm_email
  2. Connect Gmail OAuth2 for CSM alert emails
  3. Connect Slack OAuth2 for team notifications (optional)
  4. Add PredictLeads API credentials (X-Api-Key and X-Api-Token headers)

Requirements

  • PredictLeads API account (https://docs.predictleads.com)
  • Google Sheets OAuth2 credentials
  • Gmail OAuth2 credentials
  • Slack OAuth2 credentials (optional)

Customization

  • Adjust competitor list in "Detect Competitor Usage" Code node
  • Modify 90-day renewal window threshold in "Calculate Renewal Risk" node
  • Change notification channel from Slack to another platform if needed

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Weekly Workflow Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.3

Block 2 - Fetch Customers from Google Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 3 - Get Customer Tech Stack (PredictLeads)

Type / Role
@predictleads/n8n-nodes-predictleads.predictLeads - predictLeads
Config choices
Version 1

Block 4 - Split Technologies Per Customer

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 5 - Limit Technologies for Processing

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 6 - Extract Technology ID

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 7 - Get Technology Details by ID

Type / Role
@predictleads/n8n-nodes-predictleads.predictLeads - predictLeads
Config choices
Version 1

Block 8 - Detect Competitor Usage

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Is Competitor Detected?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 10 - Notify Team (No Competitor - Safe Account)

Type / Role
n8n-nodes-base.slack - slack
Config choices
Version 2.4

Block 11 - Calculate Renewal Risk (90 Days)

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Is Renewal Within 90 Days?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.3

Block 13 - Ignore (No Immediate Risk)

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 14 - Send Churn Risk Alert Email to CSM

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

Block 15 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Detect churn risk from competitor tech adoption using PredictLeads and Gmail
Complexity advanced
Nodes 19
Categories CRM, AI Summarization
Author Yaron Been
Published 08 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/14882/14882.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Detect churn risk from competitor tech adoption using PredictLeads and Gmail do?

Monitor customers for competitor tech adoption via PredictLeads and alert CSMs to prevent churn. This workflow uses PredictLeads to monitor existing customers for competitor tool adoption (HubSpot,...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM, AI Summarization use case.