Virtual Agent bot-to-bot integration

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:3分
  • The Virtual Agent API supports environments that use multiple bots. In this situation, a primary bot communicates with third-party secondary bots, such as a ServiceNow bot.

    There are two types of bot communication with the primary bot:

    • If the primary bot understands an end user’s request (intent), the primary bot routes the request to the appropriate secondary bot, which displays the corresponding topic.
    • If the primary bot cannot determine where to route a user request, the primary bot can broadcast a user’s request to all secondary bots. Each secondary bot returns a prediction confidence score for determining the end user’s intent. The primary bot then routes the request to the secondary bot with the highest prediction confidence score.

    In both scenarios, the ServiceNow bot informs the primary bot when the request is completed or when it cannot continue handling the request. The primary bot can then determine whether to inform the end user that the conversation is complete or provide further assistance.

    図 : 1. Bot-to-Bot ecosystem with ServiceNow Virtual Agent as a secondary bot
    Diagram of a bot-to-bot ecosystem with the ServiceNow Virtual Agent as a secondary bot.

    The ServiceNow secondary bot uses a standard request and response through REST endpoints. When the request is received through the Bot Framework or an enterprise app seeking to integrate with the ServiceNow bot, the response for a request is sent asynchronously via the API to the requesting system. Virtual Agent supports Live Agent in the channel as well.

    Properties for bot-to-bot integrations

    You can add system properties to configure the following:
    • Number of times that the Virtual Agent bot tries to get a response
    • Bot normalization score
    表 : 1. Bot-to-bot properties
    Property Description Default value
    va.bot.to.bot.take.control_times Number of times that Virtual Agent tries to get a response, after which control is returned to the primary bot. 2
    va.bot.to.bot.score.normalization_factor A value used to normalize the prediction confidence score returned by Virtual Agent, if the primary bot does not use intents to route requests to the appropriate bot. 1