All skills
linkedinnewstwitterreddit Product & Customer Insights

Enterprise Account Health Monitor

Score a key B2B account's churn risk from employee posts, rival-tool job reqs, risk-event news, and public switching chatter.

Run this skill with your agent
1. Connect the MCP server
https://apidirect.io/mcp?token=YOUR_API_KEY
2. Then ask your agent — name the skill so it runs this exact playbook
Use the enterprise-account-health-monitor skill: Is {account} at risk of churning? Check their employees' posts and whether they're hiring for {competitor_tool}.
Naming the skill (enterprise-account-health-monitor) makes your agent run this exact playbook instead of improvising its own searches. In clients that support MCP prompts (Claude Desktop, Claude Code, Cursor) it also appears as a prompt named enterprise-account-health-monitor, and any agent can call get_skill(skill_id="enterprise-account-health-monitor") directly.

What it does

Reads an account's churn risk from employee sentiment and competitor-tool job reqs on LinkedIn, then optionally layers in risk-event news and public switching chatter on X and Reddit — an early warning no CRM gives you.

Who it's for: Customer success and account management on enterprise books.

Inputs

Input Required Description Example
account Yes The customer account to monitor. Globex
competitor_tool No A rival tool whose mention in job posts or public chatter signals evaluation. Salesforce
platforms No Comma-separated list of platforms to run — options: linkedin, news, twitter, reddit. Omit to run all of them; name specific platforms to limit the run. news, twitter, reddit
news_window No Freshness window for the account risk-event news scan (maps to search_news time_published; allowed: 1h, 1d, 7d, 1y, anytime). Defaults to 7d. 7d
job_window No How far back to scan job posts for competitor-tool reqs (maps to search_linkedin_jobs posted_ago; allowed: 1h, 24h, 7d, 30d). Defaults to 30d. 30d

How your agent runs it

  1. 1
    search_linkedin_companies(query="{account}")

    Resolve the account's company_id.

  2. 2
    search_linkedin(author_company=<company_id>, get_sentiment=true, sort_by=most_recent)

    Scan employee posts for frustration or 'evaluating alternatives' language (negative polarity).

  3. 3
    search_linkedin_jobs(query="{competitor_tool}", company_ids=<company_id>, posted_ago=30d)

    Job posts requiring a competitor's tool are a strong switch signal. Defaults to posted_ago=30d if job_window not set (allowed: 1h, 24h, 7d, 30d).

  4. 4
    search_news(query="{account}", time_published=7d)

    Only run if {platforms} includes news: catch account-level risk events (layoffs, M&A, new CFO/CIO, budget cuts, restructuring) that predict churn. Defaults to time_published=7d if news_window not set.

  5. 5
    search_twitter(query="{account} {competitor_tool}", get_sentiment=true, sort_by=most_recent)

    Only run if {platforms} includes twitter: surface public frustration or switching chatter tying the account to the competitor (negative polarity). Falls back to just {account} if no competitor_tool.

  6. 6
    search_reddit(query="{account} {competitor_tool}", get_sentiment=true, sort_by=most_recent)

    Only run if {platforms} includes reddit: find threads where the account's people discuss evaluating alternatives or pain with the current tool. Blend all signals into one evidence-cited churn-risk score.

Delivers: A health readout per account: employee-sentiment signal, competitor-tool job reqs, risk-event news, public switching chatter, and a blended churn-risk rating with evidence cited per signal.

Tools used

The full playbook

This is exactly what the MCP returns to your agent (via the enterprise-account-health-monitor prompt or get_skill tool), with your inputs filled in.

SKILL: Enterprise Account Health Monitor
Reads an account's churn risk from employee sentiment and competitor-tool job reqs on LinkedIn, then optionally layers in risk-event news and public switching chatter on X and Reddit — an early warning no CRM gives you.

You are running this skill on API Direct via its MCP tools. Execute the steps below yourself by calling the named tools in order — values in <angle brackets> come from a previous step. Then deliver the result described at the end.

INPUTS:
  - account (required): <account — ASK THE USER>
      The customer account to monitor.
  - competitor_tool (optional): (optional — e.g. Salesforce)
      A rival tool whose mention in job posts or public chatter signals evaluation.
  - platforms (optional): (optional — e.g. news, twitter, reddit)
      Comma-separated list of platforms to run — options: linkedin, news, twitter, reddit. Omit to run all of them; name specific platforms to limit the run.
  - news_window (optional): 7d (default — override if you like)
      Freshness window for the account risk-event news scan (maps to search_news time_published; allowed: 1h, 1d, 7d, 1y, anytime). Defaults to 7d.
  - job_window (optional): 30d (default — override if you like)
      How far back to scan job posts for competitor-tool reqs (maps to search_linkedin_jobs posted_ago; allowed: 1h, 24h, 7d, 30d). Defaults to 30d.

PLATFORM SELECTION: some steps are gated with "Only run if {platforms} includes X". If the user supplied a `platforms` value, run only the steps whose platform is listed. If the user did NOT supply `platforms`, run ALL steps — every platform the skill supports.

STEPS:
  1. Tool `search_linkedin_companies` — search_linkedin_companies(query="{account}")
     Resolve the account's company_id.
  2. Tool `search_linkedin` — search_linkedin(author_company=<company_id>, get_sentiment=true, sort_by=most_recent)
     Scan employee posts for frustration or 'evaluating alternatives' language (negative polarity).
  3. Tool `search_linkedin_jobs` — search_linkedin_jobs(query="{competitor_tool}", company_ids=<company_id>, posted_ago=30d)
     Job posts requiring a competitor's tool are a strong switch signal. Defaults to posted_ago=30d if job_window not set (allowed: 1h, 24h, 7d, 30d).
  4. Tool `search_news` — search_news(query="{account}", time_published=7d)
     Only run if {platforms} includes news: catch account-level risk events (layoffs, M&A, new CFO/CIO, budget cuts, restructuring) that predict churn. Defaults to time_published=7d if news_window not set.
  5. Tool `search_twitter` — search_twitter(query="{account} {competitor_tool}", get_sentiment=true, sort_by=most_recent)
     Only run if {platforms} includes twitter: surface public frustration or switching chatter tying the account to the competitor (negative polarity). Falls back to just {account} if no competitor_tool.
  6. Tool `search_reddit` — search_reddit(query="{account} {competitor_tool}", get_sentiment=true, sort_by=most_recent)
     Only run if {platforms} includes reddit: find threads where the account's people discuss evaluating alternatives or pain with the current tool. Blend all signals into one evidence-cited churn-risk score.

DELIVER: A health readout per account: employee-sentiment signal, competitor-tool job reqs, risk-event news, public switching chatter, and a blended churn-risk rating with evidence cited per signal.

Note: each underlying tool call is billed at its normal endpoint price; get_sentiment adds a small per-page surcharge. Page through results as needed but stop once you have enough to deliver the outcome.