Logo Crm Sales Momentum

Crm Sales Momentum

Tổ chức
cognyai
crm-sales-momentum

Analyze CRM pipeline momentum (HubSpot, Pipedrive or Upsales) — deal velocity, stage conversions, win/loss patterns, and stall detection

Add to TypingMind

Tổng quan

Nhà phát hànhcognyai
Kho mãclaude-code-marketing-skills
Tên kỹ năngcrm-sales-momentum
Sao
111
Bản fork
15
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được cognyai công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Crm Sales Momentum trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/crm-sales-momentum
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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-sales-momentum .claude/skills/crm-sales-momentum
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Crm Sales Momentum trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Crm Sales Momentum ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Crm Sales Momentum với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

CRM Sales Momentum Drivers

Analyze what is driving or stalling pipeline momentum in your CRM (HubSpot, Pipedrive or Upsales). Measures deal velocity, stage conversion rates, time-in-stage, and win/loss patterns by segment. Surfaces the deal characteristics that predict wins versus losses and identifies stuck deals.

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

Tip: Run /crm-icp-analysis first to establish your ICP baseline, then use this skill to see how ICP-fit deals move through pipeline compared to non-fit deals.

Usage

/crm-sales-momentum — full momentum analysis /crm-sales-momentum velocity — deal velocity and stage timing only /crm-sales-momentum stalls — stuck deal detection only /crm-sales-momentum segments — win/loss patterns by segment only

Works with

All three CRMs connect read-only. HubSpot is primary and has the richest stage history; the others answer most of the jobs with stated limits.

JobHubSpot (primary)PipedriveUpsalesWhat differs
Stage mapget_properties (dealstage, pipeline)list_pipelines, list_stagesget_metadata (stages + probabilities)—
Dealssearch_crm_objects (deals)list_deals (status, pipeline_id, stage_id)list_opportunities (open), list_orders (won/closed)Upsales splits open pipeline from orders
Time in stagehs_date_entered_<stage> / hs_time_in_<stage>stage_change_time (current stage only)not exposed; use activity recencyWithout stage history, conversion rates are a snapshot (current stage + won/lost), not a true funnel; say so
Repsearch_owners, hubspot_owner_idlist_users, owner_idlist_users, user—
Last touch on a dealsearch_crm_objects (calls, meetings, notes)list_activities(deal_id)list_activities, list_appointments (filter client.id)—

If more than one CRM is connected, score each separately and show them side by side. Never sum pipeline across CRMs or currencies.

Step 0: Is Cogny connected?

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

CRM Sales Momentum 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-sales-momentum again.
Stripe (subscriptions) or Fortnox (customers, invoices), if connected, give only a payer-only
partial view (who pays, who cancels or stops buying), with no pipeline, stages or win rates.

Steps

1. Discover pipeline structure

Get deal stage properties to understand the pipeline:

mcp__cogny__mcp__HubSpot__get_properties(objectType: "deals", propertyNames: ["dealstage", "pipeline"])

Identify:

  • All pipeline stages and their order (from the dealstage property enum values)
  • Pipeline names (if multiple pipelines exist)
  • Custom deal properties relevant to segmentation

Use search_properties to find stage-timing properties:

mcp__cogny__mcp__HubSpot__search_properties(objectType: "deals", keywords: ["hs_date_entered", "hs_time_in"])

Also fetch owner list for rep-level analysis:

mcp__cogny__mcp__HubSpot__search_owners()

Pipedrive: mcp__cogny__mcp__Pipedrive__list_pipelines(), list_stages(pipeline_id: <id>) (ordered, with win probability), list_users() for reps, list_deal_fields() for custom segment fields.

Upsales: mcp__cogny__mcp__Upsales__get_metadata() for stages and their probabilities, list_users() for reps.

2. Pull deal data across all stages

Fetch deals created in the last 90 days plus recently closed:

mcp__cogny__mcp__HubSpot__search_crm_objects(
  objectType: "deals",
  filterGroups: [{"filters": [{"propertyName": "createdate", "operator": "GTE", "value": "<90 days ago timestamp>"}]}],
  properties: ["dealname", "dealstage", "hs_is_closed", "hs_is_closed_won", "amount", "deal_currency_code", "createdate", "closedate", "pipeline", "hubspot_owner_id", "hs_analytics_source", "dealtype", <stage timing properties from step 1>],
  sorts: [{"propertyName": "createdate", "direction": "DESCENDING"}],
  limit: 200
)

Check total count and paginate if needed to capture full dataset.

Classify outcomes with hs_is_closed_won = true (won) and hs_is_closed = true AND hs_is_closed_won = false (lost), never with dealstage = closedwon / closedlost: custom pipelines use their own stage ids, so stage-name filters miss their wins and losses.

Pipedrive: mcp__cogny__mcp__Pipedrive__list_deals(updated_since: "<90 days ago, ISO-8601>", sort_by: "add_time", sort_direction: "desc", limit: 500), following next_cursor. Keep stage_id, status, value, currency, owner_id, add_time, stage_change_time, won_time, lost_time, lost_reason.

Upsales: mcp__cogny__mcp__Upsales__list_opportunities(sort: "-date", limit: 1000) for open pipeline and list_orders(filters: [{"field": "date", "comparator": "gte", "value": "<90 days ago, YYYY-MM-DD>"}]) for closed; page with offset.

3. Deal velocity analysis

Calculate velocity metrics across the pipeline:

  • Overall velocity: average days from deal creation to close (won and lost separately)
  • Stage-by-stage velocity: average time in each stage
  • Stage conversion rates: % of deals that advance from each stage to the next
  • Drop-off stages: stages with the highest loss rate
  • Velocity trend: compare last 30 days vs previous 30 days

Build a pipeline flow visualization:

Pipeline Flow (last 90 days):
[Stage 1] ──85%──> [Stage 2] ──62%──> [Stage 3] ──48%──> [Stage 4] ──71%──> [Closed Won]
  100 deals           85 deals          53 deals          25 deals         18 deals
  avg 4 days          avg 7 days        avg 12 days       avg 5 days
                       ↓ 15%             ↓ 38%             ↓ 52%           ↓ 29%
                    [Lost: 15]        [Lost: 32]        [Lost: 28]       [Lost: 7]

Flag:

  • Stages where >40% of deals stall or are lost
  • Stages with average time >2x the overall stage average
  • Conversion rate drops of >10% compared to previous period

4. Stuck deal detection

Identify deals that are stalled based on time-in-stage analysis.

For each pipeline stage, calculate:

  • Median time-in-stage for deals that eventually advanced
  • Standard deviation of time-in-stage
  • Stall threshold: median + 1.5x standard deviation

Flag deals currently in a stage beyond the stall threshold:

mcp__cogny__mcp__HubSpot__search_crm_objects(
  objectType: "deals",
  filterGroups: [{"filters": [
    {"propertyName": "dealstage", "operator": "EQ", "value": "<stage>"},
    {"propertyName": "hs_date_entered_<stage>", "operator": "LT", "value": "<stall threshold date>"}
  ]}],
  properties: ["dealname", "amount", "hubspot_owner_id", "hs_date_entered_<stage>"],
  limit: 50
)

For each stuck deal, fetch associated company and contacts to add context about why it might be stalled.

Pipedrive: for open deals, time in current stage = now − stage_change_time; compare it with the same threshold. Add list_activities(deal_id: <id>, done: false) to show whether a next step is scheduled; a stuck deal with no open activity is the priority.

Upsales: time in stage isn't exposed. Flag open opportunities whose account has no activity or appointment in the last 2× median cycle (list_activities / list_appointments with filters: [{"field": "client.id", "comparator": "eq", "value": <id>}]), and label the threshold as activity-based.

5. Win/loss pattern analysis by segment

Segment closed deals along multiple dimensions and compare win rates:

By Deal Size:

  • Bucket deals into tiers and compare win rate per tier
  • Identify the deal size range with highest win rate

By Lead Source:

  • Win rate by hs_analytics_source (organic, paid, referral, direct, etc.); on Pipedrive/Upsales use a source custom field if one exists, otherwise skip this cut
  • Average deal size by source
  • Average sales cycle by source

By Owner (Sales Rep):

  • Win rate per rep
  • Average deal velocity per rep
  • Average deal size per rep
  • Identify top performers and what they do differently

By Company Segment (fetch associated companies):

  • Win rate by industry
  • Win rate by company size
  • Win rate by geography

By Deal Age at Stage:

  • Deals that spend <X days in each stage: win rate
  • Deals that spend >X days: win rate
  • Identify the "golden window" — the time-in-stage range that correlates with wins

6. Momentum scoring

Score overall pipeline momentum:

Pipeline Momentum Score: X/100

Velocity:        X/25
  [FAST/NORMAL/SLOW] Average cycle [N] days
  [UP/DOWN/FLAT] Velocity trend: [X]% change vs prior period

Flow Rate:       X/25
  [STRONG/MODERATE/WEAK] Stage conversion rates
  [IMPROVING/DECLINING/STABLE] Conversion trend
  Drop-off stage: [stage name] ([X]% loss rate)

Pipeline Health:  X/25
  [HEALTHY/AT_RISK/CRITICAL] [N] deals stuck ([X]% of active pipeline)
  [GROWING/SHRINKING/STABLE] Pipeline value: [X] [ccy] ([X]% change)
  Coverage ratio: [X]x ([pipeline value] / [target])

Predictability:  X/25
  [HIGH/MEDIUM/LOW] Win rate consistency: [X]% +/- [Y]%
  [CLEAR/MIXED/UNCLEAR] Segment patterns identified
  [STRONG/WEAK] Leading indicators reliability

7. Output momentum report

CRM Sales Momentum Analysis
CRM: [HubSpot / Pipedrive / Upsales]
Period: Last 90 days
Deals analyzed: [N] ([N] won, [N] lost, [N] active)
Pipeline value: [X] [currency]

═══════════════════════════════════════════════════
MOMENTUM SCORE: X/100
═══════════════════════════════════════════════════

Pipeline Flow:
[Stage-by-stage flow diagram from Step 3]

Key Velocity Metrics:
  Average Sales Cycle (Won):   [N] days
  Average Sales Cycle (Lost):  [N] days
  Fastest Close:               [N] days ([deal name])
  Slowest Win:                 [N] days ([deal name])

Stage Health:
┌──────────────────┬──────────┬───────────┬──────────┬─────────────┐
│ Stage            │ Deals In │ Avg Days  │ Conv Rate│ Stuck Deals │
├──────────────────┼──────────┼───────────┼──────────┼─────────────┤
│ [Stage 1]        │ [N]      │ [N]       │ [X]%     │ [N]         │
│ [Stage 2]        │ [N]      │ [N]       │ [X]%     │ [N]         │
│ [Stage 3]        │ [N]      │ [N]       │ [X]%     │ [N]         │
│ [Stage 4]        │ [N]      │ [N]       │ [X]%     │ [N]         │
└──────────────────┴──────────┴───────────┴──────────┴─────────────┘

Win Predictors (what separates wins from losses):
1. [Predictor]: deals with [X] win at [Y]% vs [Z]% without
2. [Predictor]: deals with [X] win at [Y]% vs [Z]% without
3. [Predictor]: deals with [X] win at [Y]% vs [Z]% without

Stuck Deals Requiring Attention:
┌──────────────────┬──────────┬──────────┬──────────┬─────────────────┐
│ Deal             │ Amount   │ Stage    │ Days In  │ Owner           │
├──────────────────┼──────────┼──────────┼──────────┼─────────────────┤
│ [Deal 1]         │ [X] [ccy]│ [Stage]  │ [N]      │ [Rep]           │
│ [Deal 2]         │ [X] [ccy]│ [Stage]  │ [N]      │ [Rep]           │
└──────────────────┴──────────┴──────────┴──────────┴─────────────────┘

Rep Performance:
┌──────────────────┬──────────┬───────────┬──────────┬─────────────┐
│ Rep              │ Win Rate │ Avg Cycle │ Avg Deal │ Pipeline    │
├──────────────────┼──────────┼───────────┼──────────┼─────────────┤
│ [Rep 1]          │ [X]%     │ [N] days  │ [X] [ccy]│ [X] [ccy]   │
│ [Rep 2]          │ [X]%     │ [N] days  │ [X] [ccy]│ [X] [ccy]   │
└──────────────────┴──────────┴───────────┴──────────┴─────────────┘

Top 3 Actions:
1. [Highest-impact momentum fix]
2. [Second highest]
3. [Third highest]

8. Record findings

For EVERY actionable momentum 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": "38% of deals stall at Proposal stage — avg 18 days vs 7-day benchmark",
  "body": "32 of 85 deals entering the Proposal stage in the last 90 days have stalled or been lost. Median time-in-stage for deals that advance is 7 days, but stalled deals average 18 days. Common pattern: deals without a second contact (single-threaded) stall at 2.1x the rate. 12 deals currently stuck in Proposal worth 340K [ccy] total. Recommend: implement multi-threading requirement before Proposal stage, add 10-day stall alert.",
  "action_type": "pipeline_optimization",
  "expected_outcome": "Reduce Proposal stage stall rate from 38% to <20%",
  "estimated_impact_usd": 8000,
  "priority": "high"
}

Action types for sales momentum:

  • pipeline_optimization — stage process changes, stall interventions
  • deal_acceleration — specific actions to unstick individual deals
  • rep_coaching — rep-specific performance improvements
  • forecasting_improvement — pipeline coverage, predictability fixes
  • lead_source_optimization — invest in sources that produce faster-closing deals
  • disqualification_rule — patterns that predict losses, filter 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.

Câu hỏi thường gặp

Kỹ năng AI Crm Sales Momentum làm được gì?

Analyze CRM pipeline momentum (HubSpot, Pipedrive or Upsales) — deal velocity, stage conversions, win/loss patterns, and stall detection

Vì sao nên dùng Crm Sales Momentum trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Crm Sales Momentum là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Crm Sales Momentum trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/cognyai/claude-code-marketing-skills/tree/main/skills/crm-sales-momentum. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Crm Sales Momentum?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Crm Sales Momentum với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Crm Sales Momentum với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Crm Sales Momentum có miễn phí không?

Kỹ năng này được cognyai phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇