jsn / ServiceNow, simplified.
AustraliaREFERENCE GUIDE

Create a Virtual Agent Bot Interconnect shell topic to call Google Dialogflow topics

On this page

Create a Virtual Agent Bot Interconnect shell topic to call Google Dialogflow topics

To access topics in the Google Dialogflow secondary bot, you must create at least one Virtual Agent Bot Interconnect topic.

Before you begin

Create one or more intents in Google Dialogflow. For details, refer to the Dialogflow documentation.

Configure connections to Google Dialogflow in your Virtual Agent Bot Interconnect instance.

Role required: virtual_agent_admin or admin

About this task

There are two ways to integrate Google Dialogflow intents with Bot Interconnect

  • Create one Bot Interconnect topic per Dialogflow intent.

    For NLU/Keyword topics, each Virtual Agent topic has the same name as a single Dialogflow intent. For example, if you have two Dialogflow intents, order a drink and book a ticket, create two topics to match.

    For LLM topics, each Bot Interconnect topic has the same name and description as the corresponding Google Dialogflow topic.

  • Map multiple Dialogflow intents to a single Virtual Agent Bot Interconnect topic. This scenario is applicable only for NLU topics.

    Create a Virtual Agent topic for your Dialogflow intents and name it accordingly. For example, DG ordering issues. In this scenario, the Dialogflow intents are mapped to the topic as either keywords or utterances, depending on your method of topic discovery. If you have two Dialogflow intents named order a drink and book a ticket, add both phrases to the topic as keywords. Alternatively, add them as utterances to the topic's corresponding intent.

Procedure

  1. Navigate to All > Conversational Interfaces > Assistant Designer.

  2. Select the Asset library tab.

  3. Create a topic for your Dialogflow intents.

    In case of NLU topics, include the Dialogflow intent names as either keywords or utterances in the corresponding ServiceNow Virtual Agent intent. In case of LLM topics, the topic name and description of the Bot Interconnect topic should match the topic name and description of the Google Dialogflow topic.

  4. On the Flow tab, drag a Topic Block utility node onto the canvas.

  5. Select the node, and then fill in the form as follows:

    Property Description Topic Block Select Bot Interconnect topic block for NLU topics and Bot Interconnect - LLM topic block for LLM topics. Action Name Enter: sn_va_bot_ic.dialogflow_bot_interconnect_integration Action Type Enter subflow.
  6. Select Save.

  7. Select Publish.

What to do next

Test your configuration. You can execute the topics that are available in the secondary bot from channels where Bot Interconnect is deployed.

Parent Topic:Using Google Dialogflow as a secondary bot with Virtual Agent Bot Interconnect

Previous topic:Configure connections to Google Dialogflow in your Virtual Agent Bot Interconnect instance

Next topic:Using Microsoft Power Virtual Agents as a secondary bot with Virtual Agent Bot Interconnect

Keep exploring.

Find another answer, or bring this documentation into your own tools.