登入開始免費試用
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 插件?

它是一個遠端 MCP 伺服器,由 ChatGPT 安裝為插件。MCP(Model Context Protocol,模型上下文協定)是 ChatGPT 用來呼叫其本身並不擁有之工具的標準,而 easyCoexistence 在 https://easycoexistence.com/api/mcp 運行此伺服器。加入後,ChatGPT 便可透過 Coexistence,對您在 easyCoexistence 連接到 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 未列於您的工作區,請以網址加入:進入「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,而非幾個月。應用程式在手機上仍可繼續運作。

開始免費試用

驗證日期