Community研究與資料分析github.com

ComposioHQ/Attio-Automation

透過 Composio MCP 整合,使用自然語言自動化 Attio CRM 操作——搜尋記錄、以進階篩選查詢聯絡人與公司、管理筆記、列出屬性,以及瀏覽關係資料。

Attio-Automation 是什麼?

這項技能讓使用者能透過 Composio MCP 伺服器,以自然語言指令與 Attio CRM 工作區進行互動。它提供多種核心功能,包括模糊搜尋人員與公司、使用支援複雜運算子(如 `$contains` 與 `$gte`)的伺服器端篩選功能執行進階查詢、根據 ID 或屬性值查找記錄、瀏覽與篩選筆記,以及探索物件結構描述與屬性定義。技能支援可透過 OAuth 授權的 Attio 帳戶,並強調正確使用 ISO8601 時間戳記、巢狀名稱屬性,以及支援電郵地址與關聯記錄路徑篩選等特定查詢模式。為避免錯誤,使用者應注意已知陷阱,例如自訂屬性在不同工作區間會有所不同,以及搜尋功能是「最終一致性」的。 此技能相容於任何支援 MCP 用戶端(例如 Claude Code、Cursor 或 Codex)的 AI 代理工具,讓開發者能無縫地將 CRM 自動化整合至 AI 驅動的工作流程中。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/ComposioHQ/awesome-codex-skills/tree/main/composio-skills/attio-automation

Installed? Explore more 研究與資料分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

Attio Automation

以自然語言指令管理你的 Attio CRM 工作區——對人員與公司進行模糊搜尋、執行複雜的篩選查詢、瀏覽筆記、探索物件結構描述,以及列出記錄。

工具組文件: composio.dev/toolkits/attio


設定

  1. 在你的客戶端設定中加入 Composio MCP 伺服器:
    https://rube.app/mcp
    
  2. 系統提示時連接你的 Attio 帳戶(OAuth 驗證)。
  3. 開始使用自然語言指令管理你的 CRM 資料。

核心工作流程

1. 跨記錄模糊搜尋

依名稱、網域、電子郵件、電話或社交帳號搜尋人員、公司、交易或任何物件。

工具: ATTIO_SEARCH_RECORDS

範例提示:

「在 Attio 搜尋名為 Alan Mathis 的人」

主要參數(皆為必要):

  • query -- 搜尋字串(最多 256 個字元)。空白字串會傳回預設結果。
  • objects -- 要搜尋的物件 slug 陣列(例如 ["people"]、["people", "companies"]、["deals"])
  • request_as -- 上下文:使用 {"type": "workspace"} 進行完整工作區搜尋,或指定工作區成員

2. 進階篩選查詢

透過伺服器端篩選、排序與複雜條件查詢記錄,比模糊搜尋強大得多。

工具: ATTIO_QUERY_RECORDS

範例提示:

「找出 Attio 中所有 2025 年 1 月之後建立的公司,依名稱排序」

主要參數:

  • object(必要)-- 物件 slug 或 UUID(例如 "people"、"companies"、"deals")
  • filter -- Attio 篩選物件,支援 $eq、$contains、$gte、$and、$or 等運算子
  • sorts -- 排序規格陣列,包含 direction("asc"/"desc")與 attribute
  • limit -- 最多傳回記錄數(最多 500 筆)
  • offset -- 分頁偏移量

篩選範例:

{"name": {"first_name": {"$contains": "John"}}}
{"email_addresses": {"$contains": "@example.com"}}
{"created_at": {"$gte": "2025-01-01T00:00:00.000Z"}}

3. 依 ID 或屬性尋找記錄

透過唯一 ID 或屬性值查詢特定記錄。

工具: ATTIO_FIND_RECORD

範例提示:

「找出網域為 example.com 的 Attio 公司」

主要參數:

  • object_id(必要)-- 物件類型 slug:"people"、"companies"、"deals"、"users"、"workspaces"
  • record_id -- 直接以 UUID 查詢(選用)
  • attributes -- 屬性篩選字典(例如 {"email_addresses": "[email protected]"})
  • limit -- 最多記錄數(最多 1000 筆)
  • offset -- 分頁偏移量

4. 瀏覽與篩選筆記

列出工作區中的筆記,或依特定上層物件與記錄進行篩選。

工具: ATTIO_LIST_NOTES

範例提示:

「顯示 Attio 中 Acme Corp 公司記錄的最後 10 則筆記」

主要參數:

  • parent_object -- 物件 slug(例如 "people"、"companies"、"deals")-- 需要搭配 parent_record_id
  • parent_record_id -- 上層記錄的 UUID -- 需要搭配 parent_object
  • limit -- 最多傳回筆記數(1-50,預設 10)
  • offset -- 跳過的結果數量

5. 探索物件結構描述與屬性

透過列出物件及其屬性定義,了解你的工作區結構。

工具: ATTIO_GET_OBJECT、ATTIO_LIST_ATTRIBUTES

範例提示:

「Attio 的 companies 物件有哪些屬性?」

「取得物件」的主要參數:

  • object_id -- 物件 slug 或 UUID

「列出屬性」的主要參數:

  • target -- "objects" 或 "lists"
  • identifier -- 物件或列表 ID/slug

6. 列出所有記錄

從特定物件類型擷取記錄,支援簡單分頁,依建立順序傳回。

工具: ATTIO_LIST_RECORDS

範例提示:

「列出 Attio 中前 100 筆人員記錄」

主要參數:

  • 物件類型識別碼
  • 分頁參數

已知陷阱

  • 時間戳格式至關重要:所有時間戳比較(created_at、updated_at、自訂時間戳)必須使用 ISO8601 字串格式(例如 2025-01-01T00:00:00.000Z)。Unix 時間戳或數值會導致「Invalid timestamp value」錯誤。
  • 名稱屬性必須巢狀化:name 屬性具有子屬性(first_name、last_name、full_name),這些必須巢狀於 name 之下。正確:{"name": {"first_name": {"$contains": "John"}}}。錯誤:{"first_name": {...}} -- 這會導致「unknown_filter_attribute_slug」錯誤。
  • 電子郵件運算子有限:email_addresses 支援 $eq、$contains、$starts_with、$ends_with,但不支援 $not_empty。
  • 記錄參考屬性需要使用路徑篩選:對於參考其他記錄的屬性(例如「team」、「company」),請使用路徑式篩選,而非巢狀語法。範例:{"path": [["companies", "team"], ["people", "name"]], "constraints": {"first_name": {"$eq": "John"}}}。
  • 「lists」並非物件類型:請勿將「lists」用作 object_id。請使用列表專用動作進行列表操作。
  • 搜尋是最終一致的:ATTIO_SEARCH_RECORDS 會傳回最終一致的結果。如需保證最新的結果,請改用 ATTIO_QUERY_RECORDS。
  • 屬性 slug 因工作區而異:系統屬性(例如「email_addresses」、「name」)是一致的,但自訂屬性會有所差異。請使用 ATTIO_LIST_ATTRIBUTES 來探索工作區的有效 slug。

快速參考

動作工具 Slug必要參數
模糊搜尋記錄ATTIO_SEARCH_RECORDSquery、objects、request_as
以篩選查詢ATTIO_QUERY_RECORDSobject
依 ID/屬性尋找記錄ATTIO_FIND_RECORDobject_id
列出筆記ATTIO_LIST_NOTES無(選用篩選)
取得物件結構描述ATTIO_GET_OBJECTobject_id
列出屬性ATTIO_LIST_ATTRIBUTEStarget、identifier
列出記錄ATTIO_LIST_RECORDS物件類型

技術支援:Composio

Individual skills in this repo

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

ComposioHQ/-21risk-automation

Automate 21risk tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/-2chat-automation

Automate 2chat tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/ably-automation

Automate Ably tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abstract-automation

Automate Abstract tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abuselpdb-automation

Automate Abuselpdb tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/abyssale-automation

Automate Abyssale tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accelo-automation

Automate Accelo tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/accredible-certificates-automation

Automate Accredible Certificates tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/acculynx-automation

Automate Acculynx tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/active-campaign-automation

Automate ActiveCampaign tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/addresszen-automation

Automate Addresszen tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adobe-automation

Automate Adobe tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adrapid-automation

Automate Adrapid tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/adyntel-automation

Automate Adyntel tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aeroleads-automation

Automate Aeroleads tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/aero-workflow-automation

Automate Aero Workflow tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinda-automation

Automate Affinda tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/affinity-automation

Automate Affinity tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agencyzoom-automation

Automate Agencyzoom tasks via Rube MCP (Composio). Always search tools first for current schemas.

ComposioHQ/agent-deep-links

Build, validate, and troubleshoot deep links for Codex, Cursor, VS Code, Visual Studio, and similar tools. Use when users ask for clickable links (especially in Slack) that open threads, files, folders, or app settings.

相關技能