2024 年 7 月 31 日をもって、Google ビジネス メッセージはご利用いただけなくなります。詳しくは
こちらをご覧ください。
メールの概要
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ユーザーはエージェントにメッセージを送信できます。エージェントはユーザーにメッセージを送信できますが、それ以上のものがあります。メッセージごとに、多くの関係者が関与することがあります。
- ユーザーは、検索、マップ、ブランド管理型のリンクやウェブサイトのエントリ ポイントを使用して、エージェントとの会話を開始します。ユーザーは Google アカウントにログインする必要がありますが、ユーザー名のみがパートナーと共有されます。ユーザー メッセージは TLS で暗号化されます。
ビジネス メッセージは、ユーザーとパートナーの間のレイヤとして機能し、ユーザーのプライバシーを保護します。このレイヤは、各受信メッセージと送信メッセージを復号して再暗号化し、ユーザーの Google アカウントを会話 ID にマッピングすることで、ユーザーの Google アカウント情報がパートナーまたはライブ エージェントと共有されないようにします。
Google では、暗号化されたメッセージをユーザーのデバイス間で配信、同期できるように保存しています。これらの保存済みメッセージは第三者と共有できません。アクセスできるのは、お客様の Google ID のみです。
エージェントは、パートナーが作成し、管理しているブランドを表します。
パートナー様は、ブランドを代理してエージェントを管理します。パートナーは、指定された Webhook で受信メッセージを受信し、受信メッセージを自動化エージェントまたは人間のエージェントにルーティングして、レスポンスを作成して、Business Messages API に送信します。
自動化は、人間の介入なしにユーザー メッセージを処理します。
人間のエージェントは人間による対応が必要なユーザー メッセージを処理します。
各当事者は会話内でメッセージの送受信を行います。エンドツーエンドのメッセージング フローは、ユーザーがエージェントにメッセージを送信することから始まり、ユーザーはエージェントからレスポンスを受け取ります。

- ユーザーが会話を開始し、ビジネス メッセージ エージェントにメッセージを送信します。
- ビジネス メッセージでは、会話に ID が割り当てられます。会話 ID は永続的であり、ユーザーとエージェントに対して一意です。同じユーザーが別のエージェントと接触した場合、その会話は別の会話 ID を持つことになります。
- ビジネス メッセージは、暗号化されたメッセージをパートナーの Webhook に送信します。メッセージには、一意の会話 ID、エージェント ID、メッセージ ID、会話が発生したコンテキスト情報が含まれます。
- パートナーは、メッセージを受信し、メッセージを自動エージェントまたはライブ エージェントに転送します。
- 自動化により、ユーザー メッセージに対するレスポンスが自動的に作成されます。会話にアクセスできるライブ エージェントがユーザー メッセージを確認して、それに応じてレスポンスを作成します。
- パートナーは、会話 ID を受信者として、Business Messages API にレスポンスを送信します。
- ビジネス メッセージは、メッセージの復号と再暗号化、会話 ID とユーザーの Google アカウントのマッピング、ユーザーへのメッセージの送信を行います。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-21 UTC。
[null,null,["最終更新日 2024-12-21 UTC。"],[[["\u003cp\u003eBusiness Messages enables conversations between users and agents (representing brands) while protecting user privacy.\u003c/p\u003e\n"],["\u003cp\u003eGoogle acts as an intermediary, ensuring secure message transmission and user anonymity by encrypting messages and using conversation IDs.\u003c/p\u003e\n"],["\u003cp\u003ePartners manage agents and handle message routing to automation or live agents for response generation.\u003c/p\u003e\n"],["\u003cp\u003eThe messaging flow involves users initiating conversations, Business Messages facilitating secure delivery, and partners orchestrating responses via automation or live agents.\u003c/p\u003e\n"]]],[],null,["# Life of a message\n\nUsers can send messages to agents, and agents can send messages to users, but\nthere's more to it than that. For each message, there can be many parties\ninvolved:\n\n- **The user** begins a conversation with an agent through [entry\n points](/business-communications/business-messages/guides/concepts/entry-point) in Search, Maps, and brand-managed links and websites. Users must be signed in to a Google account, but only the user's name is shared with the partner. User messages are encrypted with TLS.\n- **Business Messages** acts as a layer between the user and the partner to\n protect user privacy. This layer ensures the user's Google account\n information isn't shared with the partner or live agents by decrypting and\n re-encrypting each inbound and outbound message and mapping the user's\n Google account to a conversation ID.\n\n Google stores encrypted messages to ensure delivery and synchronization\n between a user's devices. These stored messages can't be shared with any\n third party. Access is only available with the user's Google ID.\n- **The agent** is a representation of a brand, as\n [created](/business-communications/business-messages/guides/agent-lifecycle)\n and managed by a partner.\n\n- **The partner** manages the agent on behalf of a brand. Partners receive\n inbound messages at a [specified\n webhook](/business-communications/business-messages/guides/quickstarts/echo-agent#webhook),\n route inbound messages to automation or live agents to compose responses,\n and send outbound messages to the Business Messages API.\n\n- **Automation** handles user messages without human engagement.\n\n- **Live agents** handle user messages that require human engagement.\n\nEach party plays a part in sending and receiving messages within a conversation.\nAn end-to-end messaging flow starts with a user messaging an agent and ends\nwith the user receiving a response from the agent.\n\n1. A user starts a conversation and sends a message to a Business Messages agent.\n2. Business Messages assigns the conversation an ID. Conversation IDs are persistent and unique to the user and the agent. If the same user contacted a different agent, that conversation would have a different conversation ID.\n3. Business Messages sends the encrypted message to the partner's webhook. The message contains the unique conversation ID, agent ID, message ID, and context information for where the conversation originated.\n4. The partner [receives the\n message](/business-communications/business-messages/guides/how-to/message/receive) and routes the message to automation or to a live agent.\n5. Automation automatically creates a response to the user message, or a live agent who has access to the conversation sees the user message and creates a response accordingly.\n6. The partner [sends the\n response](/business-communications/business-messages/guides/how-to/message/send) to the Business Messages API with the conversation ID as the recipient.\n7. Business Messages decrypts and re-encrypts messages, maps the conversation ID with the user's Google account, and sends the message to the user."]]