登入開始免費試用
Meta Tech Provider

可直接複製的 20 個 WhatsApp 自動化範例

WhatsApp 自動化範例是一個觸發條件加上一段簡短的步驟流程,業務可將其複製到自己的號碼上。以下二十個範例涵蓋問候、營業時間、菜單、按鈕點選、常見問題、AI 回覆、查詢自家系統的資料、退出及跟進。每個範例都列明觸發條件、配對方式及步驟,你可以在編輯器中建立,或請 AI 替你建立。

easyCoexistence 透過 Meta 官方 Cloud API,在你保留於應用程式中的 WhatsApp Business 號碼上執行這些範例:固定文字、已核准的範本、以你自己金鑰提供的 AI 回覆,以及透過已簽署 webhook 連接你自己的系統。

4 matches

訊息觸發方式:Every message、Has keyword、First message、After hours。新增標籤(tag added)或自己的系統呼叫某個 URL,這兩種不需要訊息即可啟動。

30 steps

每條線最多可有多個步驟,連同最多巢狀 4 層的分支共 60 個:Reply with text、Reply with AI、Wait、Stop、提問、分支、代理。

20 seconds

Call my webhook 等待你的系統回覆的時限;其中若有 {"reply"},便會發送給客戶。

1,380 minutes

Wait 步驟最長為 23 小時;在此期間若你從手機回覆,之後的步驟便會略過。

4 hours

你在 WhatsApp Business 應用程式回覆聊天後,該聊天的預設暫停時間可於 0 至 168 小時之間調整。

每個範例如何撰寫?

每個範例都有名稱,其後是觸發條件及其配對方式,再依次列出步驟,最後一行說明何時使用。號碼上的觸發條件通常為 A message arrives,配對方式有四種之一:Every message、Has keyword(可選 Contains、Starts with 或 Is exactly)、First message 或 After hours;另有兩種觸發條件,A contact gets a tag 及 Your system calls a URL,不需要訊息即可啟動。步驟採用編輯器的名稱。引號內的文字可直接貼上;方括號內的字詞由你自行填寫。{{first_name}}、{{name}}、{{message}} 及 {{phone}} 會在步驟執行時從客戶的聊天中填入。任何範例都可在編輯器的 New automation 下建立,或請 ChatGPT 或 Claude 替你建立,它們會將之轉換為一次 create_automation 呼叫。

哪些範例負責問候及說明營業時間?

有五個範例處理客戶首次來訊,或無人在場時來訊的情況。歡迎範例於 First message 觸發,即聊天第一次進入自動化時執行,並於約 30 天無訊息後再次觸發。營業時間範例於 After hours 觸發,其中的時區、營業日及開始與結束時間,決定業務何時被視為休息。範本步驟可隨時發出;文字步驟則要求客戶在過去 24 小時內有來訊,而客戶剛剛來訊時正是如此。

1. Welcome textFirst message → Reply with text: "Hi {{first_name}}! Thanks for writing. How can we help?" Use: greet new contacts.
2. Welcome couponFirst message → Send a template, an approved one with the code in its body and {{1}} = {{first_name}}. Use: a first-order discount.
3. Away noticeAfter hours, Open on Mon to Fri, From 09:00 To 18:00 → Reply with text with your reopening time. Use: nights and weekends.
4. One away reply per burstAfter hours → Wait 2 min → Reply with text. Use: a customer who sends five messages in a row gets one notice.
5. Vacation noticeAfter hours with no day ticked under Open on → Reply with text with your return date. Use: closures and holidays.

哪些範例回答常見問題?

有六個範例以相同用字回答每日大量湧入的問題。其中五個使用 Has keyword,因為關鍵字自動化會優先於其他類型檢查,因此能先於 AI 或歡迎訊息作答;菜單選項則是菜單自動化內的一條路徑。Contains 適合在句子中出現的特定字詞;Is exactly 適合菜單編號或按鈕標籤等簡短回覆,即整則訊息必須與關鍵字完全相同。英文大小寫及訊息前後的空格不影響配對;但重音符號與標點符號會,因此應列出客戶可能輸入的各種寫法。

6. Price listHas keyword, Contains: price, prices, how much → Reply with text with your price link. Use: the question you get most.
7. Address and mapHas keyword, Contains: address, location, where are you → Reply with text with a map link. Use: walk-in customers.
8. Payment detailsHas keyword, Contains: pix, payment, bank transfer → Reply with text with how to pay. Use: exact details, never improvised.
9. Menu with buttonsHas keyword, Is exactly: menu, hi, hello → Ask a question with buttons Prices, Hours and Talk to a person, saved to a field → Split into paths on that field. Use: let customers pick a topic with a tap.
10. Menu optionInside the menu automation, one path of Split into paths per option: the field is Prices → Reply with text for that option → Go back to a step (the menu). Use: add an option by adding a path, not another automation.
11. Button tap answerHas keyword, Is exactly: the button's label, such as See prices → Reply with text. Use: answer a quick reply button.

哪些範例讓你自己的 AI 發揮作用?

有四個範例運用你自己的 AI:其中三個使用 Reply with AI,需要你在 AI keys 中儲存自己來自 Anthropic、OpenAI 或 OpenRouter 的金鑰。模型會讀取你的 Instructions 及聊天中最多 20 則較早的訊息(預設為 10 則),然後撰寫回覆;而 Agent answers 步驟則將聊天交給 AI 代理處理,該代理有自己的指示、知識檔案及工具。系統會替你在指示中加入一句轉接真人的說明;當你從手機回覆該聊天時,自動化便會停止處理該聊天。AI 回覆預設每個聊天每小時最多 10 則,因此兩個自動化系統不會同時透過你的金鑰形成循環。

12. AI assistantEvery message → Reply with AI with your prices, hours and policies in Instructions. Use: anything the keyword recipes do not catch.
13. AI after hoursAfter hours → Reply with AI. Use: your AI covers the night, and you answer from the app during the day.
14. Talk to a personHas keyword, Is exactly: person, human, agent → Reply with text: "A person from our team will answer here." → Hand to a person. Use: a clear exit that pauses the bot on that chat and emails you.
15. Log, then answerEvery message → Call my webhook that saves the message and returns no reply → Reply with AI. Use: a record in your sheet or CRM.

哪些範例把訊息交給你自己的系統?

有三個範例使用 Call my webhook,會以 POST 方式將訊息及聊天中最近 10 則訊息傳送至你的網址,並以 X-EC-Signature 簽署。若你的系統在 20 秒內回傳 {"reply": "..."},該文字便會發送給客戶。這正是自動化接觸其本身不持有的資料(例如訂單狀態)的方法,也是 n8n、Make、Zapier 或你的後端參與運作的方式。若要讀取或寫入資料而不必自建回覆端點,Call an API 步驟可呼叫任何 https API,並保留其 JSON 回應供之後的步驟使用。若系統回傳時不含 reply 欄位,它只會記錄該訊息,並進入下一個步驟。

16. Order statusHas keyword, Starts with: order, track → Call my webhook; your store looks up the order and returns {"reply"}. Use: "where is my order?"
17. Your n8n agentEvery message → Call my webhook to an n8n workflow that writes the reply. Use: an agent with your tools and memory.
18. STOP and unsubscribeHas keyword, Is exactly: stop, unsubscribe → Reply with text confirming → Call my webhook marks the contact opted out.

哪些範例跟進稍後的訊息,或處理語音訊息?

有兩個範例處理以不同方式到達的內容。Wait 步驟會將執行暫停 1 至 1,380 分鐘;若你在此期間從手機回覆該聊天,其後的步驟便會略過;另外,若有新訊息再次觸發同一自動化,也會取代現有的執行。媒體會以文字形式進入自動化:相片以 [image] 加其說明文字到達,語音訊息則以 [voice message] 加上轉寫出的文字到達,轉寫使用你自己的 OpenAI 或 OpenRouter 金鑰;若沒有這類金鑰,語音訊息就只有佔位符,關鍵字規則可以配對該佔位符,並要求客戶改為輸入文字。

19. Quote follow-upHas keyword, Contains: quote, estimate → Reply with text → Wait 120 min → Reply with text: "Any questions about the quote?"
20. Voice note replyHas keyword, Is exactly: [voice message] → Reply with text: "Thanks for the audio! Could you type your question?" Use: voice notes that could not be written out, when no OpenAI or OpenRouter key is saved.

多個範例如何在同一號碼上一起運作?

同一則訊息只會由一個自動化回覆。若有多個符合,關鍵字自動化優先,其次為 First message,再為 After hours,最後為 Every message;同類型之中,先建立者優先。此次序讓你可以安全地疊加範例:關鍵字回覆(第 6 至 9、11、14、16、18、20 個)處理其指定的字詞,歡迎範例處理新聊天,離線或休假通知處理非辦公時間,而 AI 助手或 n8n 代理處理其餘訊息。兩個全接收型自動化不會同時運作,同一號碼上的第二個會保持靜默,因此只保留一個。

設定方法

  1. Pick a recipeChoose one from the grids and note its trigger, match and steps.
  2. Open a new automationIn the Automations tab, click New automation, then Use this on the closest example, or Start from scratch.
  3. Set the triggerUnder When a message arrives, pick the match, then the keywords and Where the word has to be, or the hours.
  4. Add the stepsUnder Then, add the steps in the recipe's order and paste the texts, filling in your details.
  5. Test, then switch it onSave with the switch Off, run Try it from the Test button, then switch it On and click Save.

常見錯誤

  • 在 Every message 上同時設定兩個全接收型自動化,例如 AI 助手與 n8n 代理。只有較早建立的那個會回覆,而且不會有任何警告;請只保留一個,或為其中一個加上關鍵字。
  • 當你的系統已回傳 reply 時,仍在 Call my webhook 之後加入步驟。兩則訊息都會發出,客戶會收到兩則訊息;請只讓 webhook 單獨回覆,或不回傳 reply。
  • 在 Contains 中放入 hi 之類的短字詞。它也會配對到 this 及 shipping;問候語與菜單編號應改用 Is exactly。
  • 以為客戶的回覆被其他自動化接收後,Wait 跟進便會取消。除非你已從手機回覆,否則它仍會發出;跟進只應用於你預期客戶不會回覆的情況。
使用 EasyCoexistence 完成這項設定

你可透過連接器請 ChatGPT 或 Claude 替你建立,或在編輯器中建立,自動化不另外收費;Meta 會向你自己的 WhatsApp Business 帳戶收取任何訊息費用,AI 供應商則按代幣收費。每個已連接號碼每月 US$ 9 起,號碼越多越便宜,最低降至 US$ 0.75,首 3 天免費。

常見問題

我的 AI 能否在一次請求中建立多個範例?

可以。你可以一併提出,例如歡迎訊息、離線通知及價目表。助手會先呼叫一次 list_numbers,再為每個範例呼叫 create_automation,並為每個範例呼叫 test_automation,然後報告所建立的內容。

這些範例有需要 AI 金鑰的嗎?

只有使用 Reply with AI 的範例需要,即第 12、13 及 15 個。固定文字、範本、等待及 webhook 無需金鑰即可運作;第 17 個範例則使用你 n8n 工作流程所呼叫的任何 AI,並以該工作流程自身的帳戶計費。

範例能否發送圖片或 PDF?

可以。Send a picture or file 步驟會在客戶最後一次發訊息後的 24 小時內,發送你的其中一張圖片或 PDF,也可附上說明文字,AI 代理亦可自行發送。在文字回覆中加入連結同樣可行,而 Reply with text 本身只會發送文字。

我可以把範例複製到另一個號碼嗎?

可以。請你的 AI 以 list_automations 讀取該自動化,然後在另一個號碼的 connection_id 上建立相同的自動化,並在該號碼上測試;在編輯器中,只需將已儲存自動化的 Connection 改為另一個號碼,即可將其移動。

繼續閱讀

準備開始嗎?

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

開始免費試用

驗證日期