All skills
linkedin Product & Customer Insights

Enterprise Account Health Monitor

Spot a key B2B account churning from its employees' posts and its reqs for rival tools.

Run this skill with your agent
1. Connect the MCP server
https://apidirect.io/mcp?token=YOUR_API_KEY
2. Then just say to your agent
Is {account} at risk of churning? Check their employees' posts and whether they're hiring for {competitor_tool}.
In clients that support MCP prompts (Claude Desktop, Claude Code, Cursor) this skill appears as a prompt named enterprise-account-health-monitor. Any agent can also call get_skill(skill_id="enterprise-account-health-monitor") to pull these steps on demand.

What it does

Reads an account through its employees' public sentiment and its job postings for competitor skills — an early churn-risk score 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 signals evaluation. Salesforce

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. Combine both into a risk score.

Delivers: A health readout per account: sentiment signal, competitor-tool reqs, and a churn-risk rating with evidence.

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 through its employees' public sentiment and its job postings for competitor skills — an early churn-risk score 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>
  - competitor_tool (optional): (optional — e.g. Salesforce)

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. Combine both into a risk score.

DELIVER: A health readout per account: sentiment signal, competitor-tool reqs, and a churn-risk rating with evidence.

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.