Google Business Messages 功能將於 2024 年 7 月 31 日終止服務。請按
這裡瞭解詳情。
商家訊息的運作方式
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
您可以使用 Business Messages,在 Google 自然搜尋結果中放置品牌的訊息按鈕。使用者點選訊息按鈕時,就會與代表品牌實體 (品牌服務專員) 進行對話。
對話會在 iOS 和 Android 裝置上提供的 Google 訊息介面中進行。您可以使用 webhook 和 Business Messages API,透過服務機器人接收及回覆客戶訊息。
Business Messages 對話的生命週期
註冊 Business Messages 並為品牌建立服務專員後,使用者就能透過服務專員傳送訊息給品牌或品牌的營業地點。使用者搜尋並找到您管理的品牌時,結果中會顯示訊息按鈕。
使用者輕觸「訊息」按鈕時,系統會在使用者的裝置上與品牌的服務專員開始對話,服務專員會向使用者問候,並顯示歡迎訊息。
使用者傳送訊息時,Google 會將訊息傳送至您定義的 webhook,做為 JSON 酬載。視訊息內容和用途而定,您可以將訊息轉送至正確的目的地:業務地點的員工、其他地方的支援人員,或自動回覆系統。

您的員工或基礎架構為使用者訊息建立回應後,您就可以將該回應傳送至 Business Messages API,後者會透過品牌的服務專員將訊息傳送給使用者。

對話會持續進行,直到你和使用者停止傳送訊息為止。您最多可以在使用者傳送訊息後的 30 天內傳送訊息。對話結束後,使用者可以返回對話並重新與服務專員互動。對話會以非同步方式進行,無論是服務專員還是使用者皆是如此。
加密
使用者和服務專員之間傳送的訊息會在使用者裝置和 Google 伺服器之間,以及 Google 伺服器和 Business Messages 服務專員之間加密。為了保護所有使用者和商家,Google 需要掃描訊息是否含有垃圾內容。因此,商家無法使用自己的加密金鑰。
使用者裝置收到的訊息會透過使用者為裝置設定的任何裝置端加密方式進行加密,Google 也會部署裝置端安全性模型來保護訊息資料。
訊息介面
Google 會使用豐富的對話式訊息介面,進行商家訊息對話。這個介面可在 Android 和 iOS 裝置上觸發,並且適用於大多數的手機使用者。
Google 地圖應用程式的導覽選單中,有一個 Business Messages 收件匣。
進入點
商家訊息的進入點包括行動瀏覽器中的 Google 自然搜尋結果,以及 Google 地圖應用程式 (適用於以地點為主的品牌)。
後續步驟
瞭解商家訊息對話的基本流程後,請詳閱規範,並註冊成為 Business Messages 合作夥伴。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-12-21 (世界標準時間)。
[null,null,["上次更新時間:2024-12-21 (世界標準時間)。"],[[["\u003cp\u003eBusiness Messages lets you add messaging buttons to Google Search results, enabling users to chat with your brand directly.\u003c/p\u003e\n"],["\u003cp\u003eConversations happen through a Google messaging interface on iOS and Android, managed by your 'agent' using webhooks and the Business Messages API.\u003c/p\u003e\n"],["\u003cp\u003eMessages are encrypted between users, Google, and your business, but Google scans for spam protection.\u003c/p\u003e\n"],["\u003cp\u003eYou can initiate conversations with customers through organic search results and the Google Maps app.\u003c/p\u003e\n"],["\u003cp\u003eUsers can access past Business Messages conversations and re-engage with your brand.\u003c/p\u003e\n"]]],[],null,["# How Business Messages works\n\nWith Business Messages, you can place messaging buttons for brands within\norganic Google search results. When a user clicks on a messaging button, they\nstart a conversation with an entity representing the brand---the brand's agent.\n\nThe conversation takes place on a Google messaging surface available on iOS and\nAndroid. You receive and respond to customer messages, through the agent, using\na webhook and the Business Messages API. \n\nThe life of a Business Messages conversation\n--------------------------------------------\n\nAfter you register with Business Messages and create an agent for your brand,\nusers can send messages to your brand or your brand's locations through your\nagent. When a user searches and locates a brand that you manage, the results\ninclude a message button.\n\nWhen the user taps the Message button, it opens a conversation with your\nbrand's agent on their device, and the agent greets the user with a welcome\nmessage.\n\nWhen the user sends a message, Google delivers it to a webhook you define as a\nJSON payload. Depending on the content and use case of the message, you can\nroute the message to the correct destination: staff at a business location,\nsupport staff elsewhere, or an automated response system.\n\nAfter your staff or infrastructure creates a response to the user's message, you\nsend that response to the Business Messages API, which routes the message to\nthe user through your brand's agent.\n\nThe conversation continues until you and the user stop sending messages. You can\nsend messages up to 30 days after the user's most recent message. After a\nconversation is complete, users can return to conversations and re-engage\nagents. Conversations are asynchronous for both the agent and the user.\n\nEncryption\n----------\n\nMessages sent between users and agents are encrypted between users' devices\nand Google servers and between Google's servers and Business Messages agents.\nBusinesses can't use their own encryption keys because Google needs to scan\nmessages for spam to protect all users and businesses.\n\nMessages received on users' devices are encrypted by any device-wide\nencryption that users have configured for their devices, and Google deploys\non-device security models to protect message data.\n\nMessaging surface\n-----------------\n\nGoogle uses a rich conversational messaging surface for business messaging\nconversations. This surface can be triggered on Android and iOS devices and is\navailable for the wide majority of phone users.\n\nThere is a Business messaging inbox in the navigation menu of the Google Maps\napp.\n\nEntry points\n------------\n\nBusiness Messages has entry points from organic Google search results\non mobile browsers and from the Google Maps app (for location-based brands).\n\nNext steps\n----------\n\nNow that you know the basic flow of a business messaging conversation, review\nthe\n[guidelines](/business-communications/business-messages/guides/requirements-guidelines)\nand [register as a partner with Business\nMessages](/business-communications/business-messages/guides/how-to/register)."]]