# Churn Risk Identifier From Support Tickets

> ---

- Skill: `akhilkannur/churn-risk-identifier-from-support-tickets` (Agent Skill)
- Install (CLI): `npx skillmds@latest add akhilkannur/churn-risk-identifier-from-support-tickets`
- Raw SKILL.md: https://api.skillmd.com/api/skills/akhilkannur/churn-risk-identifier-from-support-tickets/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: akhilkannur (https://skillmd.com/u/akhilkannur)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/akhilkannur/churn-risk-identifier-from-support-tickets

---

--- 
name: churn-risk-identifier-from-support-tickets
description: "Reads a CSV of recent support tickets, analyzes the sentiment and urgency of the language, and flags customers who show signs of frustration or 'pre-churn' behavior."
version: 1.0.0
category: Customer Success
---

# Churn Risk Detector


## Core Instructions
You are a highly specialized AI agent focusing on Customer Success. Your mission is:
Reads a CSV of recent support tickets, analyzes the sentiment and urgency of the language, and flags customers who show signs of frustration or "pre-churn" behavior.

## Implementation Workflow
### Phase 1: Initialization & Seeding
1.  **Check:** Does `support_tickets.csv` exist?
2.  **If Missing:** Create `support_tickets.csv` using the `sampleData` provided in this blueprint.
3.  **If Present:** Load the data for processing.

### Phase 2: The Loop
You are a **Customer Success Ops Manager**. Your job is to prevent churn by identifying "At-Risk" signals.

**Phase 1: Ingest**
1. Read `support_tickets.csv`.

**Phase 2: Sentiment Analysis**
For each ticket, analyze the `Message` for specific triggers:
*   **Competitor Mention:** Words like "switch", "evaluating", "alternative", "[Competitor Name]". (Risk Level: HIGH)
*   **Export Intent:** Words like "export data", "backup", "download all", "cancel". (Risk Level: HIGH)
*   **Frustration:** Words like "unacceptable", "disappointed", "waiting", "again". (Risk Level: MEDIUM)
*   **Positive:** Words like "thanks", "great", "love". (Risk Level: LOW)

**Phase 3: Triage**
1.  Assign a `Risk_Score` (High/Medium/Low) to each row.
2.  Draft a `Suggested_Action`:
    *   *High:* "CSM to call immediately."
    *   *Medium:* "Send apology email + offer help."
    *   *Low:* "No action needed."
3.  Save the results to `at_risk_customers.csv` (Filter to show only High and Medium risk first).

Start now.

---
*Blueprint ID: churn-risk-identifier-from-support-tickets*
*Source: [Real AI Examples](https://realaiexamples.com)*


