Configure barge-in for Google Dialogflow bots


Prerequisites:

The following Edge version:

The following permissions assigned to any user role:

  • Dialog > Bot > Add, Edit, View
  • DialogBotDomain > Add, Edit, View
  • DialogBotDomainModel > Add, Edit, View
  • DialogBotUtterance > Add, Edit, View 
  • DialogBotVersion > Add, Edit, View
  • Knowledge > Category > Add, Edit, View
  • Knowledge > Document > Add, Edit, View
  • KnowledgeKnowledgeBase > AddEditSearch, View
  • Knowledge > Training > Create, Edit, View

Barge-in functionality for the Call Dialogflow Bot action in call flows that use the Google Dialogflow integration is enabled by default. Configure barge-in functionality for use with Genesys Cloud by creating a Custom Payload Response for your bot in the Google Dialogflow console.

To disable or re-enable barge-in functionality for each intent

  1. In the Google Cloud Platform console, go to the Dialogflow Console.
  2. Choose an agent.
  3. Choose Intents in the left sidebar menu.
  4. Choose an intent.
  5. Scroll down to the Responses section.
  6. Click Add Responses and then click Custom Payload.
  7. To disable barge-in functionality, add the following code to the custom payload response:
    {
    
    "barge-in": false
    
    }
  8. To re-enable barge-in functionality, add the following code to the custom payload response:
    {
    
    "barge-in": true
    
    }
  9. Click Save.