Cloud Pub/Sub-Benachrichtigungen für CCAI-Ereignisse mit Kundenservicemitarbeiterunterstützung aktivieren
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Wenn Sie Cloud Pub/Sub-Benachrichtigungen aktivieren, erhalten Sie jedes Mal eine Benachrichtigung, wenn ein Agent Assist-Ereignis abgeschlossen ist. Sie können Agent Assist so konfigurieren, dass Benachrichtigungen für alle Ereignisse oder nur für bestimmte Ereignisse gesendet werden, einschließlich Agent Assist-Vorschlägen, Informationen zum Konversationslebenszyklus und Live-Transkripten.
Sie können Agent Assist so konfigurieren, dass Benachrichtigungen für alle Ereignisse oder für angegebene Ereignisse in Ihrem Unterhaltungsprofil gesendet werden.
Ein Unterhaltungsprofil konfiguriert eine Reihe von Parametern, die die Vorschläge oder Benachrichtigungen steuern, die einem Kundenservicemitarbeiter während einer Unterhaltung gegeben werden. Sie haben die Möglichkeit, Cloud Pub/Sub-Benachrichtigungen entweder über die Agent Assist Console oder durch direkten Aufruf der API zu konfigurieren. Sie können jeden Benachrichtigungstyp separat konfigurieren und dabei die von Ihnen erstellten Themen verwenden.
Cloud Pub/Sub-Benachrichtigungen über die Agent Assist-Konsole aktivieren
Wenn Sie ein neues Unterhaltungsprofil über die Agent Assist Console erstellen, können Sie anhand der von Ihnen erstellten Themen auswählen, welche Benachrichtigungstypen Sie erhalten möchten:
Cloud Pub/Sub-Benachrichtigungen über die API aktivieren
Wenn Sie die API lieber direkt aufrufen möchten, um ein Unterhaltungsprofil zu erstellen oder zu aktualisieren, finden Sie in diesem Abschnitt die Standorte, die Sie in der Ressource ConversationProfile konfigurieren sollten.
Im folgenden Beispiel werden alle Cloud Pub/Sub-Benachrichtigungen aktiviert, die mit einem bestimmten TOPIC_ID übereinstimmen.
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-09-04 (UTC)."],[[["\u003cp\u003eAgent Assist can send notifications via Cloud Pub/Sub for completed events, including suggestions, conversation lifecycle updates, and live transcripts.\u003c/p\u003e\n"],["\u003cp\u003eYou can configure Agent Assist to send notifications for all events or only for specific event types, like suggestion_event, life_cycle_event, or new_message_event, through conversation profiles.\u003c/p\u003e\n"],["\u003cp\u003eTo enable Cloud Pub/Sub notifications, you need to have the Dialogflow API enabled and have already created a Cloud Pub/Sub topic.\u003c/p\u003e\n"],["\u003cp\u003eNotifications can be configured via the Agent Assist console or by directly calling the API, allowing for separate configuration of each notification type.\u003c/p\u003e\n"],["\u003cp\u003eEach notification type—suggestion, lifecycle, and new message—sends different data formats in its Cloud Pub/Sub message, with examples provided for each.\u003c/p\u003e\n"]]],[],null,["# Enable Cloud Pub/Sub notifications for CCAI Agent Assist events\n\nEnabling [Cloud Pub/Sub](/pubsub) notifications lets you receive a\nnotification each time an Agent Assist event completes. You can\nconfigure Agent Assist to send a notification for all events or only\nspecified events, including Agent Assist suggestions, conversation\nlifecycle information, and live transcripts.\n\nPrerequisites\n-------------\n\n1. Enable the [Dialogflow API](/dialogflow/es/docs/reference/rest/v2-overview).\n2. Follow the instructions to [create a Cloud Pub/Sub topic](/pubsub/docs/create-topic-console).\n\nEnable Cloud Pub/Sub notifications\n----------------------------------\n\nYou can configure Agent Assist to send a notification for\n*all events* or for *specified events* in your **conversation profile**.\n\nA [conversation profile](/agent-assist/docs/conversation-profile) configures a\nset of parameters that control the suggestions or notifications made to an agent\nduring a conversation. You have the option of configuring [Cloud Pub/Sub](/pubsub)\nnotifications either using the\n[Agent Assist console](https://agentassist.cloud.google.com)\nor by calling the API directly. You can configure each type of notification\nseparately, using the topics that you've created.\n\nFor more details about Cloud Pub/Sub configuration parameters, see the\n[`conversationProfile` reference documentation](/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles).\n\n### Enable Cloud Pub/Sub notifications using the Agent Assist console\n\n| **Note:** You can use the Agent Assist simulator to create a conversation. In this case, notifications for live transcripts and suggestions are published to Google internal Pub/Sub topics instead of the ones you configured in your conversation profiles.\n\nWhen you create a new conversation profile using the\n[Agent Assist console](https://agentassist.cloud.google.com),\nyou can select which notification types you'd like to receive using the topics\nyou've created:\n\n### Enable Cloud Pub/Sub notifications using the API\n\nIf you prefer to call the API directly to create or update a conversation profile,\ncheck this section for the locations you should configure in the\n[`ConversationProfile`](/dialogflow/es/docs/reference/rest/v2/projects.conversationProfiles)\nresource.\n\nThe following example is configured to enable all Cloud Pub/Sub notifications\nthat match a designated `TOPIC_ID`. \n\n```json\n{\n \"name\": \"projects/PROJECT_ID/locations/global/conversationProfiles/CONVERSATION_PROFILE_ID\",\n \"displayName\": \"CONVERSATION_PROFILE_NAME\",\n \"automatedAgentConfig\": {\n },\n \"humanAgentAssistantConfig\": {\n \"notificationConfig\": {\n \"topic\": \"projects/PROJECT_ID/topics/FEATURE_SUGGESTION_TOPIC_ID\",\n \"messageFormat\": \"JSON\"\n },\n \"humanAgentSuggestionConfig\": {\n \"featureConfigs\": [{\n \"enableEventBasedSuggestion\": true,\n \"suggestionFeature\": {\n \"type\": \"ARTICLE_SUGGESTION\"\n },\n \"conversationModelConfig\": {\n }\n }]\n },\n \"messageAnalysisConfig\": {\n }\n },\n \"notificationConfig\": {\n \"topic\": \"projects/PROJECT_ID/topics/CONVERSARION_LIFECYCLE_TOPIC_ID\",\n \"messageFormat\": \"JSON\"\n },\n \"newMessageEventNotificationConfig\": {\n \"topic\": \"projects/PROJECT_ID/topics/LIVE_TRANSCRIPT_TOPIC_ID\",\n \"messageFormat\": \"JSON\"\n },\n \"newRecognitionResultNotificationConfig\": {\n \"topic\": \"projects/PROJECT_ID/topics/NEW_RECOGNITION_RESULT_TOPIC_ID\",\n \"messageFormat\": \"JSON\"\n },\n \"languageCode\": \"en-US\"\n}\n```\n\n### Configuration of the Cloud Pub/Sub message\n\n### Content of the Cloud Pub/Sub message\n\nThe content of the [Cloud Pub/Sub message](/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage) depends on the event that triggers that Cloud Pub/Sub notification."]]