Connect to ServiceNow
This document provides step-by-step instructions on how to create and connect a ServiceNow Virtual Assistant to a Copilot bot and escalate it to ServiceNow Live Agent. This integration allows you to use the capabilities of both platforms and generative answers to enhance your chatbot experience.
Prerequisites
Before you begin, make sure that you have the following prerequisites in place:
- An active ServiceNow account with ServiceNow Virtual Agent enabled and ServiceNow Bot Interconnect enabled (ServiceNow Vancouver or later required)
- A Copilot Studio bot
- Admin or developer access to both ServiceNow and Power Platform
Steps
Follow these steps to create and connect a ServiceNow bot to a Copilot Studio bot:
Create a JavaScript function in Microsoft Azure using Visual Studio Code.
Sign in to Microsoft Azure.
Create a JavaScript function in Microsoft Azure.
Create an Azure Function for Microsoft Copilot Studio as Secondary bot with Servicenow Bot Interconnect setup (KB1112368)
Install the request-promise libraries.
From the Azure portal, navigate to All Resources.
Click the name of the function app that you created.
On the Overview page for the function, copy the function URL and keep it for use in a later step. The Azure function URL is used as the secondary bot endpoint in your ServiceNow instance.
Add the Direct Line secret key to your Virtual Agent Bot Interconnect instance.
Create a Virtual Agent Bot Interconnect shell topic to call Microsoft Copilot Studio topics.
Create a Virtual Agent conversational custom chat integration configuration.
Configure iFrames for agent interface so the bot can be accessed within ServiceNow.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for