Communitygithub.com

SamuelChien/mega-skills-collection

透過 Rube MCP (Composio) 自動化 ActiveCampaign 任務:管理聯絡人、標籤、列表訂閱、自動化註冊和任務。請務必先搜尋工具以取得當前結構定義。

mega-skills-collection 是什麼?

這項技能提供了一套完整的 ActiveCampaign CRM 與行銷自動化操作介面,透過 Composio 的 ActiveCampaign 工具集與 Rube MCP 整合。它支援聯絡人管理(建立與查詢)、標籤增刪、列表訂閱管理、自動化流程註冊以及聯絡人任務建立等核心工作流程。技能執行前需確保 Rube MCP 已連線,並呼叫 `RUBE_SEARCH_TOOLS` 取得最新的工具結構定義;同時必須透過 `RUBE_MANAGE_CONNECTIONS` 建立有效的 ActiveCampaign 連線。操作過程中需特別注意動作參數的大小寫規範(標籤動作使用首字母大寫 'Add' 與 'Remove',列表訂閱則使用全小寫 'subscribe' 與 'unsubscribe'),以及所有 ID 須以字串形式傳遞。為避免觸發 API 速率限制,批次操作應加入適當延遲。此技能最適用於需要透過腳本或 AI 代理程式自動執行 ActiveCampaign 日常維運的情境,例如批次更新聯絡人標籤、大量訂閱/退訂列表,或將潛在客戶自動加入銷售漏斗。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/SamuelChien/mega-skills-collection/tree/HEAD/activecampaign-automation

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

透過 Rube MCP 自動化 ActiveCampaign

透過 Composio 的 ActiveCampaign 工具集(經由 Rube MCP)自動化 ActiveCampaign CRM 與行銷自動化操作。

前置要求

  • Rube MCP 必須已連線(RUBE_SEARCH_TOOLS 可用)
  • 使用 RUBE_MANAGE_CONNECTIONS 並指定工具集 active_campaign 建立有效的 ActiveCampaign 連線
  • 務必先呼叫 RUBE_SEARCH_TOOLS 以取得最新的工具結構定義

設定

取得 Rube MCP:在您的客戶端設定中將 https://rube.app/mcp 新增為 MCP 伺服器。不需要 API 金鑰,只需加入端點即可運作。

  1. 確認 RUBE_SEARCH_TOOLS 有回應,以驗證 Rube MCP 可用
  2. 使用工具集 active_campaign 呼叫 RUBE_MANAGE_CONNECTIONS
  3. 若連線狀態非 ACTIVE,請依照回傳的驗證連結完成 ActiveCampaign 身分驗證
  4. 在執行任何工作流程前,確認連線狀態顯示為 ACTIVE

核心工作流程

1. 建立與查詢聯絡人

適用時機:使用者想要建立新聯絡人或查詢現有聯絡人

工具順序:

  1. ACTIVE_CAMPAIGN_FIND_CONTACT - 搜尋現有聯絡人 [可選]
  2. ACTIVE_CAMPAIGN_CREATE_CONTACT - 建立新聯絡人 [必要]

查詢的主要參數:

  • email:以電子郵件地址搜尋
  • id:以 ActiveCampaign 聯絡人 ID 搜尋
  • phone:以電話號碼搜尋

建立的主要參數:

  • email:聯絡人電子郵件地址(必填)
  • first_name:聯絡人名字
  • last_name:聯絡人姓氏
  • phone:聯絡人電話號碼
  • organization_name:聯絡人所屬組織
  • job_title:聯絡人職稱
  • tags:以逗號分隔的標籤列表

常見陷阱:

  • email 是建立聯絡人時唯一必填的欄位
  • 電話搜尋在內部使用通用搜尋參數,可能回傳部分相符的結果
  • 在 FIND_CONTACT 中同時使用 email 和 phone 時,結果會在客戶端過濾
  • 建立時提供的標籤會立即套用
  • 使用已存在的電子郵件建立聯絡人可能會更新該現有聯絡人

2. 管理聯絡人標籤

適用時機:使用者想要為聯絡人新增或移除標籤

工具順序:

  1. ACTIVE_CAMPAIGN_FIND_CONTACT - 以電子郵件或 ID 查詢聯絡人 [前置]
  2. ACTIVE_CAMPAIGN_MANAGE_CONTACT_TAG - 新增或移除標籤 [必要]

主要參數:

  • action:'Add' 或 'Remove'(必填)
  • tags:以逗號分隔的字串或字串陣列表示標籤名稱(必填)
  • contact_id:聯絡人 ID(提供此參數或 contact_email)
  • contact_email:聯絡人電子郵件地址(可替代 contact_id)

常見陷阱:

  • action 值為首字母大寫:'Add' 或 'Remove'(不可使用小寫)
  • 標籤可以傳遞為逗號分隔字串('tag1, tag2')或陣列(['tag1', 'tag2'])
  • 必須提供 contact_id 或 contact_email 其中之一;contact_id 優先
  • 新增不存在的標籤會自動建立該標籤
  • 移除不存在的標籤不會產生錯誤(無操作)

3. 管理列表訂閱

適用時機:使用者想要訂閱或退訂聯絡人的列表

工具順序:

  1. ACTIVE_CAMPAIGN_FIND_CONTACT - 查詢聯絡人 [前置]
  2. ACTIVE_CAMPAIGN_MANAGE_LIST_SUBSCRIPTION - 訂閱或退訂 [必要]

主要參數:

  • action:'subscribe' 或 'unsubscribe'(必填)
  • list_id:數值列表 ID 字串(必填)
  • email:聯絡人電子郵件地址(提供此參數或 contact_id)
  • contact_id:數值聯絡人 ID 字串(可替代 email)

常見陷阱:

  • action 值為全小寫:'subscribe' 或 'unsubscribe'
  • list_id 是數值字串(例如 '2'),而非列表名稱
  • 列表 ID 可透過 GET /api/3/lists 端點取得(不可作為 Composio 工具使用;請使用 ActiveCampaign 介面)
  • 若同時提供 email 和 contact_id,則 contact_id 優先
  • 退訂會將狀態變更為 '2'(已退訂),但關係記錄仍會保留

4. 新增聯絡人至自動化流程

適用時機:使用者想要將聯絡人註冊到自動化工作流程中

工具順序:

  1. ACTIVE_CAMPAIGN_FIND_CONTACT - 確認聯絡人存在 [前置]
  2. ACTIVE_CAMPAIGN_ADD_CONTACT_TO_AUTOMATION - 註冊聯絡人至自動化流程 [必要]

主要參數:

  • contact_email:要註冊的聯絡人電子郵件(必填)
  • automation_id:目標自動化流程的 ID(必填)

常見陷阱:

  • 聯絡人必須已存在於 ActiveCampaign 中
  • 自動化流程只能透過 ActiveCampaign 介面建立,無法透過 API 建立
  • automation_id 必須指向一個存在且啟用的自動化流程
  • 該工具執行兩步驟流程:先以電子郵件查詢聯絡人,再進行註冊
  • 自動化流程 ID 可在 ActiveCampaign 介面或透過 GET /api/3/automations 端點找到

5. 建立聯絡人任務

適用時機:使用者想要建立與聯絡人相關的後續任務

工具順序:

  1. ACTIVE_CAMPAIGN_FIND_CONTACT - 查詢要關聯任務的聯絡人 [前置]
  2. ACTIVE_CAMPAIGN_CREATE_CONTACT_TASK - 建立任務 [必要]

主要參數:

  • relid:要關聯任務的聯絡人 ID(必填)
  • duedate:ISO 8601 格式的到期日期(含時區)(必填,例如 '2025-01-15T14:30:00-05:00')
  • dealTasktype:根據可用類型的任務類型 ID(必填)
  • title:任務標題
  • note:任務描述/內容
  • assignee:指派任務的使用者 ID
  • edate:ISO 8601 格式的結束日期(必須晚於 duedate)
  • status:0 表示未完成,1 表示已完成

常見陷阱:

  • duedate 必須是有效的 ISO 8601 日期時間並包含時區偏移;請勿使用佔位符值
  • edate 必須晚於 duedate
  • dealTasktype 是參照 ActiveCampaign 中設定的任務類型的字串 ID
  • relid 是數值聯絡人 ID,而非電子郵件地址
  • assignee 是使用者 ID;請透過 ActiveCampaign 介面將使用者名稱解析為 ID

常見模式

聯絡人查詢流程

1. 以電子郵件呼叫 ACTIVE_CAMPAIGN_FIND_CONTACT
2. 若找到,擷取聯絡人 ID 以供後續操作使用
3. 若未找到,使用 ACTIVE_CAMPAIGN_CREATE_CONTACT 建立聯絡人
4. 使用聯絡人 ID 進行標籤、訂閱或自動化流程操作

大量標籤操作

1. 對每個聯絡人呼叫 ACTIVE_CAMPAIGN_MANAGE_CONTACT_TAG
2. 使用 contact_email 以避免額外的查詢呼叫
3. 分批處理並加入適當延遲以遵守速率限制

ID 解析

聯絡人電子郵件 -> 聯絡人 ID:

1. 以電子郵件呼叫 ACTIVE_CAMPAIGN_FIND_CONTACT
2. 從回應中擷取 id

已知陷阱

動作參數大小寫:

  • 標籤動作:'Add'、'Remove'(首字母大寫)
  • 訂閱動作:'subscribe'、'unsubscribe'(全小寫)
  • 混淆大小寫會導致錯誤

ID 類型:

  • 聯絡人 ID:數值字串(例如 '123')
  • 列表 ID:數值字串
  • 自動化流程 ID:數值字串
  • 所有 ID 應以字串形式傳遞,而非整數

自動化流程:

  • 自動化流程無法透過 API 建立;僅能進行註冊
  • 自動化流程必須處於啟用狀態才能接受新聯絡人
  • 將已經在自動化流程中的聯絡人註冊可能不會產生任何效果

速率限制:

  • ActiveCampaign API 對每個帳戶設有速率限制
  • 在收到 429 回應時實施退避策略
  • 批次操作應適當間隔

回應解析:

  • 回應資料可能巢狀在 data 或 data.data 之下
  • 使用防禦性解析並搭配回退模式
  • 聯絡人搜尋可能回傳多個結果;應以電子郵件進行比對以確保準確性

快速參考

任務工具名稱主要參數
查詢聯絡人ACTIVE_CAMPAIGN_FIND_CONTACTemail, id, phone
建立聯絡人ACTIVE_CAMPAIGN_CREATE_CONTACTemail, first_name, last_name, tags
新增/移除標籤ACTIVE_CAMPAIGN_MANAGE_CONTACT_TAGaction, tags, contact_email
訂閱/退訂ACTIVE_CAMPAIGN_MANAGE_LIST_SUBSCRIPTIONaction, list_id, email
加入自動化流程ACTIVE_CAMPAIGN_ADD_CONTACT_TO_AUTOMATIONcontact_email, automation_id
建立任務ACTIVE_CAMPAIGN_CREATE_CONTACT_TASKrelid, duedate, dealTasktype, title

使用時機

此技能適用於執行概述中所述的工作流程或操作。

限制

  • 僅在任務明確符合上述範圍時使用此技能。
  • 請勿將輸出視為環境特定驗證、測試或專家審查的替代方案。
  • 若缺少所需的輸入、權限、安全邊界或成功標準,請停止並要求釐清。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

SamuelChien/mega-skills-collection

Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.

SamuelChien/mega-skills-collection

Arquitecto de Soluciones Principal y Consultor Tecnológico de Andru.ia. Diagnostica y traza la hoja de ruta óptima para proyectos de IA en español.

SamuelChien/mega-skills-collection

Ingeniero de Sistemas de Andru.ia. Diseña, redacta y despliega nuevas habilidades (skills) dentro del repositorio siguiendo el Estándar de Diamante.

SamuelChien/mega-skills-collection

Estratega de Inteligencia de Dominio de Andru.ia. Analiza el nicho específico de un proyecto para inyectar conocimientos, regulaciones y estándares únicos del sector. Actívalo tras definir el nicho.

SamuelChien/mega-skills-collection

2D game development principles. Sprites, tilemaps, physics, camera.

SamuelChien/mega-skills-collection

3D game development principles. Rendering, shaders, physics, cameras.

SamuelChien/mega-skills-collection

Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences.

SamuelChien/mega-skills-collection

Accessibility audit skill for scanning, fixing, and verifying WCAG 2.2 Level A and AA compliance across React, Next.js, Vue, Angular, Svelte, and plain HTML codebases. Use when auditing accessibility, fixing a11y violations, checking color contrast, generating compliance reports, or integrating accessibility checks into CI/CD pipelines.

SamuelChien/mega-skills-collection

Ab Test Analyzer - Auto-activating skill for Data Analytics. Triggers on: ab test analyzer, ab test analyzer Part of the Data Analytics skill category.

SamuelChien/mega-skills-collection

A B Test Config Creator - Auto-activating skill for ML Deployment. Triggers on: a b test config creator, a b test config creator Part of the ML Deployment skill category.

SamuelChien/mega-skills-collection

When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or "test this." For tracking implementation, see analytics-tracking.

SamuelChien/mega-skills-collection

Acceptance Criteria Creator - Auto-activating skill for Enterprise Workflows. Triggers on: acceptance criteria creator, acceptance criteria creator Part of the Enterprise Workflows skill category.

SamuelChien/mega-skills-collection

Use when a coding task should be driven end-to-end from issue intake through implementation, review, deployment, and acceptance verification with minimal human re-intervention.

SamuelChien/mega-skills-collection

Accessibility Audit Runner - Auto-activating skill for Frontend Development. Triggers on: accessibility audit runner, accessibility audit runner Part of the Frontend Development skill category.

SamuelChien/mega-skills-collection

You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.

SamuelChien/mega-skills-collection

Web accessibility patterns for WCAG 2.2 compliance including ARIA, keyboard navigation, screen readers, and testing

SamuelChien/mega-skills-collection

Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed, or change policy for the Discord channel.

SamuelChien/mega-skills-collection

Create unified specification packages across Business, Development, and Design teams. Staged elaboration (L0 Vision → L1 Requirements → L2 Team Detail → L3 Acceptance Criteria) to build shared understanding. Does not write code.

SamuelChien/mega-skills-collection

Research a company or person and get actionable sales intel. Works standalone with web search, supercharged when you connect enrichment tools or your CRM. Trigger with "research [company]", "look up [person]", "intel on [prospect]", "who is [name] at [company]", or "tell me about [company]".

SamuelChien/mega-skills-collection

Validate messaging consistency across website, GitHub repos, and local documentation generating read-only discrepancy reports. Use when checking content alignment or finding mixed messaging. Trigger with phrases like "check consistency", "validate documentation", or "audit messaging".

相關技能