连接器指南阅读约 7 分钟40 个 MCP 工具7 种语言

如何通过 MCP 将 Freshsales 连接到 Microsoft Copilot

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。

HC作者:HelpCode 团队更新于 7 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Freshsales

Freshsales

Freshsales (Freshworks CRM) from any AI agent: contacts, accounts, deals and pipelines, notes, tasks, appointments, sales activities, search and marketing lists. REST API with a per-user API key and the account bundle URL.

个工具

40

区域

INTL

类别

CRM

身份验证

API Key

所需环境变量

FRESHSALES_BUNDLE_URLFRESHSALES_API_KEY
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Freshsales,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。

试试这样问

Freshsales 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Freshsales · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Freshsales、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Freshsales + Microsoft Copilot

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

FRESHSALES_BUNDLE_URL, FRESHSALES_API_KEY

步骤 1 — 获取凭证

设置大约需要 2 分钟。你需要一个 Freshsales(Freshworks CRM)账户。

  1. 在 Freshsales 中点击你的头像,然后点 Profile Settings,打开 API Settings 标签页。
  2. 把 Your API key 复制到 FRESHSALES_API_KEY。连接器以 Authorization: Token token=<key> 发送它,所以只粘贴密钥本身。
  3. 在同一标签页把 bundle alias(你账户的地址)复制到 FRESHSALES_BUNDLE_URL,例如 https://acme.myfreshworks.com/crm/sales。在 Freshworks 套件推出之前创建的账户使用 https://acme.freshsales.io。不要带 /api 和末尾的斜杠。
  4. 安装连接器并运行 freshsales_list_owners:它会列出门户的用户,并确认密钥和地址可用。

每次调用都以填入密钥的那个用户的权限执行:该用户权限范围之外的记录不可见。请使用能看到团队所需数据的用户的密钥。

从这里开始:freshsales_list_owners 返回用作 owner_id 的用户 id。freshsales_list_selector 读取选项列表(区域、管道和阶段、货币、商机类型和原因、线索来源、行业和企业类型、营销活动、联系人状态、生命周期阶段、销售活动类型和结果),返回写入时要用的 id。freshsales_list_pipeline_stages 返回某个管道的阶段。freshsales_list_fields 列出联系人、客户、商机或销售活动的字段,包括自定义字段:它们的内部名称以 cf_ 开头,放在 custom_field 中。

查找记录:

  • freshsales_search:按姓名或邮箱在联系人、客户、商机和用户中做文本搜索。include 使用单数名称 contact、sales_account、deal 和 user;用复数则什么都不返回。
  • freshsales_lookup:按单个字段精确匹配,例如按邮箱查联系人,或按名称、自定义字段值查联系人、客户和商机。
  • freshsales_filtered_search:按字段规则(精确值、范围、列表)筛选,返回完整记录。
  • 列表总是通过已保存的视图读取:先用 freshsales_list_views 获取视图 id(例如 "All Contacts" 或 "My Deals"),再用 freshsales_list_contacts、freshsales_list_accounts 或 freshsales_list_deals 按排序读取该视图。

联系人、客户和商机:freshsales_get_contact、freshsales_get_account 和 freshsales_get_deal 读取一条记录,并通过 include 嵌入关联记录(例如 sales_accounts,deals,notes)。freshsales_list_contact_activities 显示联系人的时间线(邮件、通话、备注、字段变更、网站访问)。写入时 AI 使用 freshsales_create_contact(至少需要邮箱或姓氏)、freshsales_update_contact、freshsales_upsert_contact(按邮箱或其他唯一字段创建或更新)、freshsales_create_account(name 唯一)、freshsales_update_account、freshsales_create_deal(name 和 amount 必填)和 freshsales_update_deal。把 deal_stage_id 设为其管道中的某个阶段即可推进商机;赢单和输单也是阶段,输单的商机可以带 deal_reason_id。更新只修改传入的字段。

备注、任务、预约和活动 通过 targetable_type(Contact、SalesAccount 或 Deal)和 targetable_id 关联到记录:

  • 备注:freshsales_create_note、freshsales_update_note。
  • 任务:freshsales_list_tasks(每次调用一个筛选条件:open、due_today、due_tomorrow、overdue 或 completed)、freshsales_get_task、freshsales_create_task、freshsales_update_task、freshsales_complete_task。
  • 预约:freshsales_list_appointments(open 为即将到来的,past 为过去的;旧门户使用 upcoming)、freshsales_get_appointment、freshsales_create_appointment、freshsales_update_appointment。参与者是用户(FdMultitenant::User)或联系人(Contact)。
  • 已记录的通话、拜访等销售活动:freshsales_list_sales_activities、freshsales_get_sales_activity、freshsales_create_sales_activity。

营销列表:freshsales_list_marketing_lists、freshsales_list_marketing_list_contacts、freshsales_add_contacts_to_list 和 freshsales_remove_contacts_from_list(联系人本身会保留)。

线索:当前的 Freshsales 账户把潜在客户作为带生命周期阶段的联系人保存,没有单独的线索模块。AI 通过视图或 freshsales_filtered_search 按生命周期阶段筛选联系人。

安装时关闭:无。连接器没有删除工具,因此无法删除联系人、客户、商机、备注、任务或预约。创建和更新会直接改动你正在使用的 CRM,所以请让 AI 在保存前先展示字段。

数据格式:时间戳以 UTC 或带偏移量的形式返回(2026-02-13T23:27:49Z)。日期输入接受 YYYY-MM-DD 或 ISO 8601;不带时区时按 UTC 处理。金额使用商机的货币;base_currency_amount 已换算为门户货币。空字段为 null。通过 include 嵌入的记录以独立的顶层数组(users、sales_accounts、deals)出现在记录旁边,通过 id 关联。

分页:列表接受 page(从 1 开始)和 per_page(默认 25,最多 100),并返回 meta.total_pages 和 meta.total。freshsales_search 默认返回 10 条结果,最多 100 条。

限制和常见错误:每个账户每小时 1000 次请求,超出后 Freshsales 返回 429。401 表示密钥错误或缺失,403 表示用户缺少权限或套餐不含该功能,404 表示 id 错误或 bundle URL 错误。校验错误返回 400,并附带 errors.message。

连接器不会删除记录,不会发送邮件,也不会修改门户设置、字段或管道。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Microsoft Copilot 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Microsoft Copilot 通过在 Copilot Studio 中构建的智能体使用 MCP 服务器:把 AnythingMCP 作为工具添加到智能体,然后把智能体发布到 Microsoft 365 Copilot 和 Teams。Copilot Studio 从 Microsoft 的云端通过 Streamable HTTP 连接,AnythingMCP 支持这种方式。

  1. 在 Copilot Studio 中打开你的智能体(或新建一个),进入 Tools,选择 Add a tool → New tool → Model Context Protocol。
  2. 填写 Server name(例如 AnythingMCP)、说明连接器用途的 Server description,以及 Server URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。Copilot Studio 根据描述决定何时调用该服务器。
  3. 身份验证选择 API key,把 Type 设为 Header,请求头名称填 X-API-Key,然后选择 Create。
  4. 在 Add tool 中选择 Create a new connection,粘贴 AnythingMCP 的 MCP API 密钥(MCP Servers → 你的服务器 → API keys),然后选择 Add to agent。
  5. 在智能体的 Test 窗格中试一试:提出需要用到 Freshsales 的工具的请求。
  6. 选择 Publish,然后进入 Channels → Microsoft 365 and Microsoft Teams,保持勾选 Make agent available in Microsoft Copilot,再选择 Add channel。See agent in Teams 会为你安装该智能体;在 Microsoft 365 Copilot 中输入 @ 并选择该智能体。

希望每个用户各自登录?请选择 OAuth 2.0 → Dynamic discovery 代替 API 密钥:每个用户会在智能体首次调用时登录 AnythingMCP。

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Copilot Studio 从 Microsoft 的云端连接,因此 localhost 无法使用。

可用工具

ToolWhat it does
freshsales_list_ownersList the users of the Freshsales portal (id, name, email)
freshsales_list_selectorList the values of a configuration picklist: territories, deal stages and pipelines, currencies, deal reasons and types, lead sources…
freshsales_list_pipeline_stagesList the stages of one deal pipeline (id, name, position)
freshsales_list_fieldsList the fields of a module, including custom fields (internal name cf_..., label, type, choices)
freshsales_list_viewsList the saved views (filters) of contacts, accounts or deals, with their ids
freshsales_list_contactsList the contacts of a view, 25 per page by default, with sorting
freshsales_get_contactGet one contact with all fields, optionally embedding owner, accounts, deals, tasks, appointments, notes and sales activities
freshsales_list_contact_activitiesList the activity timeline of a contact: emails, calls, notes, field changes, web visits
freshsales_create_contactCreate a contact
freshsales_update_contactUpdate a contact
freshsales_upsert_contactCreate or update a contact matched by a unique field (usually the email): updates the existing contact, or creates it when none matches
freshsales_list_accountsList the accounts (companies) of a view, 25 per page by default
freshsales_get_accountGet one account with all fields, optionally embedding owner, contacts, deals, tasks, appointments and notes
freshsales_create_accountCreate an account (company). name is required and must be unique
freshsales_update_accountUpdate an account (company): name, address, owner, industry, custom fields
freshsales_list_dealsList the deals of a view, 25 per page by default
freshsales_get_dealGet one deal with all fields, optionally embedding account, contacts, stage, pipeline, products, tasks and notes
freshsales_create_dealCreate a deal. name and amount are required; link it to an account with sales_account_id and to contacts with contacts_added_list
freshsales_update_dealUpdate a deal: amount, stage (deal_stage_id moves it through the pipeline, including won and lost stages), close date, owner, linked…
freshsales_create_noteAdd a note to a contact, account or deal
freshsales_update_noteChange the text of an existing note on a contact, account or deal
freshsales_list_tasksList tasks by status: open, due today, due tomorrow, overdue or completed
freshsales_get_taskGet one task with its owner, collaborators and linked record
freshsales_create_taskCreate a task on a contact, account or deal. title, due_date, owner_id, targetable_type and targetable_id are required
freshsales_update_taskUpdate a task: title, description, due date, owner, linked record or collaborators
freshsales_complete_taskMark a task as done (status completed)
freshsales_list_appointmentsList appointments (meetings), upcoming or past, with attendees and linked records
freshsales_get_appointmentGet one appointment with its time, location, attendees and linked contact, account or deal
freshsales_create_appointmentSchedule an appointment (meeting) with a contact, account or deal, with attendees. title, from_date and end_date are required
freshsales_update_appointmentReschedule or edit an appointment
freshsales_list_sales_activitiesList logged sales activities (calls, meetings, custom activity types), newest first
freshsales_get_sales_activityGet one logged sales activity with its type, outcome, times, notes and linked record
freshsales_create_sales_activityLog a sales activity (for example a call or visit) on a contact, account or deal. title, sales_activity_type_id, start_date, end_date…
freshsales_searchFull-text search by name or email across contacts, accounts, deals and users
freshsales_lookupExact-match lookup on one field: find contacts by email, or contacts, accounts or deals by name or a custom field value
freshsales_filtered_searchFilter contacts, accounts or deals by field rules (exact matches, ranges, lists), e.g. contacts whose email is in a list
freshsales_list_marketing_listsList the marketing lists (static contact lists) with their ids
freshsales_list_marketing_list_contactsList the contacts of a marketing list, 25 per page by default
freshsales_add_contacts_to_listAdd existing contacts to a marketing list by their contact ids
freshsales_remove_contacts_from_listRemove contacts from a marketing list

示例提示

  • “找到联系人 [email protected],给我看她进行中的商机和记录上最新的备注。”
  • “列出我本月预计成交的进行中商机,附上金额和阶段。”
  • “把 Acme 续约商机移到谈判阶段,并添加一条备注说明报价已发送。”
  • “我有哪些任务已经逾期?按关联的客户分组。”
  • “为今天记录一次与 Tom Becker 的 30 分钟通话,并创建一个下周二 10:00 的跟进任务。”

FAQ

这适用于哪个 Copilot? 适用于工作中的 Microsoft 365 Copilot,通过 Copilot Studio 的智能体实现。面向个人账户的 Microsoft Copilot 应用无法添加自己的 MCP 服务器。

我需要什么? 一个可以使用 Copilot Studio 的工作账户(许可证或试用版),用于构建智能体。在 Microsoft 365 Copilot 或 Teams 中使用它的人需要拥有该智能体的访问权限:把它共享给他们,或请管理员为整个组织发布。如果你的组织对 Power Platform 连接器设置了数据策略,这些策略同样适用于 MCP 服务器。

智能体不调用工具。 检查请求头名称是否正好是 X-API-Key,密钥是否属于与 URL 相同的 MCP 服务器,并把 Server description 写得具体:Copilot Studio 根据它决定何时调用服务器。每次修改后重新发布智能体;在已打开的对话中输入 "start over" 即可使用新版本。

下一步

这份指南对你有帮助吗?

你的 Freshsales 智能体只差一次点击。

安装连接器,粘贴密钥,向 Microsoft Copilot 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

如何通过 MCP 将 Freshsales 连接到 ChatGPT

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。

连接器

如何通过 MCP 将 Freshsales 连接到 Claude

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。

连接器

如何通过 MCP 将 Freshsales 连接到 Cursor

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。

连接器

如何通过 MCP 将 Freshsales 连接到 Gemini

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。

连接器

如何通过 MCP 将 Freshsales 连接到 Meta Muse

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。

连接器

Freshsales 接入 MCP:在任意 AI 智能体中管理联系人、客户、商机、任务和销售活动

在任意 AI 智能体中使用 Freshsales(Freshworks CRM):搜索和筛选联系人、客户和商机,在销售管道的阶段之间推进商机,添加备注,安排任务和预约,记录销售活动并管理营销列表。使用用户个人的 API 密钥和你账户的 bundle URL。