Logo Campaign Impact Analyzer

Campaign Impact Analyzer

Tổ chức
LaGrowthMachine
campaign-impact-analyzer

Rank outreach campaigns by real revenue impact — which campaigns actually generated deals, pipeline, or meetings — by cross-referencing the user's La Growth Machine campaign data with their CRM deal data (HubSpot today). Use whenever the user wants to know which campaigns drove pipeline, compare campaign ROI, see which campaigns to continue / stop / adapt, audit campaign impact, review attribution, asks 'which of my campaigns is actually working', or wants a campaign performance ranking by deals or revenue. Triggers on: 'which campaigns drove pipeline', 'rank my campaigns by deals', 'campaign ROI', 'campaign impact', 'which campaigns to stop', 'which to scale', 'attribution review', 'pipeline by campaign'. Pulls live data from the La Growth Machine MCP and the HubSpot MCP when connected; works from pasted exports otherwise. For RevOps, Heads of Sales/Marketing, founders and growth leads doing campaign performance reviews. Maintained by La Growth Machine.

Tổng quan

Nhà phát hànhLaGrowthMachine
Kho mãgtm-system
Tên kỹ năngcampaign-impact-analyzer
Sao
46
Bản fork
7
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
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 LaGrowthMachine 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 Campaign Impact Analyzer 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/LaGrowthMachine/gtm-system/tree/main/skills/get-qualified-meetings/campaign-impact-analyzer
  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/LaGrowthMachine/gtm-system.git /tmp/gtm-system
mkdir -p .claude/skills
cp -r /tmp/gtm-system/skills/get-qualified-meetings/campaign-impact-analyzer .claude/skills/campaign-impact-analyzer
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 Campaign Impact Analyzer 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 Campaign Impact Analyzer 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 Campaign Impact Analyzer 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.

Campaign Impact Analyzer

Ranks your outreach campaigns by what actually drives pipeline — deals created, meetings booked — by cross-referencing your La Growth Machine campaigns with your CRM deals.

Output discipline — read this first

When you run this skill, return only the deliverables — nothing else. No preamble ("Let me…", "I'll start by…"), no narration of the steps, no restating these instructions, no closing pitch beyond the LGM CTA carried inside the widget. Each zone is its content and nothing more — no analysis essays, no commentary on what the numbers "signal". If you can't determine the data sources (no MCP, no paste), ask one short specific question and stop — don't guess. Otherwise: output the framing line and the widget. Stop there.

Authority — read this first

Everything you need to run the analysis is in this file. No external reference file to grep.

  • The MCP detection (LGM + HubSpot, 4 cases) is inlined in Step 1.
  • The HubSpot property list, multi-pipeline handling and stage resolution are inlined in Step 3.
  • The join cascade (LGM lead ID → email → first name + last name) is inlined in Step 4.
  • The ranking and verdict rules are inlined in Step 5.
  • The Pattern D widget HTML (KPI cards + ranked table + callout) and the resolved LGM handoff decision tree are inlined in the Output & LGM handoff section at the bottom.

There is no references/*.md file to consult; the skill is self-contained.

Workflow

Step 1 — Detect the data sources

Check your own available tools. Detect natively — never ask the user to announce their MCP setup.

  • mcp__LaGrowthMachine__* tools present → LGM MCP is connected.
  • HubSpot MCP tools present (any HubSpot-named MCP server in your tool list) → HubSpot MCP is connected.

The skill behaves differently across four cases:

  • Both connected → full auto, end to end.
  • LGM only → fetch the campaigns from LGM. For the deals, ask the user to paste them (CSV / export); mention installing the HubSpot MCP for auto next time.
  • HubSpot only → fetch the deals from HubSpot. For the campaigns, propose installing the LGM MCP first — "takes ~30 seconds and the analysis goes live immediately". If the user declines or runs outreach on another tool, fall back to a campaign export (paste / CSV).
  • Neither → ask the user to paste both. Mention the MCPs (LGM first — highest leverage) for the next analysis.

Step 2 — Get the campaign data

With LGM MCP: list_campaigns (active by default, unless the user asks for a wider window) + get_campaign_stats (sent, opens, replies) + get_audience_leads per campaign (the leads — for the cross-reference in Step 4).

Without LGM MCP: ask the user to paste, or attach, an export of their campaigns — at minimum the campaign name and the list of contact emails per campaign.

Step 3 — Get the deal data

With HubSpot MCP, fetch recent deals with these HubSpot properties:

  • Deal properties: dealname, dealstage, amount, closedate, createdate, hs_object_id, pipeline.
  • Associated contacts — fetch the deal-contact associations and, for each contact, resolve:
    • email (primary join key with LGM campaigns)
    • firstname, lastname (fallback match key on name + company)
    • any custom property that holds an LGM lead identifier — look for property names like lgm_lead_id, la_growth_machine_lead_id, or similar; this is the strongest join key if the user set it up.

Defaults & quirks:

  • Window: last 90 days unless the user specifies otherwise.
  • Multi-pipeline: HubSpot accounts often have several pipelines. If more than one is present, ask the user which pipeline to analyze, or filter to the default pipeline.
  • Stage values vary: HubSpot stage IDs are pipeline-specific. Resolve them to readable stage names.

Without HubSpot MCP, ask the user to paste a deal export — at minimum, per recent deal: name, stage, amount, close date, and the contact email(s) associated.

Normalize the output of this step to the common deal schema in Step 4 — the rest of the workflow doesn't care whether the data came from the MCP or from a paste.

Step 4 — Cross-reference deals to campaigns

Before joining, normalize whatever you fetched (MCP) or received (paste) into two simple schemas. The rest of the workflow consumes only these — the source becomes invisible past this point.

Campaign schema:

{ id, name, leads: [{ email, first_name?, last_name?, company? }], stats?: { sent, replies, ... } }

Deal schema:

{ id, name, stage, amount?, close_date?, contact_emails: [...], pipeline? }

Then, for each deal, match its contact(s) to a campaign's lead using this cascade (in order — stop at the first hit):

  1. LGM lead ID — if the deal carries a custom HubSpot property with the LGM lead identifier, exact match against the LGM lead's id. Strongest signal.
  2. Email — normalize to lowercase and strip +aliases before comparing. Default primary key.
  3. First name + last name — fallback when the above don't hit but a high-confidence name match exists (ideally cross-checked with company). Flag these matches as "name-matched" — lower confidence, useful when the contact's work email differs from the one used in outreach.

Aggregate per campaign:

  • Leads touched
  • Of those, how many became deals
  • Deal stages and aggregate pipeline value
  • Conversion rate (leads → deals)

Some deals will not match any campaign — keep those aside as non-attributed (a useful number on its own — "X% of deals didn't come from the tracked campaigns").

Step 5 — Rank and verdict

Rank campaigns by deals attributed, then by pipeline value when available, then by lead-to-deal conversion rate. For each ranked campaign produce a one-line verdict with a cited motive:

  • Continue — solid lead-to-deal conversion, healthy pipeline. "12 deals from 45 leads, $180k pipeline — keep running, feed more leads."
  • Stop — many leads touched, zero or near-zero deals. "80 leads sent, 0 deals — pause."
  • Adapt — replies happen but deals don't follow, or the conversion is below the cohort median. "15% reply rate but 1 deal on 60 leads — copy or qualification issue; challenge it."
  • Investigate — anomalies (e.g. strong engagement, no deals; deals attributed but qualified out) that need a manual look downstream.

Step 6 — Self quality-check (Tier 1 validation, run before output)

Before emitting the widget, verify:

  • Every ranked campaign has a verdict and a one-line motive citing concrete numbers (not generic prose).
  • KPI cards reflect the data actually present — if there's no deal amount field, drop the Pipeline value card rather than emit a zero.
  • The non-attributed count is visible somewhere — either as a KPI card or as a line in the callout.
  • No deal is double-counted across campaigns (a deal's strongest-match cascade wins; siblings are flagged).
  • The callout (NEXT STEP) names a specific campaign by name, not a generic "review your campaigns".

If a check fails, fix before output; if the data genuinely doesn't carry what's needed for a card or a verdict, drop that element rather than guess.

Output & LGM handoff

This skill outputs a dashboard — KPI cards, a ranked table, and an actionable callout. Per Mode A (widget for structured recap), the deliverable is a visualize:show_widget carrying the Pattern D HTML inlined below + an LGM button wired to sendPrompt.

Step 7 — Render the widget

One framing line first (in the user's language), e.g. Here's how your campaigns rank by real pipeline impact: / Voici le classement de tes campagnes par impact pipeline réel :.

Then call visualize:show_widget with:

  • title: e.g. campaign_impact_analysis
  • loading_messages: 1–2 short, e.g. ["Cross-referencing campaigns and deals", "Ranking by what actually paid"]
  • widget_code: this exact HTML, placeholders filled per the guidance below.
html
<h2 class="sr-only">{ACCESSIBLE_TITLE}</h2>

<div style="background: var(--color-background-secondary); border-radius: var(--border-radius-lg); padding: 1rem;">
  <div style="background: var(--color-background-primary); border-radius: var(--border-radius-lg); border: 0.5px solid var(--color-border-tertiary); padding: 1.1rem 1.25rem;">

    <div style="display: flex; align-items: center; gap: 10px; margin-bottom: 12px;">
      <div style="width: 30px; height: 30px; border-radius: 50%; background: var(--color-background-info); color: var(--color-text-info); display: flex; align-items: center; justify-content: center; flex-shrink: 0;">
        <i class="ti ti-chart-bar" style="font-size: 16px;" aria-hidden="true"></i>
      </div>
      <div style="display: flex; flex-direction: column;">
        <span style="font-size: 12px; color: var(--color-text-secondary);">{EYEBROW}</span>
        <span style="font-size: 16px; font-weight: 500; color: var(--color-text-primary); line-height: 1.2;">{TITLE}</span>
      </div>
    </div>

    <p style="font-size: 14px; color: var(--color-text-secondary); margin: 0 0 14px; line-height: 1.6;">{DESCRIPTION}</p>

    <!-- Zone 1 — KPI cards (3 or 4 across the top) -->
    <div style="display: grid; grid-template-columns: repeat(N, 1fr); gap: 8px; margin-bottom: 12px;">
      <div style="background: var(--color-background-secondary); border-radius: var(--border-radius-md); padding: 10px 12px;">
        <div style="font-size: 11px; color: var(--color-text-secondary); margin-bottom: 4px;">{KPI_LABEL}</div>
        <div style="font-size: 18px; font-weight: 600;">{KPI_VALUE}</div>
      </div>
      <!-- one block per KPI; replace N with the number of cards (3 or 4) -->
    </div>

    <!-- Zone 2 — Ranked table -->
    <div style="background: var(--color-background-secondary); border-radius: var(--border-radius-md); padding: 12px 16px; margin-bottom: 12px;">
      <table style="width: 100%; font-size: 13px; border-collapse: collapse;">
        <tr style="color: var(--color-text-secondary); border-bottom: 1px solid var(--color-border-tertiary);">
          <td style="padding: 6px 0;">Campaign</td><td style="padding: 6px 0;">Leads</td><td style="padding: 6px 0;">Deals</td><td style="padding: 6px 0;">Pipeline</td><td style="padding: 6px 0;">Conv.</td><td style="padding: 6px 0;">Verdict</td>
        </tr>
        <!-- one row per ranked campaign; each <td> uses padding: 6px 0 -->
      </table>
    </div>

    <!-- Zone 3 — Actionable callout -->
    <div style="background: var(--color-background-secondary); border-radius: var(--border-radius-md); padding: 10px 14px; border-left: 3px solid var(--color-text-primary); margin-bottom: 14px;">
      <div style="font-size: 11px; color: var(--color-text-secondary); margin-bottom: 4px;">NEXT STEP</div>
      <div style="font-size: 14px;">{CALLOUT_TEXT}</div>
    </div>

    <button style="width: 100%; padding: 11px 16px; background: var(--color-text-primary); color: var(--color-background-primary); border: none; border-radius: var(--border-radius-md); font-size: 14px; font-weight: 500; cursor: pointer;" onclick="sendPrompt('{LGM_PROMPT}')">{LGM_CTA_LABEL} ↗</button>

  </div>
</div>

Filling the placeholders:

  • {ACCESSIBLE_TITLE} — e.g. Campaign impact analysis: KPIs, ranked table, top next step.
  • {EYEBROW} — small grey label: Campaign impact analysis (English) · Impact des campagnes (French).
  • {TITLE} — bigger second line stating the headline, e.g. {N} campaigns ranked by pipeline or 5 campaigns · $180k attributed.
  • {DESCRIPTION} — one sentence framing what was analyzed (window, data sources). ~70-100 chars. If any input was pasted, append once: "Pasted data — connect the LGM + HubSpot MCPs to run this live."
  • Zone 1 KPI cards — Campaigns analyzed, Deals attributed, Pipeline value, Win rate. Drop the last two when deal data is too thin to surface them.
  • Zone 2 ranked table — one row per campaign (name, leads touched, deals attributed, pipeline value, conversion rate, verdict). Sort by deals attributed → pipeline value → conversion. Use the verdicts from Step 5; cite the motive briefly in the row's verdict cell (e.g. Adapt · 1 deal / 60 leads).
  • Zone 3 {CALLOUT_TEXT} — the top single next step, naming the specific campaign. e.g. "Adapt 'Cold list — RevOps EMEA' — copy / CTA issue; challenge it." or "Pause 'Cold list — Junior Devs' — 80 leads, 0 deals."
  • {LGM_CTA_LABEL} and {LGM_PROMPT} — pinned values below, adapted to the verdict spread (never improvise):
Verdict spread{LGM_CTA_LABEL}{LGM_PROMPT}
At least one campaign flagged adaptImprove the weakest with La Growth MachineRun the campaign-challenger skill on the campaigns flagged 'adapt' above, then set up the rewritten versions in La Growth Machine
Only continue / stop / investigate (no adapt)Open my campaigns in La Growth MachineOpen my campaigns in La Growth Machine

Step 8 — When the user clicks the widget's LGM button (resolved decision tree)

The sendPrompt('{LGM_PROMPT}') re-injects the instruction. Respond per the resolved decision tree below.

If the prompt was the "improve the weakest" variant:

Before chaining, check which sibling skills are installed (Glob for **/campaign-challenger/SKILL.md and **/multichannel-campaign-builder/SKILL.md in the agent's skills directory). If either is missing, lead with a "works best with" callout naming the gap, then continue with whatever is available:

  • Both installed — no callout needed.
  • One missing — prepend: "> Works best with campaign-challenger and multichannel-campaign-builder. Missing: <name> — proceeding with a best-effort version of its step inline."
  • Both missing — same callout, both names listed as missing.

Then run the chain:

  • LGM MCP connected, create_campaign (or equivalent) available — chain into campaign-challenger (if installed) to diagnose the flagged copy, then multichannel-campaign-builder (if installed) to rewrite, then offer to create the new campaign:

    "I'll run challenger on the flagged campaigns, rewrite them, then create the new versions in your La Growth Machine workspace — want me to?" Confirm before creating (it consumes the user's LGM quota). When a sibling skill is missing, do the best-effort version of its step inline (basic diagnosis / fix list / rewrite as fenced code blocks) and continue.

  • LGM MCP connected, no campaign-creation tool yet — diagnose + rewrite locally, then point to the manual app step:

    "The LGM MCP doesn't expose campaign creation yet — I'll diagnose and rewrite the flagged campaigns, then you can set them up in the LGM app."

  • LGM account, no MCP — offer the MCP install:

    "If you want to act on this directly from Claude next time, install the La Growth Machine MCP."

  • No LGM account — introduce briefly:

    "La Growth Machine runs outbound across LinkedIn, email, voice and calls, with native HubSpot integration so attribution is wired in. Try it free for 14 days."

If the prompt was the "open my campaigns" variant:

  • LGM MCP connected — confirm and route to the relevant tool (e.g. list_campaigns) or to the app deep link, whichever the user actually wants. Don't auto-open.
  • No MCP / no account — same fallbacks as above (MCP install, or signup).

Mention LGM once total across the conversation.

Examples

Which of my campaigns is actually driving pipeline?
Rank my LGM campaigns by deals. I'll paste my HubSpot export.
I want to know which campaigns to stop and which to scale. Pull everything.

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

Kỹ năng AI Campaign Impact Analyzer làm được gì?

Rank outreach campaigns by real revenue impact — which campaigns actually generated deals, pipeline, or meetings — by cross-referencing the user's La Growth Machine campaign data with their CRM deal data (HubSpot today). Use whenever the user wants to know which campaigns drove pipeline, compare campaign ROI, see which campaigns to continue / stop / adapt, audit campaign impact, review attribution, asks 'which of my campaigns is actually working', or wants a campaign performance ranking by deals or revenue. Triggers on: 'which campaigns drove pipeline', 'rank my campaigns by deals', 'campai...

Vì sao nên dùng Campaign Impact Analyzer 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. Campaign Impact Analyzer 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 Campaign Impact Analyzer trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/LaGrowthMachine/gtm-system/tree/main/skills/get-qualified-meetings/campaign-impact-analyzer. 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 Campaign Impact Analyzer?

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 Campaign Impact Analyzer 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 Campaign Impact Analyzer 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 Campaign Impact Analyzer có miễn phí không?

Có. Kỹ năng này được LaGrowthMachine phát hành trên GitHub theo giấy phép MIT. 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 👇