Community生產力與協作github.com

ComposioHQ/Dynamics-365-Automation

Dynamics 365 自動化:透過 Dynamics CRM Web API 管理 CRM 聯絡人、客戶、潛在客戶、商機、銷售訂單、發票及案件。

Dynamics-365-Automation 是什麼?

這個技能讓 AI 代理能夠直接透過 Dynamics CRM Web API 自動化 Microsoft Dynamics 365 的 CRM 操作,涵蓋從潛在客戶到發票的完整銷售生命週期。它支援建立、更新、查詢聯絡人、客戶、潛在客戶、商機、銷售訂單、發票及支援案件等實體,並且提供了詳盡的參數指南與範例。此技能需搭配 Rube MCP 伺服器(`https://rube.app/mcp`)使用,並在執行工具前確保 `dynamics365` 工具有活躍的連線。對於開發者與 CRM 管理員而言,這項技能能夠大幅減少手動輸入、加速資料同步,並實現銷售流程的自動化。

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

Installed? Explore more 生產力與協作 skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

在你喜歡的 AI 中提問

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

說明文件

Dynamics 365 自動化

自動化 Microsoft Dynamics 365 CRM 操作,包括建立與更新聯絡人、客戶、潛在客戶、商機、銷售訂單、發票及支援案件。

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


設定

此技能需要連接 Rube MCP 伺服器,位置為 https://rube.app/mcp。

在執行任何工具之前,請確保 dynamics365 工具組已有活躍的連線。如果沒有活躍連線,請透過 RUBE_MANAGE_CONNECTIONS 發起一個新連線。


核心工作流程

1. 管理潛在客戶

建立、更新、擷取與列出潛在客戶記錄。

工具:

  • DYNAMICS365_DYNAMICSCRM_CREATE_LEAD -- 建立新潛在客戶
  • DYNAMICS365_DYNAMICSCRM_UPDATE_LEAD -- 更新現有潛在客戶
  • DYNAMICS365_DYNAMICSCRM_GET_A_LEAD -- 依 GUID 擷取潛在客戶
  • DYNAMICS365_DYNAMICSCRM_GET_ALL_LEADS -- 列出/篩選所有潛在客戶

DYNAMICS365_DYNAMICSCRM_CREATE_LEAD 的主要參數:

  • firstname -- 潛在客戶的名字
  • lastname -- 潛在客戶的姓氏
  • emailaddress1 -- 主要電子郵件地址
  • telephone1 -- 主要電話號碼
  • companyname -- 關聯的公司名稱
  • subject -- 簡短標題/描述

DYNAMICS365_DYNAMICSCRM_GET_ALL_LEADS 的主要參數:

  • filter -- OData 篩選條件,例如 "contains(fullname,'John')"
  • select -- 要返回的欄位,例如 "fullname,emailaddress1"
  • orderby -- 排序表達式,例如 "createdon desc"
  • top -- 結果的最大筆數

範例:

Tool: DYNAMICS365_DYNAMICSCRM_CREATE_LEAD
Arguments:
  firstname: "Jane"
  lastname: "Smith"
  emailaddress1: "[email protected]"
  companyname: "Acme Corp"
  subject: "Interested in Enterprise plan"

2. 管理客戶

在 CRM 中建立與組織客戶(公司)記錄。

工具: DYNAMICS365_DYNAMICSCRM_CREATE_ACCOUNT

主要參數:

  • name -- 客戶/公司名稱
  • description -- 客戶描述
  • revenue -- 營收金額(數字)
  • accountcategorycode -- 類別代碼(整數,預設值:1)
  • creditonhold -- 客戶是否被信用凍結(布林值)

範例:

Tool: DYNAMICS365_DYNAMICSCRM_CREATE_ACCOUNT
Arguments:
  name: "Contoso Ltd"
  description: "Strategic partner for cloud services"
  revenue: 5000000
  creditonhold: false

3. 管理聯絡人

建立包含地址與電話資訊的詳細聯絡人記錄。

工具: DYNAMICS365_DYNAMICSCRM_CREATE_CONTACT

主要參數:

  • firstname, lastname -- 聯絡人姓名
  • emailaddress1 -- 主要電子郵件
  • telephone1 -- 主要電話
  • mobilephone -- 行動電話
  • jobtitle -- 職稱
  • address1_city, address1_stateorprovince, address1_postalcode, address1_country -- 地址欄位

範例:

Tool: DYNAMICS365_DYNAMICSCRM_CREATE_CONTACT
Arguments:
  firstname: "Bob"
  lastname: "Johnson"
  emailaddress1: "[email protected]"
  jobtitle: "VP of Engineering"
  address1_city: "Seattle"
  address1_stateorprovince: "WA"

4. 管理商機

建立與更新銷售商機,包含預估金額與預計結案日期。

工具:

  • DYNAMICS365_DYNAMICSCRM_CREATE_OPPORTUNITY -- 建立新商機
  • DYNAMICS365_DYNAMICSCRM_UPDATE_OPPORTUNITY -- 更新現有商機

DYNAMICS365_DYNAMICSCRM_CREATE_OPPORTUNITY 的主要參數:

  • name(必填)-- 商機標題
  • description -- 簡短描述
  • estimatedvalue -- 預期營收(數字)
  • estimatedclosedate -- 預計結案日期,格式為 YYYY-MM-DD
  • customer_account_id -- 相關客戶的 GUID(不含大括號)
  • customer_contact_id -- 相關聯絡人的 GUID(不含大括號)

DYNAMICS365_DYNAMICSCRM_UPDATE_OPPORTUNITY 的主要參數:

  • opportunity_id(必填)-- 商機的 GUID
  • opportunityratingcode -- 1(冷)、2(溫)、3(熱)
  • salesstagecode -- 1(資格審核)、2(開發)、3(提案)

範例:

Tool: DYNAMICS365_DYNAMICSCRM_CREATE_OPPORTUNITY
Arguments:
  name: "Enterprise Cloud Migration"
  estimatedvalue: 250000
  estimatedclosedate: "2026-06-30"
  description: "Full cloud migration project for Contoso"

5. 管理銷售訂單與發票

建立與更新銷售訂單;產生用於請款的發票。

工具:

  • DYNAMICS365_DYNAMICSCRM_CREATE_SALES_ORDER -- 建立新銷售訂單
  • DYNAMICS365_DYNAMICSCRM_UPDATE_SALES_ORDER -- 更新現有銷售訂單
  • DYNAMICS365_DYNAMICSCRM_CREATE_INVOICE -- 建立新發票

DYNAMICS365_DYNAMICSCRM_CREATE_SALES_ORDER 的主要參數:

  • name -- 銷售訂單名稱
  • description -- 描述
  • account_id -- 客戶參考,格式:"/accounts(GUID)"
  • currency_id -- 貨幣參考,格式:"/transactioncurrencies(GUID)"
  • price_level_id -- 價格表參考,格式:"/pricelevels(GUID)"

DYNAMICS365_DYNAMICSCRM_UPDATE_SALES_ORDER 的主要參數:

  • salesorder_id(必填)-- 銷售訂單的 GUID
  • name -- 更新後的名稱
  • discountamount -- 更新後的折扣金額
  • freightamount -- 更新後的運費

DYNAMICS365_DYNAMICSCRM_CREATE_INVOICE 的主要參數:

  • name -- 發票名稱/編號,例如 "Invoice #12345"
  • description -- 發票描述
  • account_id -- 相關客戶參考
  • currency_id -- 貨幣參考
  • price_level_id -- 價格表參考

6. 建立支援案件

建立用於客戶支援追蹤的事件/案件記錄。

工具: DYNAMICS365_DYNAMICSCRM_CREATE_CASE

主要參數:

  • title -- 案件的主旨/標題
  • description -- 詳細描述
  • prioritycode -- 1(低)、2(一般)、3(高)
  • caseorigincode -- 1(電話)、2(電子郵件)、3(網路)
  • account_id -- 相關客戶,格式:"/accounts(GUID)"
  • contact_id -- 相關聯絡人,格式:"/contacts(GUID)"

範例:

Tool: DYNAMICS365_DYNAMICSCRM_CREATE_CASE
Arguments:
  title: "Login issue reported by customer"
  description: "Customer unable to access portal since Feb 10"
  prioritycode: 3
  caseorigincode: 2

已知陷阱

陷阱細節
GUID 格式所有實體 ID 皆為 GUID(例如 "00000000-0000-0000-0000-000000000000")。商機/聯絡人參考中請勿包含大括號。
參考格式關聯實體參考使用格式 "/entityset(GUID)"(例如 "/accounts(abc-123)")。缺少前方斜線或括號會導致錯誤。
OData 篩選語法請使用 Dynamics 365 OData 語法作為 filter(例如 contains(fullname,'John'))。語法錯誤會回傳空值或錯誤回應。
user_id 預設值大多數工具將 user_id 預設為 "me",代表已驗證的使用者。只有在代表其他使用者執行操作時才需覆蓋此值。
必填欄位CREATE_OPPORTUNITY 需要 name。其他建立工具沒有嚴格的必填欄位,但若未提供資料將會建立空白記錄。

快速參考

工具代碼描述
DYNAMICS365_DYNAMICSCRM_CREATE_LEAD建立新的潛在客戶記錄
DYNAMICS365_DYNAMICSCRM_UPDATE_LEAD更新現有潛在客戶
DYNAMICS365_DYNAMICSCRM_GET_A_LEAD依 GUID 擷取潛在客戶
DYNAMICS365_DYNAMICSCRM_GET_ALL_LEADS列出/篩選所有潛在客戶
DYNAMICS365_DYNAMICSCRM_CREATE_ACCOUNT建立新的客戶記錄
DYNAMICS365_DYNAMICSCRM_CREATE_CONTACT建立新的聯絡人記錄
DYNAMICS365_DYNAMICSCRM_CREATE_OPPORTUNITY建立新的商機記錄
DYNAMICS365_DYNAMICSCRM_UPDATE_OPPORTUNITY更新現有商機
DYNAMICS365_DYNAMICSCRM_CREATE_SALES_ORDER建立新的銷售訂單
DYNAMICS365_DYNAMICSCRM_UPDATE_SALES_ORDER更新現有銷售訂單
DYNAMICS365_DYNAMICSCRM_CREATE_INVOICE建立新的發票
DYNAMICS365_DYNAMICSCRM_CREATE_CASE建立支援案件/事件

由 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.

相關技能