{
  "id": "uc_ab026e51fb33",
  "slug": "churn-winback-stripe-pipeline",
  "asset_type": "use_case",
  "name": "Automated Churned Subscriber Exit-Survey & Winback Offer Pipeline",
  "tagline": "Monitors `customer.subscription.deleted` events in Stripe, analyzes prior product usage in PostHog, and stages a tailored pause or winback offer.",
  "description_md": "### 1. The Workflow Bottleneck & Problem Statement\nMost SaaS cancellations happen silently without the team knowing whether the user hit a bug, lacked a feature, or just needed a temporary pause.\n\n### 2. Synthesized Agent Architecture & Connected Stack\n**Automated Churned Subscriber Exit-Survey & Winback Offer Pipeline** (`churn-winback-stripe-pipeline`) is a verified production blueprint curated from **@levelsio**'s real-world implementation.\n\n- **Primary Capability:** Monitors `customer.subscription.deleted` events in Stripe, analyzes prior product usage in PostHog, and stages a tailored pause or winback offer.\n- **Connected Tool Stack:** Stripe Official MCP, PostHog MCP, Resend MCP, Slack\n- **Execution Governance:** `Read-Only Discovery` → `Deterministic Policy Check` → `Ask-First Human Approval`\n- **Certified Builder Source:** [@levelsio](https://github.com/stripe/agent-toolkit)\n\n### 3. Step-by-Step Implementation Blueprint\n1. **Trigger & Data Ingestion:** Configure your agent routine to watch **Stripe Official MCP** on a scheduled cadence or event webhook. Treat all external text as untrusted data inside XML fences.\n2. **Cross-System Enrichment & Verification:** Query **PostHog MCP** to validate live capacity, account status, or code state before generating recommendations.\n3. **Human-in-the-Loop Action Staging:** Post a structured summary card to **Slack** with 1-click approve/edit controls so your team retains full oversight.\n\n### 4. Copy-Paste System Prompt & Routine Configuration\n```text\nImplement the 'Automated Churned Subscriber Exit-Survey & Winback Offer Pipeline' workflow curated with @levelsio.\n\n1. OBJECTIVE:\nMonitors `customer.subscription.deleted` events in Stripe, analyzes prior product usage in PostHog, and stages a tailored pause or winback offer.\n\n2. CONNECTED TOOL STACK:\nStripe Official MCP, PostHog MCP, Resend MCP, Slack\n\n3. STEP-BY-STEP EXECUTION LOOP:\n- Step A (Ingest & Ground): Query live inputs from Stripe Official MCP and cross-reference state in PostHog MCP.\n- Step B (Analyze & Validate): Apply strict filtering rules, verify schema/policy constraints, and flag any anomalies or missing fields.\n- Step C (Stage & Report): Prepare the structured output, draft replies/tickets in Slack, and request human confirmation before executing any external send or production write.\n```\n\n### 5. Measured ROI & Production Impact\n- **Verified Outcome:** Recovers 12–18% of voluntary SaaS cancellations and captures structured product feedback.\n- **Builder Portfolio:** [Explore all capabilities by @levelsio →](/u/levelsio)\n",
  "primary_category": "sales-gtm",
  "categories_json": "[\"sales-gtm\", \"use-cases\"]",
  "tags_json": "[\"churn-winback-stripe-pipeline\", \"use-case\", \"sales-gtm\", \"levelsio\", \"stripe-official-mcp\", \"posthog-mcp\"]",
  "compatible_agents_json": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "integrations_json": "[\"Stripe Official MCP\", \"PostHog MCP\", \"Resend MCP\", \"Slack\"]",
  "includes_json": "[]",
  "safety_level": "Read-Only / Ask-First",
  "safety_summary": "Verified capability blueprint by @levelsio.",
  "share_url": "",
  "deep_link_uri": "",
  "mcp_endpoint": "",
  "mcp_transport": "http",
  "install_command": "npx lightstate inspect churn-winback-stripe-pipeline",
  "skill_markdown": "",
  "starter_prompt": "Implement the 'Automated Churned Subscriber Exit-Survey & Winback Offer Pipeline' workflow curated with @levelsio.\n\n1. OBJECTIVE:\nMonitors `customer.subscription.deleted` events in Stripe, analyzes prior product usage in PostHog, and stages a tailored pause or winback offer.\n\n2. CONNECTED TOOL STACK:\nStripe Official MCP, PostHog MCP, Resend MCP, Slack\n\n3. STEP-BY-STEP EXECUTION LOOP:\n- Step A (Ingest & Ground): Query live inputs from Stripe Official MCP and cross-reference state in PostHog MCP.\n- Step B (Analyze & Validate): Apply strict filtering rules, verify schema/policy constraints, and flag any anomalies or missing fields.\n- Step C (Stage & Report): Prepare the structured output, draft replies/tickets in Slack, and request human confirmation before executing any external send or production write.",
  "project_url": "https://github.com/stripe/agent-toolkit",
  "repo_url": "https://github.com/stripe/agent-toolkit",
  "creator_handle": "levelsio",
  "creator_name": "Pieter Levels (@levelsio)",
  "creator_avatar_url": null,
  "creator_url": "https://x.com/levelsio",
  "creator_platform": "x",
  "creator_cal_url": null,
  "claimed_by_user_id": null,
  "scouted_by_handle": null,
  "source_url": "https://github.com/stripe/agent-toolkit",
  "source_tweet_id": null,
  "source_origin": "certified_builder",
  "source_posted_at": null,
  "x_likes": 300,
  "x_bookmarks": 695,
  "x_retweets": 173,
  "x_views": 4200,
  "human_upvotes": 300,
  "human_installs": 300,
  "bot_pulls": 695,
  "pulse_score": 80,
  "gravity_rank_score": 2442.5,
  "is_featured": 0,
  "is_verified": 1,
  "is_sponsored": 0,
  "sponsor_tier": "free",
  "sponsor_label": "",
  "sponsor_cta_url": "",
  "sponsor_expires_at": null,
  "commercial_intent_score": 0,
  "status": "active",
  "created_at": "2026-10-24T20:00:00Z",
  "updated_at": "2026-10-24T20:00:00Z",
  "verified_at": null,
  "primitive": "use_case",
  "title": "Automated Churned Subscriber Exit-Survey & Winback Offer Pipeline",
  "description": "Monitors `customer.subscription.deleted` events in Stripe, analyzes prior product usage in PostHog, and stages a tailored pause or winback offer.",
  "category": "sales-gtm",
  "tags": "[\"churn-winback-stripe-pipeline\", \"use-case\", \"sales-gtm\", \"levelsio\", \"stripe-official-mcp\", \"posthog-mcp\"]",
  "agent_compatibility": "[\"grok-bot\", \"claude-code\", \"cursor\"]",
  "author_handle": "levelsio",
  "author_name": "Pieter Levels (@levelsio)",
  "author_avatar": null,
  "source_tweet_url": "https://github.com/stripe/agent-toolkit",
  "github_url": "https://github.com/stripe/agent-toolkit",
  "external_url": "https://github.com/stripe/agent-toolkit",
  "upvotes_count": 300,
  "installs_count": 300
}