Logo: Crm Icp Analysis

Crm Icp Analysis

Organisatioun
cognyai
crm-icp-analysis

Analyséiert CRM-Donnéeën (HubSpot, Pipedrive oder Upsales), fir aus gewonnenen Deals, Kontakter a Firmen en datenbaséierten Ideal Customer Profile opzestellen

Add to TypingMind

Iwwersiicht

Editeurcognyai
Repositoryclaude-code-marketing-skills
Skill-Nummcrm-icp-analysis
Stären
111
Forks
15
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    cognyai huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Crm Icp Analysis an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/crm-icp-analysis
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/cognyai/claude-code-marketing-skills.git /tmp/claude-code-marketing-skills
mkdir -p .claude/skills
cp -r /tmp/claude-code-marketing-skills/skills/crm-icp-analysis .claude/skills/crm-icp-analysis
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Crm Icp Analysis an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Crm Icp Analysis automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Crm Icp Analysis net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

CRM ICP Analysis

Build a data-driven Ideal Customer Profile by analyzing closed-won deals, associated contacts, and companies in your CRM (HubSpot, Pipedrive or Upsales). Identifies patterns in industries, company sizes, job titles, deal sizes, sales cycles, and lead sources that predict revenue.

Requires: Cogny Agent subscription ($9/mo) — Sign up

Usage

/crm-icp-analysis — full ICP analysis across all dimensions /crm-icp-analysis companies — company firmographic analysis only /crm-icp-analysis contacts — buyer persona analysis only /crm-icp-analysis deals — deal pattern analysis only

Works with

All three CRMs connect read-only. HubSpot is primary; the steps show the Pipedrive and Upsales calls where they differ.

JobHubSpot (primary)PipedriveUpsalesWhat differs
Field definitionsget_properties, search_propertieslist_deal_fields, list_stagesget_metadataPipedrive custom fields are hash keys; Upsales custom fields are custom.<id>
Won / lost dealssearch_crm_objects (deals, hs_is_closed_won / hs_is_closed)list_deals(status: "won" / "lost")list_orders (probability 100 = won, 0 = lost)Pipedrive uses won_time / lost_time; Upsales uses the order date
Companiesget_crm_objects (companies)list_organizationslist_accountsIndustry and employee count are standard in HubSpot, usually custom elsewhere
Buyersget_crm_objects (contacts)list_personslist_contactsJob title may be missing or custom; say so instead of guessing seniority
Lead sourcehs_analytics_sourcecustom field, if anycustom field or list_leads sourceOften absent outside HubSpot; then skip that dimension and its scoring weight

If more than one CRM is connected, run the analysis per CRM and present them side by side. Never pool deal amounts across CRMs or currencies; each deal carries its own currency.

Step 0: Is Cogny connected?

If no mcp__cogny__* tools exist (no list_integrations, no cogny_status), print this and stop:

CRM ICP Analysis needs your marketing data through Cogny's MCP gateway.

1. Sign up at https://cogny.com and connect your CRM (HubSpot, Pipedrive or Upsales).
2. Add Cogny to .mcp.json in your project:
   {"mcpServers": {"cogny": {"type": "http", "url": "https://app.cogny.com/mcp"}}}
3. Restart Claude Code; it opens a browser for the OAuth login on first use.

Nothing to run without Cogny.

Prerequisites Check

Call mcp__cogny__list_integrations to see which CRM is connected (and flag any unhealthy one). health_status misses revoked tokens, so make one cheap read per connected CRM:

  • HubSpot: call mcp__cogny__mcp__HubSpot__get_user_details and confirm read access to contacts, companies, and deals.
  • Pipedrive: call mcp__cogny__mcp__Pipedrive__list_pipelines.
  • Upsales: call mcp__cogny__mcp__Upsales__get_metadata.

A 401, Forbidden or "lacks scope" means 🔴 "reconnect in Cogny"; don't retry the call. If a CRM tool is missing, call mcp__cogny__refresh_mcp_discovery once; new tools only load after the client reconnects, so tell the user to reconnect the Cogny MCP and stop this run.

If no CRM is connected (or every connected one is 🔴), print this and stop:

This skill needs a CRM. Connect HubSpot, Pipedrive or Upsales in Cogny
(Integrations → Connect), then run /crm-icp-analysis again.
Stripe (subscriptions) or Fortnox (customers, invoices), if connected, give only a payer-only
partial view (who pays, at what price, who cancels or stops buying), with no firmographics,
personas or win rates; /marketing-brain can seed from them in the meantime.

Steps

1. Discover available properties

Before querying data, understand what fields exist:

mcp__cogny__mcp__HubSpot__get_properties(objectType: "deals")
mcp__cogny__mcp__HubSpot__get_properties(objectType: "companies")
mcp__cogny__mcp__HubSpot__get_properties(objectType: "contacts")

Identify key properties for analysis:

  • Deals: dealstage, hs_is_closed_won, hs_is_closed, amount, deal_currency_code, closedate, createdate, pipeline, dealtype, hs_analytics_source
  • Companies: industry, numberofemployees, annualrevenue, city, state, country, type
  • Contacts: jobtitle, hs_persona, lifecyclestage, hs_analytics_source

Note any custom properties that look ICP-relevant (e.g., custom industry fields, company tier, segment tags).

Pipedrive: mcp__cogny__mcp__Pipedrive__list_deal_fields() decodes deal custom-field keys; list_pipelines and list_stages give the stage map. Organization fields have no definitions tool, so ask the user which keys hold industry and employee count.

Upsales: mcp__cogny__mcp__Upsales__get_metadata() lists custom fields, currencies and stages. Look for custom fields holding industry, size or segment.

2. Analyze closed-won deals

Search for closed-won deals to establish the revenue baseline. Filter on hs_is_closed_won, not dealstage = closedwon: custom pipelines use their own stage ids, so a stage filter misses their wins.

mcp__cogny__mcp__HubSpot__search_crm_objects(
  objectType: "deals",
  filterGroups: [{"filters": [{"propertyName": "hs_is_closed_won", "operator": "EQ", "value": "true"}]}],
  properties: ["dealname", "amount", "deal_currency_code", "closedate", "createdate", "pipeline", "dealstage", "dealtype", "hs_analytics_source"],
  sorts: [{"propertyName": "closedate", "direction": "DESCENDING"}],
  limit: 200
)

Check the total count — paginate if needed to capture full dataset.

Calculate:

  • Total closed-won deals and total revenue
  • Average deal size (mean and median)
  • Deal size distribution: bucket into tiers per currency (e.g., <5K, 5-25K, 25-100K, 100K+ [ccy])
  • Average sales cycle length: days from createdate to closedate
  • Sales cycle by deal size tier
  • Win rate by pipeline (if multiple pipelines exist)
  • Lead source breakdown: which sources produce closed-won deals

Also search closed-lost for comparison (hs_is_closed = true AND hs_is_closed_won = false, which covers every pipeline):

mcp__cogny__mcp__HubSpot__search_crm_objects(
  objectType: "deals",
  filterGroups: [{"filters": [
    {"propertyName": "hs_is_closed", "operator": "EQ", "value": "true"},
    {"propertyName": "hs_is_closed_won", "operator": "EQ", "value": "false"}
  ]}],
  properties: ["dealname", "amount", "deal_currency_code", "closedate", "createdate", "pipeline", "dealstage", "hs_analytics_source"],
  limit: 200
)

Compare closed-won vs closed-lost to identify discriminating patterns.

Pipedrive: mcp__cogny__mcp__Pipedrive__list_deals(status: "won", limit: 500) and again with status: "lost"; follow next_cursor until it is null. Use value + currency, add_time → won_time for the cycle, and lost_reason on lost deals (a direct anti-ICP signal HubSpot often lacks).

Upsales: mcp__cogny__mcp__Upsales__list_orders(sort: "-date", limit: 1000) and page with offset until metadata.total. Split by stage probability (100 = won, 0 = lost); use value + currency and the order date. Upsales has no created-date-to-close field on orders, so derive cycle length from the linked opportunity's dates if present, otherwise mark it N/A.

3. Analyze winning companies

Fetch companies associated with closed-won deals. Use get_crm_objects with deal IDs to get associations, then batch-fetch the associated companies:

mcp__cogny__mcp__HubSpot__get_crm_objects(
  objectType: "companies",
  objectIds: [<associated company IDs>],
  properties: ["name", "industry", "numberofemployees", "annualrevenue", "city", "state", "country", "type", "domain"]
)

Pipedrive: list_organizations (page with cursor) and keep the org_ids from won deals. Upsales: list_accounts(filters: [{"field": "id", "comparator": "in", "value": [<client ids from orders>]}]).

Build firmographic profile:

  • Industry breakdown: rank industries by deal count and total revenue
  • Company size distribution: by employee count bands (1-50, 51-200, 201-1000, 1000+)
  • Revenue range: annual revenue bands of winning companies
  • Geography: country, state/region concentration
  • Company type: customer, partner, prospect categorization

Flag:

  • Industries that appear in >20% of closed-won deals (core ICP)
  • Company size sweet spots (highest win rate bands)
  • Geographic clusters

4. Analyze buyer personas

Fetch contacts associated with closed-won deals, then batch-fetch:

mcp__cogny__mcp__HubSpot__get_crm_objects(
  objectType: "contacts",
  objectIds: [<associated contact IDs>],
  properties: ["jobtitle", "hs_persona", "lifecyclestage", "hs_analytics_source"]
)

Pipedrive: list_persons(org_id: <id>) per winning organization (or the deal's person_id). Upsales: list_contacts(filters: [{"field": "client.id", "comparator": "in", "value": [<client ids>]}]).

Build buyer persona profile:

  • Job title clustering: group similar titles (e.g., "VP Marketing", "Head of Marketing", "Marketing Director" = Marketing Leadership)
  • Seniority distribution: C-level, VP, Director, Manager, Individual Contributor
  • Functional area: Marketing, Sales, Product, Engineering, Finance, Operations
  • Number of contacts per deal: single-threaded vs multi-threaded deals
  • Lead source by persona: how different personas find you

Flag:

  • Dominant buyer persona (>30% of closed-won contacts)
  • Multi-threaded deals that win at higher rates
  • Personas that correlate with larger deal sizes

5. Cross-dimensional analysis

Combine insights across deals, companies, and contacts:

  • Best segment: Industry + Company Size + Persona that produces highest win rate
  • Highest-value segment: combination that produces largest average deal size
  • Fastest-closing segment: combination with shortest sales cycle
  • Lead source efficiency: which sources produce best-fit leads (not just most leads)
  • Anti-ICP patterns: segments with low win rates or high loss rates

6. Output ICP definition

CRM ICP Analysis
CRM: [HubSpot / Pipedrive / Upsales]
Data basis: [N] closed-won deals, [N] companies, [N] contacts
Period: [earliest close date] to [latest close date]
Total revenue analyzed: [X] [currency]

═══════════════════════════════════════════════════
IDEAL CUSTOMER PROFILE
═══════════════════════════════════════════════════

Company Firmographics:
  Industry:        [Top 1-3 industries] ([X]% of wins)
  Employee Count:  [Range] (sweet spot: [X-Y])
  Annual Revenue:  [Range] [ccy]
  Geography:       [Top regions]

Buyer Persona:
  Primary Buyer:   [Title cluster] ([X]% of deals)
  Secondary Buyer: [Title cluster] ([X]% of deals)
  Seniority:       [Level] and above
  Function:        [Department]

Deal Characteristics:
  Average Deal Size:    [X] [ccy] (median: [Y] [ccy])
  Sweet Spot Range:     [X] - [Y] [ccy]
  Average Sales Cycle:  [N] days
  Best Lead Sources:    [Source 1], [Source 2]

Win Rate Analysis:
  Overall Win Rate:     [X]%
  Best Segment Rate:    [X]% ([segment description])
  Worst Segment Rate:   [X]% ([segment description])

═══════════════════════════════════════════════════
ICP FIT SCORING MODEL
═══════════════════════════════════════════════════

Dimension          | Weight | Criteria
───────────────────|────────|─────────────────────────
Industry           |  25%   | [Top industries] = match
Company Size       |  20%   | [Range] employees = match
Seniority          |  20%   | [Level]+ = match
Job Function       |  15%   | [Functions] = match
Deal Size Potential|  10%   | [X]+ [ccy] = match
Lead Source        |  10%   | [Sources] = match

Scoring: 80-100 = Strong fit | 60-79 = Moderate fit | <60 = Weak fit

═══════════════════════════════════════════════════
ANTI-ICP (AVOID)
═══════════════════════════════════════════════════

- [Pattern 1 that predicts losses]
- [Pattern 2 that predicts losses]
- [Pattern 3 that predicts losses]

Top 3 Actions:
1. [Highest-impact recommendation]
2. [Second recommendation]
3. [Third recommendation]

7. Record findings

For EVERY actionable ICP insight, record one review item. Detect the plan from the tools that exist: on Cloud (create_ticket exists) call mcp__cogny__create_ticket first, with execution_target: "manual" and the fields mapped per section 2 of the routing guide. Only on Solo (no create_ticket) call mcp__cogny__create_finding:

json
{
  "title": "ICP sweet spot: SaaS companies 200-1000 employees close at 2.3x average rate",
  "body": "Analysis of 87 closed-won deals shows SaaS companies with 200-1000 employees have a 42% win rate vs 18% overall. Average deal size 45K [ccy], 34-day sales cycle. These companies represent only 23% of pipeline but 51% of revenue. Recommend: prioritize this segment in outbound and ad targeting.",
  "action_type": "icp_refinement",
  "expected_outcome": "Increase win rate by focusing pipeline on high-fit segments",
  "estimated_impact_usd": 5000,
  "priority": "high"
}

Action types for ICP analysis:

  • icp_refinement — ICP definition updates, scoring model changes
  • targeting_refinement — ad/outbound targeting changes based on ICP
  • pipeline_optimization — sales process changes for specific segments
  • lead_source_optimization — invest more in high-ICP-fit lead sources
  • disqualification_rule — anti-ICP patterns to filter out early

Recording findings

Use create_ticket first when the workspace has it (Cloud), and create_finding only when it doesn't (Solo). The fields differ; see section 2 of ../marketing-engineer/references/mcp-routing.md.

Heefeg gestallte Froen

Wat mécht de KI-Skill Crm Icp Analysis?

Analyséiert CRM-Donnéeën (HubSpot, Pipedrive oder Upsales), fir aus gewonnenen Deals, Kontakter a Firmen en datenbaséierten Ideal Customer Profile opzestellen

Firwat Crm Icp Analysis op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Crm Icp Analysis besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Crm Icp Analysis an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/crm-icp-analysis an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Crm Icp Analysis benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Crm Icp Analysis benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Crm Icp Analysis domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Crm Icp Analysis gratis?

cognyai huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇