CRMの活動データを分析します。営業担当者の成績、通話とメール件数、チーム活動の内訳、顧客接触の統計情報などを対象とします。 次のような場合に使用: 「チームは何件の通話を行った?」「営業担当者の活動を見せて」「最も活動している営業担当者は誰?」「今週の活動内訳」「チームはどのくらい成績を上げている?」「私たちのアウトリーチ件数は?」「営業担当者の活動を比較して」「通話統計」「営業担当者別のメール件数」「活動レポート」「チーム全体の接触統計」
Analyze CRM activity data — rep performance, call and email volume, team activity breakdowns, and engagement stats. Use when someone says "how many calls did the team make", "show me rep activity", "who's the most active rep", "activity breakdown this week", "how is the team performing", "what's our outreach volume", "compare rep activity", "call stats", "email volume by rep", "activity report", or "team engagement stats".
フロー: トリガー → コネクタ確認 → ボード解決 → クエリ構築 → インサイト取得 → 結果合成
具体的な数字と営業担当者ごとの内訳を含む要約。生のJSON形式では提示しません。
get-activity-insights は集計された件数を返します。個別のアクティビティ記録や内容を見るには get-timeline-items を使用してください。["type"] でアクティビティの種類別内訳、["userId", "type"] で営業担当者別の内訳、["userId"] で営業担当者の合計のみ。board_id は必須 — ツールを呼び出す前に必ず解決してください。get-activity-insights — 営業担当者、種類、または案件別にグループ化した集計データ(件数、期間)get_user_context — ユーザー身元とアカウント情報search / get_board_info / get_board_items_page — ボードと案件を解決list_users_and_teams — 営業担当者名をユーザーIDに変換(フィルタリング用)get-timeline-items — 案件レベルのアクティビティ詳細(集計ではなく内容が必要な場合の代替手段)| ユーザーの質問 | groupBy | 備考 |
|---|---|---|
| 「各営業担当者は電話を何件かけた?」 | ["userId", "type"] |
営業担当者別の内訳 |
| 「今週のアクティビティの種類別内訳は?」 | ["type"] |
チーム全体の種類別内訳 |
| 「最も活動的な営業担当者は誰?」 | ["userId"] |
営業担当者の合計のみ |
| 「ジョンはメールを何件送った?」 | ["type"] |
+ userIds フィルタ |
| 「Acmeの案件のアクティビティは?」 | ["type"] |
+ itemIds フィルタ、または内容が必要なら get-timeline-items を使用 |
| 「先月の営業担当者のパフォーマンスを比較」 | ["userId", "type"] |
fromDate/toDate を設定 |
mcp__monday__get_user_context を呼び出します。エラーが出た場合 → コネクタインストール案内を表示して中断します。get-activity-insights は board_id が必須です。
mcp__monday__search または mcp__monday__get_board_info でIDを取得mcp__monday__search({ query: "deals" }) で最も可能性の高いCRMボードを検索。判断が付かなければ質問します。ユーザーの指示を解析します:
groupBy:
["userId", "type"]["type"]["userId", "type"]日付範囲:
fromDate: 30日前fromDate: 今日の開始時刻fromDate / toDate を設定フィルタ:
mcp__monday__list_users_and_teams で解決、userIds を設定itemIds を設定(または内容が必要なら get-timeline-items にリダイレクト)aggregationType: デフォルトは count。期間に関する質問(「電話はどのくらい長かった」)の場合は sum または avg を使用します。
解決したパラメータで mcp__monday__get-activity-insights を呼び出します。
total_results === 0 の場合:
「<ボード名>で過去<期間>のアクティビティは見つかりませんでした。チームがまだアクティビティを記録していないか、より広い日付範囲を試してみてください。」
結果を要約します:
| エラー | 対応 |
|---|---|
| コネクタが未インストール | 中断してインストール案内を表示します |
| ボードが解決できない | ユーザーにボードの指定を依頼します |
| ツールが利用不可 | 「このアカウントではアクティビティインサイトはまだ利用できません。」 |
| 結果がない | 日付範囲を確認し、より広い範囲を試すよう提案します |
| 営業担当者名が見つからない | 明確化を依頼するか、list_users_and_teams で利用可能な営業担当者を表示します |
| 案件レベルのコンテンツ要求 | get-timeline-items にリダイレクトします。get-activity-insights はボード レベルで動作 |
board_id が解決されているget-timeline-items にリダイレクトされているFlow: Trigger → Connector check → Resolve board → Build query → Fetch insights → Synthesize.
A synthesized summary with specific numbers and rep-level breakdowns. Never raw JSON.
get-activity-insights returns aggregated counts — not individual activity records. For activity history with content, use get-timeline-items.["type"] for activity breakdown; ["userId", "type"] for per-rep breakdown; ["userId"] for rep totals only.board_id is required — always resolve it before calling the tool.get-activity-insights — aggregated activity stats (counts, duration) grouped by rep, type, or item.get_user_context — user identity and account info.search / get_board_info / get_board_items_page — resolve boards and items.list_users_and_teams — resolve rep names to user IDs for filtering.get-timeline-items — fallback for item-level activity detail (content, not aggregates).| User says | groupBy | Notes |
|---|---|---|
| "How many calls did each rep make?" | ["userId", "type"] |
Per-rep breakdown |
| "What's the activity breakdown this week?" | ["type"] |
Team totals by type |
| "Who's the most active rep?" | ["userId"] |
Rep totals only |
| "How many emails did John send?" | ["type"] |
+ userIds filter |
| "Activity on the Acme deal?" | ["type"] |
+ itemIds filter — or use get-timeline-items for content |
| "Compare rep performance last month" | ["userId", "type"] |
Set fromDate/toDate |
mcp__monday__get_user_context. On error → print connector install prompt, stop.get-activity-insights requires a board_id.
mcp__monday__search or mcp__monday__get_board_info to resolve the ID.mcp__monday__search({ query: "deals" }) to find the most likely CRM board. Still ambiguous → ask.Parse the argument:
groupBy:
["userId", "type"]["type"]["userId", "type"]Date range:
fromDate: 30 days agofromDate: start of todayfromDate / toDateFilters:
mcp__monday__list_users_and_teams, pass userIdsitemIds (or redirect to get-timeline-items for content)aggregationType: default count. Use sum / avg for duration questions ("how long were the calls").
mcp__monday__get-activity-insights with resolved parameters.total_results === 0:
"No activities found on <board> in the last <window>. The team may not have logged activities yet, or try a wider date range."| Failure | Behavior |
|---|---|
| Connector missing | Stop; print install prompt. |
| Board not resolved | Ask user to specify the board. |
| Tool unavailable | "Activity insights aren't available on the connector for your account yet." |
| No results | Confirm date range; suggest widening. |
| Rep name not found | Ask for clarification or list available reps via list_users_and_teams. |
| Item-level content request | Redirect to get-timeline-items; get-activity-insights operates at board level. |
board_id resolved before calling the tool.get-timeline-items.原文・著作権は Anthropic および各プラグイン作者に帰属します。日本語訳は Claude API による自動翻訳です。