Enable Dialogflow runtime integration

Dialogflow runtime integration lets you integrate data from other Dialogflow-powered Contact Center AI services into Contact Center AI Insights. These services also include Agent Assist and virtual agents. After you enable the integration, you can view conversations created in Agent Assist and virtual agent in CCAI Insights. To learn more about this feature, see the Concepts documentation.

Prerequisites

To enable CCAI Insights for your Google Cloud project, follow the instructions on the before you begin page.

Enable runtime integration (global endpoint)

  1. Go to the Agent Assist console.

  2. Click the Settings option.

  3. Verify that Send data to Insights is enabled.

  4. Go to the Dialogflow CX console.

  5. Click Agent settings.

  6. Under the General tab, go to the Logging settings header and ensure that Enable Conversation History is checked.

Enable runtime integration (regional endpoint)

  1. Go to the security settings page at the following link. Substitute your project ID where it says PROJECT_ID.

    https://ccai.cloud.google.com/projects/PROJECT_ID/securitySettings
    
  2. Create or update existing security settings in the correct region.

  3. Verify that Send data to Insights is enabled in the Export tab.

  4. Go to the Dialogflow CX console.

  5. Click Agent settings.

  6. Go to the General tab.

  7. Go to the Logging settings header.

  8. Ensure Enable Conversation History is checked.

  9. Attach security settings from the previous step in the Security tab. Repeat this step for each virtual agent.

  1. Go to the Agent Assist console.

  2. Attach your security settings to all your conversation profiles in the Conversation profile page.

Enable audio export

  1. (Optional) Enable CCAI Insights audio export settings for voice conversations. This step is necessary to make your audio files available for listening within CCAI Insights. Your audio files are stored in a Cloud Storage bucket and nowhere else. So if you don't enable audio_export_settings, CCAI Insights will only have access to the transcript and cannot play back the conversation audio.

    1. Go to the security settings page at the following link. Enter your project ID where indicated.
    https://ccai.cloud.google.com/projects/PROJECT_ID/securitySettings
    
    1. Filter to the correct region.

    2. Click V2 Security Settings or security settings created in the previous step.

    3. Click the Export tab.

    4. Enter your Cloud Storage bucket's name.

    5. Click Save

Create a conversation in Agent Assist and view it in CCAI Insights

  1. Create a conversation profile using the Agent Assist console by following the tutorial instructions. Don't enable the virtual agent option.
  2. (Optional) Test the performance of your conversation profile using the Agent Assist simulator.
  3. Follow the instructions to create a Smart Reply conversation. Handling conversations at runtime requires direct API calls. These actions cannot be carried out using the Agent Assist console. Make sure that you complete the conversation before moving on. Only completed conversations are visible in CCAI Insights.
  4. Navigate to the CCAI Insights console.
  5. Enter the project ID that you used to create the Agent Assist conversation and view this conversation in CCAI Insights. The CCAI Insights conversation name matches the conversation name in Agent Assist.

Create a conversation in virtual agents and view it in CCAI Insights

  1. Create a virtual agent and optionally import sample data to your agent.
  2. The remaining steps are the same as creating a conversation in Agent Assist, with the exception that you must enable the virtual agent option when you create a conversation profile in order for the profile to use your newly created agent.

Create a conversation in Dialogflow CX console and view it in CCAI Insights

  1. Create a virtual agent.
  2. Test the agent to create a conversation.
  3. Navigate to the CCAI Insights console. After a few moments, you should see your conversation with the test agent on your conversation history.

Troubleshooting

For help with issues related to Dialogflow runtime integration, see the Troubleshooting page.