Posts

Simple ChatGPT integration with ServiceNow platform

Image
We all know the new AI tool -   ChatGPT and the features of it. Of course, some of them like this feature and some are not but that is a different story . After I did work on the Virtual Agent functionality last week, I thought of spending some time to integrate ChatGPT in SN platform. Took some time to do research on this and finally I did a small PoC kind of work on this integration in my PDI. Here I am giving the details of how I designed this feature. Before working on it, one should have API key for Open AI using   https://beta.openai.com/ After noting the key from above site, we need to use it in our integration exercise.   We need a portal to capture question and ChatGPT answer We need a Widget to build the logic on getting the answer after successful integration done We need to create a property to capture the API key   Those who are interested to know about this small PoC work, feel free to contact me so that I will explain it from my PDI. By the way, I have...

Glide Virtual Agent plugin -> build a Chatbot with flow configuration (simple)

Image
Virtual Agent helps solve ordinary issues and delivers results for common requests. When Virtual Agent handles the general, everyday tasks and requests, agents and technicians are free to focus on more complex user issues. Virtual Agent converts the time agents and technicians spend handling low-impact user requests, such as password reset, request for leave of absence, or information about a recent order, into an impressive, intelligently managed interaction. Turn the high-volume ordinary interactions into an elevated user experience.   For more info, read this article: https://docs.servicenow.com/bundle/quebec-now-intelligence/page/administer/virtual-agent/concept/virtual-agent-landing-page.html     To work and implement a Chatbot/Virtual Agent, we need to install & enable the below mentioned plugin from System Applications -> All.   System creates a module to design the Chatbot like below and we can use this feature to build the function...

Email accts setup for Inbound/Outbound emails using Gmail configuration in ServiceNow PDI

Image
It is an easy process to setup email acct for inbound/outbound emails using Gmail in the PDI running on Tokyo version. Before we work on this exercise, we need to make sure on the Gmail side configuration using https://myaccount.google.com/security  Here is the snapshot on how to setup the security configuration and also we need the password to be used for connectivity. Also, make sure to have POP server settings enabled in the Gmail settings like below. Before setting the Email Account setup in ServiceNow, make sure that Email Properties are set for sending/receiving the emails. Here is the snapshot. There is a 3 mins interval to send/receive the emails from ServiceNow using the below system property value. We need to setup the Inbound and Outbound email accounts using Email Account module.  1) Inbound configuration settings in ServiceNow: The above captured App password is needed here. After filling the below fields, save and activate the module. Click on the Test Connecti...

ServiceNow CLI - an interesting feature to play with SN using REST API calls

Image
  The  ServiceNow CLI  is a command-line interface that lets us to perform instance operations from our local system. We can extend the CLI to include new commands that meet the application's needs. Benefits The ServiceNow CLI lets us to: Perform basic CRUD operations on records in SN instance. Develop custom components and deploy them to SN instance to personalize a UI. Create custom commands that enable to manage custom applications from the command line. Use the ServiceNow CLI in scripts to simplify setup tasks and operational activities.   Architecture Commands are stored in a table on the instance where we are connected to. When the  ServiceNow CLI  connects to the instance, it receives all the available commands supported by that instance.   Commands map to a REST endpoint that executes asynchronously.  Activating  ServiceNow CLI in Windows machine:   Here are the steps I followed to run this functionality succe...

Scheduled Imports using FTP Data Source

Image
Here I am explaining on how to read a CSV file from an FTP location and insert the records into ServiceNow on a periodical manner.  Before starting this exercise, we need the below prerequisites. CSV File with few records (Eg:Employee) Target table in ServiceNow to store the file records Transform map to load the records into ServiceNow FTP server to store the CSV file. For this, we have a free FTP file server:  https://byet.host/free-hosting/   Data source record to map the FTP server path Scheduled Imports record to schedule the run for uploading the file data periodically After following all the above steps, we see the list of records in ServiceNow at the end. References: 1) www.Google.com 2) https://docs.servicenow.com/ 3) https://developer.servicenow.com/ 4) https://byet.host/