登录开始免费试用
Meta Tech Provider

ChatGPT 的 WhatsApp 插件:在 ChatGPT 中自动化 WhatsApp

ChatGPT 通过由自定义 MCP 服务器构建的插件,在 WhatsApp Business 号码上工作。在网页版 ChatGPT 中,打开 “Plugins”,选择 +,然后点击 “Add custom MCP server”,粘贴 https://easycoexistence.com/api/mcp 并完成登录。在聊天中输入 @,选择 easyCoexistence,然后让它发送模板、回复客户或创建自动化。发送功能需要 ChatGPT Business 或 Enterprise/Edu;Pro 仅可只读连接。

Business, Enterprise/Edu

ChatGPT 套餐提供完整的自定义 MCP 访问权限,包括写入功能。Pro 连接自定义 MCP 服务器时仅有读取和获取权限。

Admins and owners

ChatGPT Business 工作区中谁可以创建和发布用于自定义 MCP 服务器的插件。

Web

OpenAI 记录了添加自定义 MCP 服务器的位置:网页版 ChatGPT,从 Plugins 进入,然后点击加号按钮。

readOnlyHint

ChatGPT 读取的注解用于区分读取与写入;没有该注解的工具会被视为写入操作,默认需要确认。

More than 30

easyCoexistence 连接器中的工具;WhatsApp 相关工具涵盖号码、消息、模板、Webhook 和自动化。

24 hours

客户最后一条消息之后,多久内可以发送手动输入的回复;之后只能发送预先批准的模板。

ChatGPT 的 WhatsApp 插件是什么?

它是一个由 ChatGPT 安装为插件的远程 MCP 服务器。MCP(Model Context Protocol,模型上下文协议)是 ChatGPT 用来调用其自身不拥有的工具的标准,easyCoexistence 在 https://easycoexistence.com/api/mcp 运行了一个这样的服务器。添加之后,ChatGPT 便可以操作您通过 Coexistence 连接到 Meta 官方 Cloud API 的 WhatsApp Business 号码,而 WhatsApp Business 应用仍可在您的手机上正常使用,所有聊天记录都保留在其中。

您 easyCoexistence 账户下的所有号码都由同一个插件覆盖,登录使用 OAuth,因此无需复制或粘贴任何 API 密钥。如果 easyCoexistence 出现在您工作区的 Plugins 目录中,请直接从那里添加;否则请按照本页的步骤以自定义 MCP 服务器的方式添加。

哪些 ChatGPT 套餐可以使用?

OpenAI 规定了相关规则,具体取决于插件被允许执行的操作。完整权限包括发送消息、提交模板和更改自动化的工具,仅适用于 ChatGPT Business 和 Enterprise/Edu。Pro 连接自定义 MCP 服务器时仅有读取和获取权限。在工作区内,添加插件由管理员决定;在 Enterprise 中,创建带有 MCP 服务器的插件的权限在管理员授予之前默认关闭。套餐规则由 OpenAI 制定并可能变更,因此当该选项缺失时,请查阅其关于自定义 MCP 服务器的帮助文章。

BusinessFull access. Only admins and owners create and publish plugins for custom MCP servers.
Enterprise/EduFull access. Admins grant selected members the right to create custom MCP connections.
ProRead and fetch permissions only, so sending, templates and automations need one of the plans above.

ChatGPT 能在您的 WhatsApp 号码上做什么?

用平常的语言提问,ChatGPT 会自行选择工具。下面每项请求都对应其调用的工具;对于需要操作某个号码的请求,ChatGPT 会先调用 list_numbers 获取该号码的 connection_id。发送遵循 Meta 的规则:手动输入的消息只能发给在过去 24 小时内给该号码发过消息的人,其他人则只能收到已批准的模板,而这也是发起新对话的唯一方式。

"Is my number healthy?"get_number_health: quality rating, messaging tier and Coexistence link, live from Meta
"Tell Ana her order is ready"send_message, for a customer who wrote in the last 24 hours
"Create a welcome template with a 10% coupon"create_template, then get_template_status until Meta approves it
"Send order_shipped to +55 11 99999 8888"send_template, which also starts a conversation
"Send new customers the welcome template"create_automation with the First message trigger, then test_automation
"Why didn't the automation answer Ana?"list_automation_runs: the status and skip reason of each run
"Send incoming messages to my server"set_inbound_mode with a forward URL, or set_webhook_destination
"How does the 14-day rule work?"get_docs, so the answer comes from easyCoexistence's documentation

ChatGPT 会自行回复客户吗?

会,通过它所构建的自动化实现,这些自动化会在您关闭聊天窗口后继续在 easyCoexistence 上运行。聊天窗口本身只在您提出请求时才会行动:MCP 是请求与响应的模式,因此客户的消息无法唤醒 ChatGPT。请求创建自动化时,ChatGPT 会调用 create_automation,设置触发条件(例如 First message 或 After hours)以及可以提问、分支并把聊天转交给真人的步骤流程,每条线路最多 30 个步骤,然后调用 test_automation,用一条示例消息运行该自动化,但不会真正发送任何内容。

对于由模型生成的回复,自动化中的 Reply with AI 步骤会使用您自己的 OpenAI、Anthropic 或 OpenRouter 密钥,并按您的指令生成内容,或者由 Agent answers 步骤把聊天交给您的某个 AI 智能体,ChatGPT 可以用 create_agent 和 add_agent_knowledge 创建并训练它。当您从手机回复某个聊天时,该聊天中的自动化默认会暂停 4 小时,因此不会干扰您已接手的对话。

为什么 ChatGPT 要求您确认操作?

因为 OpenAI 的默认设置是对写入操作进行确认。除非服务器通过 readOnlyHint 注解将工具标记为只读,否则 ChatGPT 会将其视为写入操作,并在执行写入前请求您的批准。您可以在该对话的剩余时间内为某个工具记住“批准”或“拒绝”的选择,这样在长时间的模板操作中就不会每一步都停下来。

easyCoexistence 还在错误可能造成损害的地方增加了自己的检查:在您于聊天中再次确认之前,create_api_key 不会替换已有的 Partner API 密钥,revoke_api_key 也不会撤销它。通过连接器创建的自动化在保存后立即启用,因此如果您想在它回复任何人之前先测试,请让 ChatGPT 传递 enabled: false。

设置方法

  1. Connect your numberSign up at easycoexistence.com and connect the number: Meta's Embedded Signup opens and you scan a code with the WhatsApp Business app, which keeps working as before.
  2. Open Plugins in ChatGPT on the webGo to Plugins, select the + button, then Add custom MCP server.
  3. Enter the serverName it easyCoexistence, paste https://easycoexistence.com/api/mcp as the Server URL under Connection, and choose OAuth for authentication.
  4. Create the pluginReview the risk warning, select I understand and want to continue, then select Create as a plugin.
  5. Sign inWhen ChatGPT opens the sign-in page, log in with your easyCoexistence account and authorize access.
  6. Use it in a chatType @ in the prompt box, pick easyCoexistence and ask, for example: "Which of my numbers are connected, and are they healthy?"

常见错误

  • 在 Plugins 目录中搜索后就停下。若 easyCoexistence 未列入您的工作区,请通过 URL 添加:进入 Plugins,点击 + 按钮,然后选择 Add custom MCP server。
  • 按照旧指南进入设置中的开发者模式。自定义 MCP 服务器的当前路径从网页版 ChatGPT 的 Plugins 开始。
  • 以为 ChatGPT Pro 可以发送消息。Pro 连接自定义 MCP 服务器时仅有读取和获取权限,因此消息、模板和自动化需要 Business 或 Enterprise/Edu 套餐。
  • 要求向 24 小时内未发过消息的人发送手动输入的消息。Meta 会拒绝此类请求,因此请让 ChatGPT 改用 send_template 发送已批准的模板。
使用 EasyCoexistence 完成这些操作

easyCoexistence 通过 Coexistence 将您的 WhatsApp Business 号码连接到 Meta 官方 Cloud API,WhatsApp Business 应用因此保留在您的手机上,并为 ChatGPT 提供覆盖账户中所有号码的统一连接器。ChatGPT 可以发送消息、管理模板,并创建在聊天结束后仍持续运行的自动化,每个号码都提供 24/7 全天候监控和警报。每个已连接号码每月 US$ 9 起,号码越多越便宜,最低降至 US$ 0.75,并提供 3 天免费试用。

常见问题

这是 ChatGPT 插件还是自定义 MCP 服务器?

两者都是。当您选择 “Create as a plugin” 时,ChatGPT 会把自定义 MCP 服务器转为插件,它随后会出现在您的个人插件中,或您创建它时所在的工作区中。无论插件以何种方式添加,工具和登录方式都是相同的。

为什么工具缺失或调用失败?

请检查以下四点。插件已登录:打开插件并选择 Connect,或在 Settings > Plugins 下选择 Reconnect。工具列表是最新的:对 MCP 服务器的更改不会自动生效,因此请在插件设置中选择 Refresh(工作区插件由管理员执行此操作),并启用新增的操作,这些操作默认处于关闭状态。您的 ChatGPT 套餐允许写入。您的 easyCoexistence 套餐处于有效状态;否则发送时会返回 “This action needs an active subscription”,而读取功能仍可正常使用。

ChatGPT 能看到客户的聊天内容吗?

能,通过两个工具实现,适用于消息经由 easyCoexistence 传入的号码。list_conversations 显示发来消息的人,以及他们的标签、字段和最后一条消息;get_conversation 返回某个人的消息,保留期限由您在 Conversations 中选择:30、90 或 365 天,默认 90 天。update_contact 可以给联系人打标签,或暂停其聊天上的自动回复。除此之外,ChatGPT 只能看到其工具返回的内容:您的号码及其连接状态、您的模板、每次发送的结果,以及自动化的近期运行记录,包括触发每次运行的消息和所发出的回复。

除 ChatGPT 费用外还需要支付什么?

您的 ChatGPT 套餐仍由 OpenAI 收取。easyCoexistence 按已连接号码收费,包含自动化且无运行次数上限;Meta 向您自己的 WhatsApp Business 账户收取消息费用(每个号码每月可获得 1,000 条免费服务消息;模板按类别和国家/地区计费);使用您自己 OpenAI 密钥的 AI 回复由 OpenAI 收费。两者我们都不加价。

继续阅读

准备开始了吗?

几分钟即可设置 WhatsApp Coexistence,而不是几个月。应用会继续在手机上运行。

开始免费试用

验证时间