登入開始免費試用
Meta Tech Provider

借助 AI 將 WhatsApp 自動化流程複製到多個號碼

要將 WhatsApp 自動化流程複製到多個號碼,請透過 easyCoexistence MCP 連接器,要求您的 AI 助理執行。AI 會以 list_automations 讀取原本的流程,以 list_numbers 找出號碼,再以 create_automation 為每個號碼建立一份複本,並預設為關閉,接著對每份複本執行 test_automation。您檢視測試回覆後,可調整地址或營業時間等各號碼的細節,然後要求 AI 啟用這些複本。

1 number

流程的運作位置:每個自動化流程只屬於一個號碼,因此其他每個號碼都會有各自的複本。

enabled: true

create_automation 的預設值,因此除非請求中將 enabled 設為 false,複本會即時回覆客戶。

1 key

已儲存的 AI 金鑰按服務商及帳戶計算;帳戶內所有號碼的複本無需額外設定即可使用。

1 secret

「Call my webhook」的簽署密鑰按流程設定;每份複本各有一個,並顯示在其頁面上。

US$ 9 to US$ 0.75

按級別計算的每個號碼每月價格;自動化流程及其複本不另外收費。

您的 AI 如何將自動化流程複製到另一個號碼?

透過 easyCoexistence MCP 工具完成,這些工具適用於 ChatGPT、Claude、Claude Code、Codex 及其他已登入您帳戶的 MCP 用戶端。每個自動化流程只屬於一個號碼,控制台的編輯器一次只能建立一個,因此您的 AI 會為每個號碼建立一份複本。list_automations 會返回原本流程的完整觸發條件、步驟與設定;list_numbers 會返回每個號碼的 connection_id;create_automation 接受相同的觸發條件、步驟與設定,並附上新的 connection_id。整個工作只需五次工具呼叫,其中建立與測試的呼叫需按號碼重複執行。

1list_numbersThe connection_id of each target number
2list_automationsThe original's trigger, steps and settings
3create_automationOne copy per number, enabled false
4test_automationA sample message on each copy
5update_automationenabled true once the tests read right

您應該向 AI 要求什麼?

請註明原本的流程、目標號碼、每個號碼需要改動的內容,以及複本需預設關閉。要求在結尾附上摘要表格,審閱便會更快;指定測試訊息,則可令各號碼的回覆更易比較。若各號碼位於不同時區或服務不同地址,請把這些細節寫入同一個請求,讓 AI 在複製時即時修改,而非事後才改。

One request that copies to three numbers
Copy my automation "AI assistant" from the downtown number
to the airport and mall numbers.
Create the copies switched off (enabled: false).
In each copy's instructions, replace the address and hours
with that branch's: airport ..., mall ...
Test each copy with "Where are you and when do you close?"
and show me a table: number, automation id, test reply.

哪些內容會照搬,哪些需要按號碼更改?

結構會原樣複製,但與單一地點有關的資料通常不應照搬。若逐字複製「Reply with AI」步驟,第二個分支就會獲得第一個分支的地址;若把 After hours 觸發條件複製到另一城市的號碼,就會沿用第一個城市的 Timezone。啟用複本前請核對以下清單,或把每個號碼的改動直接寫入複製請求中:

Copies as isTrigger and match, keywords and mode, step order, settings such as the 4-hour pause
Copies as isProvider and model of a Reply with AI step, since one key per provider serves every number
Change per numberName, so the list shows which branch each copy serves
Change per numberFacts in Instructions and fixed texts: address, hours, prices, the person to hand over to
Change per numberAfter hours Timezone, open days and From/To for each location
Not copiedRun history, status and the signing secret: each copy starts fresh

每個目標號碼須符合哪些條件?

共有三項條件,您的 AI 可在建立任何內容前,先以工具逐一核實。第一,該號碼必須開啟自動化流程。若號碼設為直接指向您的伺服器,create_automation 仍會成功,但會警告該流程不會運行;set_inbound_mode 並設為 mode managed 可解決此問題,但會移除直接的 Webhook 目的地,因此若您的系統必須持續接收訊息,請把相同網址加入為轉發 URL。第二,「Send a template」步驟需要該範本已在目標號碼所屬的 WhatsApp Business Account 獲得批准:其他帳戶的號碼不共用範本,因此請以 list_templates 核對。測試該步驟時不會呼叫 Meta,所以無法發現範本缺失。第三,「Reply with AI」步驟需要服務商的金鑰,而該金鑰已在整個帳戶中預先儲存一次。

哪個自動化流程會在目標號碼上回覆?

同一則訊息只會由一個自動化流程回覆:先是關鍵字流程,然後是 First message,之後是 After hours,最後是兜底流程;同類之中較舊者優先。複本會加入目標號碼原有的流程之中。若該號碼已有較舊的兜底流程,複製過來的兜底流程便永遠不會回覆,因為較舊者總會優先;若該號碼已有相同字詞的關鍵字流程,較舊者同樣會勝出。

請先讓 AI 以每個目標的 connection_id 執行 list_automations,並按類別報告重疊之處。然後由您按號碼決定:關閉舊流程、刪除舊流程,或將兩者合併為一個自動化流程。

一次 create_automation 呼叫是怎樣的?

參數與原本流程相同,但需加入目標的 connection_id、一個新名稱,並將 enabled 設為 false。list_automations 中有但 create_automation 不接受的欄位,例如 id、status、last_run_at 及 created_at,應予省略。若複本使用「Call my webhook」,網址會保留;負載中包含自動化流程的 id 及該號碼的 phone_number_id,而每份複本各以其自身的密鑰簽署。

create_automation for one target number (example)
{
  "connection_id": "<airport number, from list_numbers>",
  "name": "AI assistant (airport)",
  "enabled": false,
  "trigger": { "type": "message_received", "match": "any" },
  "steps": [
    {
      "type": "ai_reply",
      "provider": "anthropic",
      "model": "claude-haiku-5-5",
      "prompt": "You are the assistant of Bloom Cafe, airport branch, Terminal 2. Open 5:00 to 23:00. ...",
      "history": 10,
      "maxTokens": 1500
    }
  ],
  "settings": { "takeoverHours": 4, "aiMaxPerHour": 10 }
}

複製還是移動?

複製會保留原本的流程,並建立一個新的自動化流程。移動則是另一個呼叫:以新的 connection_id 執行 update_automation 會移動該自動化流程本身,而任何仍在等待舊號碼的運行會被略過,並標示為已被取代。當某個分支需要改用其他電話時使用移動;若希望第二個分支的行為與第一個相同,則使用複製。

複本各自獨立。日後修改原本的流程不會影響複本,因此若要讓多個號碼保持一致,請要求 AI 逐一讀取各份複本,再將相同的修改套用於每一份。複製只適用於同一個 easyCoexistence 帳戶之內,因為連接器只能看到您登入帳戶內的號碼。

設定方法

  1. Name the original and the targetsAsk your AI to list your automations and numbers, and confirm which automation to copy and to which numbers.
  2. Check each target firstHave it confirm automations are on for each number, the templates the steps use are approved there, and which automations already exist.
  3. Create the copies switched offAsk for one create_automation per number with enabled false, a per-number name and the per-number facts edited in.
  4. Test every copyHave it run test_automation on each copy with the same sample message and show the replies side by side.
  5. Turn them onWhen the replies read right, ask it to set enabled to true on each copy with update_automation, then check the first runs.

常見錯誤

  • 請求中漏了 enabled。create_automation 預設為 true,因此每份複本在有人閱讀其測試回覆之前,就已開始回覆客戶。
  • 把「Send a template」步驟複製到另一個 WhatsApp Business Account 的號碼。該範本在那裡並不存在,測試無法發現此問題,而實際發送會失敗。
  • 為複本把直接連接的號碼切換為 managed,卻沒有加入轉發 URL。直接指向的目的地已被移除,您自己的系統將不再接收該號碼的訊息。
  • 原樣複製「Instructions」。結果第二個分支會向其客戶提供第一個分支的地址與營業時間。
使用 EasyCoexistence 完成這項設定

easyCoexistence 讓您的 AI 能以一個請求,將自動化流程複製到您所有的 WhatsApp Business 號碼:它讀取原本的流程,為每個號碼建立一份預設關閉的複本,逐一測試,並在您核准後啟用。透過一個 MCP 連接器即可使用,超過 30 個工具。每個號碼每月 US$ 9 起,號碼越多越便宜,最低降至 US$ 0.75,前 3 天免費。

常見問題

我可以改在控制台複製自動化流程嗎?

不能一鍵完成。在控制台中,您需在另一個號碼上點擊「New automation」,並在編輯器中重新建立觸發條件與步驟;若號碼超過一兩個,請讓 AI 處理會更快。

修改原本的流程後,複本會更新嗎?

不會。每份複本都是獨立的自動化流程。請要求 AI 在每份複本上作出相同修改,並在更新前先讀取各份複本,因為 update_automation 會取代整個 steps 清單。

可以複製到的號碼數量有上限嗎?

工具每次 create_automation 呼叫只接受一個號碼,因此 AI 會按號碼重複呼叫。如果名單很長,請分組要求,並在進行下一組前審閱該組的摘要表格。

複製需要有效的方案嗎?

需要。create_automation、update_automation 及 test_automation 屬於寫入工具,需要有效的訂閱;即使帳單已過期,列出類工具仍可使用,因此您的 AI 仍能讀取現有內容。

繼續閱讀

準備開始嗎?

幾分鐘內設定 WhatsApp Coexistence,而非幾個月。應用程式在手機上仍可繼續運作。

開始免費試用

驗證日期