Il 31 luglio 2024 dismetteremo Google Business Messages. Per ulteriori informazioni, fai clic
qui.
Ciclo di vita di un messaggio
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Gli utenti possono inviare messaggi agli agenti e gli agenti possono inviare messaggi agli utenti, ma non c'è altro. Per ogni messaggio possono esserci diverse parti coinvolte:
- L'utente inizia una conversazione con un agente tramite i punti di ingresso nella Ricerca, in Maps e nei link e nei siti web gestiti dal brand. Gli utenti devono aver eseguito l'accesso a un Account Google, ma solo il nome dell'utente viene condiviso con il partner.
I messaggi degli utenti vengono criptati con TLS.
I messaggi aziendali funzionano come un livello tra l'utente e il partner per proteggere la privacy degli utenti. Questo livello assicura che le informazioni dell'Account Google dell'utente non vengono condivise con il partner o gli agenti in tempo reale decriptando e ricriptando ogni messaggio in entrata e in uscita e mappando l'Account Google dell'utente a un ID conversazione.
Google archivia i messaggi criptati per garantire la consegna e la sincronizzazione tra i dispositivi di un utente. Questi messaggi archiviati non possono essere condivisi con terze parti. L'accesso è disponibile solo con l'ID Google dell'utente.
L'agente è una rappresentazione di un brand, così come creata e gestita da un partner.
Il partner gestisce l'agente per conto di un brand. I partner ricevono i messaggi in entrata in un hook web specificato, instradano i messaggi in entrata all'automazione o agli agenti dal vivo per comporre risposte e inviano messaggi in uscita all'API Business Messages.
L'automazione gestisce i messaggi per gli utenti senza coinvolgimento umano.
Gli agenti dal vivo gestiscono i messaggi utente che richiedono il coinvolgimento di persone fisiche.
Ogni parte ha un ruolo nell'inviare e ricevere messaggi all'interno di una conversazione.
Un flusso di messaggistica end-to-end inizia con un utente che invia un messaggio a un agente e termina
quando l'utente riceve una risposta dall'agente.

- Un utente avvia una conversazione e invia un messaggio a un agente di Business Messages.
- Business Messages assegna un ID alla conversazione. Gli ID conversazione sono permanenti e univoci per l'utente e l'agente. Se lo stesso utente ha contattato
un agente diverso, quella conversazione avrà un ID conversazione diverso.
- Business Messages invia il messaggio criptato al webhook del partner. Il messaggio contiene l'ID conversazione univoco, l'ID agente, l'ID messaggio e le informazioni di contesto per l'origine della conversazione.
- Il partner riceve il messaggio e lo indirizza all'automazione o a un operatore.
- L'automazione crea automaticamente una risposta al messaggio dell'utente o un agente in tempo reale che ha accesso alla conversazione vede il messaggio dell'utente e crea una risposta di conseguenza.
- Il partner invia la risposta all'API Business Messages con l'ID conversazione come destinatario.
- Business Messages decripta e cripta di nuovo i messaggi, mappa l'ID conversazione
con l'Account Google dell'utente e invia il messaggio all'utente.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-12-21 UTC.
[null,null,["Ultimo aggiornamento 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."]]