시작
Kore.ai 대화형 플랫폼
챗봇 개요
자연어 처리(NLP)
봇 개념 및 용어들
빠른 시작 가이드
봇 빌더 접근 방법
사용 고지 사항 (영어)
Kore.ai 봇 빌더로 작업하기
봇 구축 시작하기
릴리스 정보
현재 버전 (영어)
이전 버전 (영어)

개념
디자인
스토리보드
대화 작업
개요
Using the Dialog Builder Tool
노드 유형
사용자 의도 노드
대화 노드
엔티티 노드
양식 노드
확인 노드
서비스 노드
봇 조치 노드
Service Node
WebHook 노드
스크립트 노드
노드 그룹화하기
Agent Transfer Node
사용자 프롬프트
음성 통화 속성
대화 관리
노드 및 전환
구성 요소 전환
컨텍스트 개체
이벤트 기반 봇 조치
지식 그래프
소개
지식 추출
지식 그래프 생성
봇에 지식 그래프 추가
그래프 생성
지식 그래프 작성
FAQ 추가
작업 실행
기존 소스에서 FAQ 구축
특성, 동의어 및 불용어
변수 네임스페이스 관리
수정
용어 편집 및 삭제
용어 편집 및 삭제
질문과 응답 편집
Knowledge Graph Training
지식 그래프 분석
봇 온톨로지 가져오기 및 내보내기
지식 그래프 가져오기
지식 그래프 내보내기
지식 그래프 생성
CSV 파일에서
JSON 파일
지식 그래프 생성
경고 작업
스몰 토크
Digital Skills
디지털 양식
Views
Digital Views
Panels
Widgets
기차
봇 성능 향상 – NLP 최적화
기계 학습
소개
모델 검증
기초 의미
지식 그래프 학습
특성
순위 및 해결
고급 NLP 설정
NLP 설정 및 지침
봇 인텔리전스
소개
컨텍스트 관리
컨텍스트 관리
대화 관리
다중 – 의도 탐지
엔티티 수정
기본 대화
정서 관리
어조 분석
Test & Debug
봇과 대화
발화 테스트
배치 테스트하기
대화 테스트
배포
채널 활성화
봇 게시
분석
봇 분석하기
Conversations Dashboard
Performance Dashboard
사용자 정의 대시보드
소개
맞춤형 메타 태그
사용자 정의 대시보드 생성 방법
Conversation Flows
NLP 지표
Containment Metrics
사용량 지표
스마트 봇
소개
범용 봇
소개
범용 봇 정의
범용 봇 생성
범용 봇 학습
범용 봇 커스터마이징
범용 봇용 추가 언어 활성화
스토어
Manage Assistant
플랜 및 사용량
Overview
Usage Plans
Support Plans
플랜 관리
봇 인증
다국어 봇
개인 식별 정보 삭제하기
봇 변수 사용
IVR 통합
일반 설정
봇 관리

방법
간단한 봇 생성하기
Design Conversation Skills
뱅킹 봇 생성
뱅킹 봇 – 자금 이체
뱅킹 봇 – 잔액 업데이트
Knowledge Graph (KG) 구축
스마트 경고를 예약하는 방법
Design Digital Skills
디지털 양식 설정 방법
디지털 보기 설정 방법
데이터 테이블에 데이터를 추가하는 방법
데이터 테이블 내 데이터 업데이트 방법
UI 양식에서 데이터 테이블에 데이터를 추가하는 방법
Train the Assistant
특성 사용 방법
의도와 엔티티에 대한 패턴 사용 방법
컨텍스트 전환 관리 방법
Deploy the Assistant
상담사 전환을 설정하는 방법
봇 기능 사용 방법
콘텐츠 변수 사용 방법
전역 변수 사용 방법
Kore.ai 웹 SDK 튜토리얼
Kore.ai 위젯 SDK 튜토리얼
Analyze the Assistant
사용자 정의 대시보드 생성 방법
사용자 지정 태그를 사용하여 봇 메트릭을 필터링하는 방법

API 및 SDK
API 참조
Kore.ai API 사용
API 목록
API 컬렉션
koreUtil Libraries
SDK 참조
상담사 전환을 설정하는 방법
봇 기능 사용 방법
콘텐츠 변수 사용 방법
전역 변수 사용 방법
소개
Kore.ai 웹 SDK 튜토리얼
Kore.ai 위젯 SDK 튜토리얼

관리
소개
봇 관리자 콘솔
대시보드
사용자 관리
사용자 관리
그룹 관리
역할 관리
봇 관리 모듈
등록
사용자 초대
사용자 등록을 위한 대량 초대 보내기
사용자 및 사용자 데이터 가져오기
Active Directory에서 사용자 동기화
보안 및 준수
싱글 사인 온 사용
보안 설정
Kore.ai 커넥터
봇 관리자용 분석
Billing (지원하지 않음)
  1. Integrations
  2. Using The ServiceNow Action Templates

Using The ServiceNow Action Templates

You can use the Prebuilt Action Templates from your ServiceNow integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using ServiceNow action templates:

  1. Go to Build > Conversation Skills, and then click the Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the ServiceNow option to view the action templates.

    Note: If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

ServiceNow Actions 

The following ServiceNow actions are supported in this release:

Supported Tasks Description Method
Create an Incident Creates a new incident in the system. POST
Update an Incident Updates the incident details. GET
List All Incidents Retrieves all incidents from the system. PUT
Find an Incident Searches all incidents that match with the keyword. GET
Delete Incident Deletes an incident. DELETE 
Create a Request Creates a request in the system. POST
Update a Request Updates a request in the system. GET
List All Requests Retrieves all requests from the system GET
Find a Request Search all requests that match with the keyword GET
Delete Request Deletes a request DELETE

Create an Incident

Steps to create a new incident in ServiceNow:

    1. Refer to the Install the ServiceNow Action Templates section for installing this action.
    2. The Create a Incident dialog task is added with the following components:
      • createIncident- A user intent to create an incident.
      • createIncidentShortDescription and createIncidentDescription – Entity nodes for gathering the required incident details.
      • createIncidentService – A bot action service to create an incident in an external integration. Click the Plus icon to expand to view the createIncidentService bot action component properties.
      • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

        Sample Request:
        {
        "short_description": "Unable to log in to my mail app",
        "description": "I see an error stating “user with this mail id doesn't exist”"
        },

        To add one or more responses scroll down and click the +Add Response button:

        Sample Response: {
        "result": {
        "parent": "",
        "made_sla": "true",
        "caused_by": "",
        "watch_list": "",
        "upon_reject": "cancel",
        "sys_updated_on": "2022-09-21 07:42:22",
        "child_incidents": "0",
        "hold_reason": "",
        "origin_table": "",
        "task_effective_number": "INC0011182",
        "approval_history": "",
        "number": "INC0011182",
        "resolved_by": "",
        "sys_updated_by": "admin",
        "opened_by": {
        "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04bexxx",
        "value": "6816f79cc0a8016401c5a33be04bexx"
        },
        "user_input": "",
        "sys_created_on": "2022-09-21 07:42:22",
        "sys_domain": {
        "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global",
        "value": "global"
        },
        "state": "1",
        "route_reason": "",
        "sys_created_by": "admin",
        "knowledge": "false",
        "order": "",
        "calendar_stc": "",
        "closed_at": "",
        "cmdb_ci": "",
        "delivery_plan": "",
        "contract": "",
        "impact": "3",
        "active": "true",
        "work_notes_list": "",
        "business_service": "",
        "business_impact": "",
        "priority": "5",
        "sys_domain_path": "/",
        "rfc": "",
        "time_worked": "",
        "expected_start": "",
        "opened_at": "2022-09-21 07:42:22",
        "business_duration": "",
        "group_list": "",
        "work_end": "",
        "caller_id": "",
        "reopened_time": "",
        "resolved_at": "",
        "approval_set": "",
        "subcategory": "",
        "work_notes": "",
        "universal_request": "",
        "short_description": "21-sept-2022",
        "close_code": "",
        "correlation_display": "",
        "delivery_task": "",
        "work_start": "",
        "assignment_group": "",
        "additional_assignee_list": "",
        "business_stc": "",
        "cause": "",
        "shortdescription": "It is actually extended short description",
        "origin_id": "",
        "calendar_duration": "",
        "close_notes": "",
        "notify": "1",
        "service_offering": "",
        "sys_class_name": "incident",
        "closed_by": "",
        "follow_up": "",
        "parent_incident": "",
        "sys_id": "e0f70482478e11105474f088436d4xxx",
        "contact_type": "",
        "reopened_by": "",
        "incident_state": "1",
        "urgency": "3",
        "problem_id": "",
        "company": "",
        "reassignment_count": "0",
        "activity_due": "",
        "assigned_to": "",
        "severity": "3",
        "comments": "",
        "approval": "not requested",
        "sla_due": "",
        "comments_and_work_notes": "",
        "due_date": "",
        "sys_mod_count": "0",
        "reopen_count": "0",
        "sys_tags": "",
        "escalation": "0",
        "upon_approval": "proceed",
        "correlation_id": "",
        "location": "",
        "category": "inquiry",
        "u_custom_field": ""
        }
        }
      • setCallerService – A bot action service to set a caller node in an external integration. Click the Plus icon to expand to view the subDomainService bot action component properties.
      • createIncidentMessage – A message node with script to display responses for various scenarios.
    3. Click the Train tab to complete the Dialog task training.
    4. Click the Talk to Bot icon to test and debug the dialog task.
    5. Follow the prompts in the VA console to create an incident as shown below:
    6. The new incident is created in ServiceNow.
    7. Click the View Incident button to view the incident details in ServiceNow.

Update an Incident

Steps to update an existing incident in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Update an Incident dialog task is added with the following components:
    • Update Incident – A user intent to update an incident.
    • SysId, updateRecordFields, updatedShortDescription, and updatedDescription – Entity nodes for updating the incident details.
    • prepareUpdatePayloadScript – A bot action script to update an incident in an external integration. Click the Plus icon to expand to view the prepareUpdatePayloadScript bot action component properties.
    • updateIncidentService – A bot action service to update an incident in an external integration. Click the Plus icon to expand to view the updateIncidentService bot action component properties.
    •  updateIncidentMessage – A message node with script to display responses for various scenarios. 
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to update an incident as shown below:
  6. Enter all incident update details when prompted by the VA. The existing incident is updated in ServiceNow as shown below:
  7. Click the View Incident button to view the incident details in ServiceNow.

List All Incidents

Steps to view all Incidents in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The List All Incidents dialog task is added for the ServiceNow with the following components:
    • List All Incidents : A user intent to list all incidents.
    • listAllIncidentsService – A bot action script to view all incidents in an external integration. Click the Plus icon to expand to view the listAllIncidentService bot action component properties. Scroll down and click the +Add Response link to add one or more responses.

    Sample Response:

    {
    "result": [
    {
    "parent": "",
    "made_sla": "true",
    "caused_by": "",
    "watch_list": "",
    "upon_reject": "Cancel all future Tasks",
    "sys_updated_on": "2022-09-20 23:50:09",
    "child_incidents": "0",
    "hold_reason": "",
    "origin_table": "",
    "task_effective_number": "INC0011181",
    "approval_history": "",
    "number": "INC0011181",
    "resolved_by": "",
    "sys_updated_by": "admin",
    "opened_by": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "user_input": "",
    "sys_created_on": "2022-09-20 14:32:50",
    "sys_domain": {
    "display_value": "global",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global"
    },
    "state": "New",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "2 - Medium",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "business_impact": "",
    "priority": "4 - Low",
    "sys_domain_path": "/",
    "rfc": "",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 14:32:50",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "caller_id": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04bexxx"
    },
    "reopened_time": "",
    "resolved_at": "",
    "approval_set": "",
    "subcategory": null,
    "work_notes": "2022-09-20 23:50:09 - System Administrator (Work notes)\nnew notes\n\n",
    "universal_request": "",
    "short_description": "21-sept 03:03",
    "close_code": null,
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "additional_assignee_list": "",
    "business_stc": "",
    "cause": "",
    "description": "late night short description",
    "origin_id": "",
    "calendar_duration": "",
    "close_notes": "",
    "notify": "Do Not Notify",
    "service_offering": "",
    "sys_class_name": "Incident",
    "closed_by": "",
    "follow_up": "",
    "parent_incident": "",
    "sys_id": "bb6c7975478611105474f088436d4xxx",
    "contact_type": null,
    "reopened_by": "",
    "incident_state": "New",
    "urgency": "3 - Low",
    "problem_id": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "UNKNOWN",
    "assigned_to": "",
    "severity": "3 - Low",
    "comments": "",
    "approval": "Not Yet Requested",
    "sla_due": "UNKNOWN",
    "comments_and_work_notes": "2022-09-20 23:50:09 - System Administrator (Work notes)\nnew notes\n\n",
    "due_date": "",
    "sys_mod_count": "2",
    "reopen_count": "0",
    "sys_tags": "",
    "escalation": "Normal",
    "upon_approval": "Proceed to Next Task",
    "correlation_id": "",
    "location": "",
    "category": "Inquiry / Help",
    "u_custom_field": ""
    }
    ] }

  3. listAllIncidentsMessage – A message node with script to display responses for various scenarios. 
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task
  6. Follow the prompts in the VA console to view all incidents as shown below:

Find an Incident

Steps to search an incident in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Find an Incident dialog task is added for ServiceNow with the following components:
    • Find Incident: A user intent to find an incident.
    • findRecordFields, findRecordSysId, findRecordNumber, findShortDescription, and findDescription – Entity nodes to gather details for finding an incident.
    • Keyword – Entity nodes for entering the keywords for the searching incidents.
    • prepareSearchingFieldScript – A bot action script to update an incident in an external integration. Click the Plus icon to expand to view the prepareUpdatePayloadScript bot action component properties.
    • findSearchingFieldScript – A bot action script to search incidents in an external integration. Click the Plus icon to expand to view the findIncidentService bot action component properties.  

    Sample Response:

    Response To large , here one one result item is displayed:

    {
    "result": [
    {
    "parent": "",
    "made_sla": "true",
    "caused_by": "",
    "watch_list": "",
    "upon_reject": "Cancel all future Tasks",
    "sys_updated_on": "2022-09-20 23:50:09",
    "child_incidents": "0",
    "hold_reason": "",
    "origin_table": "",
    "task_effective_number": "INC0011181",
    "approval_history": "",
    "number": "INC0011181",
    "resolved_by": "",
    "sys_updated_by": "admin",
    "opened_by": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "user_input": "",
    "sys_created_on": "2022-09-20 14:32:50",
    "sys_domain": {
    "display_value": "global",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global"
    },
    "state": "New",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "2 - Medium",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "business_impact": "",
    "priority": "4 - Low",
    "sys_domain_path": "/",
    "rfc": "",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 14:32:50",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "caller_id": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "reopened_time": "",
    "resolved_at": "",
    "approval_set": "",
    "subcategory": null,
    "work_notes": "2022-09-20 23:50:09 - System Administrator (Work notes)\nnew notes\n\n",
    "universal_request": "",
    "short_description": "21-sept 03:03",
    "close_code": null,
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "additional_assignee_list": "",
    "business_stc": "",
    "cause": "",
    "description": "late night short description",
    "origin_id": "",
    "calendar_duration": "",
    "close_notes": "",
    "notify": "Do Not Notify",
    "service_offering": "",
    "sys_class_name": "Incident",
    "closed_by": "",
    "follow_up": "",
    "parent_incident": "",
    "sys_id": "bb6c7975478611105474f088436d43e2",
    "contact_type": null,
    "reopened_by": "",
    "incident_state": "New",
    "urgency": "3 - Low",
    "problem_id": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "UNKNOWN",
    "assigned_to": "",
    "severity": "3 - Low",
    "comments": "",
    "approval": "Not Yet Requested",
    "sla_due": "UNKNOWN",
    "comments_and_work_notes": "2022-09-20 23:50:09 - System Administrator (Work notes)\nnew notes\n\n",
    "due_date": "",
    "sys_mod_count": "2",
    "reopen_count": "0",
    "sys_tags": "",
    "escalation": "Normal",
    "upon_approval": "Proceed to Next Task",
    "correlation_id": "",
    "location": "",
    "category": "Inquiry / Help",
    "u_custom_field": ""
    }
    ] }

  3. findIncidentMessage – A message node with script to display responses for various scenarios. 
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to view an incident as shown below:

Delete a Incident

Steps to delete an incident in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Delete an Incident dialog task is added for ServiceNow with the following components:
    • Delete Incident: A user intent to delete an incident.
    • SysId – Entity nodes for entering the incident ID.
    • deleteIncidentService – A bot action script to delete an incident in an external integration. Click the Plus icon to expand to view the deleteIncidentService bot action component properties.  
    •  deleteIncidentMessage – A message node with script to display responses for various scenarios. 
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to delete an incident as shown below:

    Note: If you enter an incorrect ID, the 404 – No Record Found error message is displayed.

Create a Request

Steps to create a request in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Create Request dialog task is added for the ServiceNow with the following components:
    • Create Request: A user intent to create a request.
    • createRequestShortDescription and createRequestDescription – Entity nodes for gathering the required request details.
    • createRequestService – A bot action service to create a request in an external integration. Click the Plus icon to expand to view the createRequestService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

    Sample Request:

    {
    "short_description": "Need a new device",
    "description": "old one not working"
    },

    To add one or more responses, scroll down and click the +Add Response button.

    Sample Response:

    {
    "result": {
    "parent": "",
    "delivery_address": "",
    "made_sla": "true",
    "watch_list": "",
    "upon_reject": "cancel",
    "requested_for": {
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04bexxx",
    "value": "6816f79cc0a8016401c5a33be04bexxx"
    },
    "sys_updated_on": "2022-09-20 19:37:40",
    "task_effective_number": "REQ0010070",
    "approval_history": "",
    "number": "REQ0010070",
    "sys_updated_by": "admin",
    "opened_by": {
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04bexxx",
    "value": "6816f79cc0a8016401c5a33be04bexxx"
    },
    "user_input": "",
    "price": "0",
    "sys_created_on": "2022-09-20 19:37:40",
    "sys_domain": {
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global",
    "value": "global"
    },
    "state": "1",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "special_instructions": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "3",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "priority": "3",
    "sys_domain_path": "/",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 19:37:40",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "approval_set": "2022-09-20 19:37:40",
    "work_notes": "",
    "universal_request": "",
    "short_description": "Need a better router",
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "parent_interaction": "",
    "additional_assignee_list": "",
    "description": "My work require high speed of internet connection",
    "calendar_duration": "",
    "close_notes": "",
    "service_offering": "",
    "sys_class_name": "sc_request",
    "closed_by": "",
    "follow_up": "",
    "sys_id": "b0126dfd470611105474f088436d438f",
    "contact_type": "",
    "urgency": "3",
    "requested_date": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "",
    "assigned_to": "",
    "comments": "",
    "approval": "approved",
    "sla_due": "",
    "comments_and_work_notes": "",
    "due_date": "",
    "sys_mod_count": "0",
    "sys_tags": "",
    "request_state": "in_process",
    "stage": "requested",
    "escalation": "0",
    "upon_approval": "proceed",
    "correlation_id": "",
    "location": ""
    }
    }
    "NumberofLocations__c": null
    }

  3. createRequestMessage – A message node with script to display responses for various scenarios. 
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to create a new request.
  7. Click the View Request button to view the request details in ServiceNow.

Update a Request

Steps to update an existing request in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Update a Request dialog task is added with the following components:
    • Update Request: A user intent to update a request.
    • SysId, updateRecordFields, updatedShortDescription, and updatedDescription – Entity nodes for updating the request details.
    • prepareUpdatePayloadScript – A bot action script to update an incident in an external integration. Click the Plus icon to expand to view the prepareUpdatePayloadScript bot action component properties.
    • updateRequestService – A bot action service to update a request in an external integration. Click the Plus icon to expand to view the updateRequestService bot action component properties.
    •  updateRequestMessage – A message node with script to display responses for various scenarios. 
  3. Click the Talk to Bot icon ad follow the prompts in the VA console to learn how to update a request. For more information, see step # 3 in the Create an Incident.

List All Requests

Steps to view all requests in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The List All Requests dialog task is added for the ServiceNow with the following components:
    • List All Requests: A user intent to list all incidents.
    • listAllRequestsService – A bot action script to view all incidents in an external integration. Click the Plus icon to expand to view the listAllRequestService bot action component properties.

    Sample Response:

    {
    "result": [
    {
    "parent": "",
    "delivery_address": "",
    "made_sla": "true",
    "watch_list": "",
    "upon_reject": "Cancel all future Tasks",
    "requested_for": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "sys_updated_on": "2022-09-22 07:06:20",
    "task_effective_number": "REQ0010071",
    "approval_history": "",
    "number": "REQ0010071",
    "sys_updated_by": "admin",
    "opened_by": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "user_input": "",
    "price": "$0.00",
    "sys_created_on": "2022-09-20 21:39:03",
    "sys_domain": {
    "display_value": "global",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global"
    },
    "state": "Open",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "special_instructions": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "3 - Low",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "priority": "4 - Low",
    "sys_domain_path": "/",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 21:39:03",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "approval_set": "2022-09-20 21:39:03",
    "work_notes": "",
    "universal_request": "",
    "short_description": "NEW SD",
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "parent_interaction": "",
    "additional_assignee_list": "",
    "description": "more December on request",
    "calendar_duration": "",
    "close_notes": "",
    "service_offering": "",
    "sys_class_name": "Request",
    "closed_by": "",
    "follow_up": "",
    "sys_id": "beddf9f5478611105474f088436d43a4",
    "contact_type": null,
    "urgency": "3 - Low",
    "requested_date": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "UNKNOWN",
    "assigned_to": "",
    "comments": "2022-09-20 21:39:03 - System Administrator (Additional comments)\nRequest automatically approved for total price <= $1000\n\n",
    "approval": "Approved",
    "sla_due": "UNKNOWN",
    "comments_and_work_notes": "2022-09-20 21:39:03 - System Administrator (Additional comments)\nRequest automatically approved for total price <= $1000\n\n",
    "due_date": "",
    "sys_mod_count": "2",
    "sys_tags": "",
    "request_state": "Approved",
    "stage": "Requested",
    "escalation": "Normal",
    "upon_approval": "Proceed to Next Task",
    "correlation_id": "",
    "location": ""
    }] }

  3. listAllRequestsMessage – A message node with script to display responses for various scenarios. 
  4. Follow the prompts in the VA console to view all requests. For more information, see step # 3 in the Create an Incident section.

Find a Request

Steps to search a request in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Find a Request dialog task is added for ServiceNow with the following components:
    • Find Request: A user intent to find an incident.
    • findRecordFields, findRecordSysId, findRecordNumber, findShortDescription, and findDescription – Entity nodes to gather details for finding an incident.
    • prepareSearchingFieldScript – A bot action script to update an incident in an external integration. Click the Plus icon to expand to view the prepareUpdatePayloadScript bot action component properties.
    • findRequestService – A bot action script to search incidents in an external integration. Click the Plus icon to expand to view the findRequestService bot action component properties.  

    Sample Response:

    Response To large , here one result item is displayed:

    {
    "result": [
    {
    "parent": "",
    "delivery_address": "",
    "made_sla": "true",
    "watch_list": "",
    "upon_reject": "Cancel all future Tasks",
    "requested_for": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "sys_updated_on": "2022-09-22 07:06:20",
    "task_effective_number": "REQ0010071",
    "approval_history": "",
    "number": "REQ0010071",
    "sys_updated_by": "admin",
    "opened_by": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "user_input": "",
    "price": "$0.00",
    "sys_created_on": "2022-09-20 21:39:03",
    "sys_domain": {
    "display_value": "global",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global"
    },
    "state": "Open",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "special_instructions": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "3 - Low",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "priority": "4 - Low",
    "sys_domain_path": "/",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 21:39:03",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "approval_set": "2022-09-20 21:39:03",
    "work_notes": "",
    "universal_request": "",
    "short_description": "NEW SD",
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "parent_interaction": "",
    "additional_assignee_list": "",
    "description": "more December on request",
    "calendar_duration": "",
    "close_notes": "",
    "service_offering": "",
    "sys_class_name": "Request",
    "closed_by": "",
    "follow_up": "",
    "sys_id": "beddf9f5478611105474f088436d43a4",
    "contact_type": null,
    "urgency": "3 - Low",
    "requested_date": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "UNKNOWN",
    "assigned_to": "",
    "comments": "2022-09-20 21:39:03 - System Administrator (Additional comments)\nRequest automatically approved for total price <= $1000\n\n",
    "approval": "Approved",
    "sla_due": "UNKNOWN",
    "comments_and_work_notes": "2022-09-20 21:39:03 - System Administrator (Additional comments)\nRequest automatically approved for total price <= $1000\n\n",
    "due_date": "",
    "sys_mod_count": "2",
    "sys_tags": "",
    "request_state": "Approved",
    "stage": "Requested",
    "escalation": "Normal",
    "upon_approval": "Proceed to Next Task",
    "correlation_id": "",
    "location": ""
    }] }

  3. findRequestMessage – A message node with script to display responses for various scenarios. 
  4. Click the Talk to Bot icon ad follow the prompts in the VA console to learn how to find a request. For more information, see step # 3 in the Create an Incident section.

Delete a Request

Steps to delete a request in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Delete a Request dialog task is added for ServiceNow with the following components:
    • Delete Request: A user intent to delete a request.
    • SysId – Entity nodes for entering the request ID.
    • deleteRequestService – A bot action script to delete a request in an external integration. Click the Plus icon to expand to view the deleteRequestService bot action component properties.  
    •  deleteRequestMessage – A message node with script to display responses for various scenarios. 
  3. Click the Talk to Bot icon ad follow the prompts in the VA console to learn how to delete a request. For more information, see step # 3 in the Create an Incident section.
    Note: If you enter an incorrect ID, the 404 – No Record Found error message is displayed.

Using The ServiceNow Action Templates

You can use the Prebuilt Action Templates from your ServiceNow integration to auto-create dialog tasks and test them using the Talk to Bot option.

Steps to create a dialog task using ServiceNow action templates:

  1. Go to Build > Conversation Skills, and then click the Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the ServiceNow option to view the action templates.

    Note: If you have not configured any integration for your virtual assistant, you will see the Explore Integrations option. Once you click this option, you will be redirected to the Actions page to configure an integration for your VA. For more information, see Actions Overview.

ServiceNow Actions 

The following ServiceNow actions are supported in this release:

Supported Tasks Description Method
Create an Incident Creates a new incident in the system. POST
Update an Incident Updates the incident details. GET
List All Incidents Retrieves all incidents from the system. PUT
Find an Incident Searches all incidents that match with the keyword. GET
Delete Incident Deletes an incident. DELETE 
Create a Request Creates a request in the system. POST
Update a Request Updates a request in the system. GET
List All Requests Retrieves all requests from the system GET
Find a Request Search all requests that match with the keyword GET
Delete Request Deletes a request DELETE

Create an Incident

Steps to create a new incident in ServiceNow:

    1. Refer to the Install the ServiceNow Action Templates section for installing this action.
    2. The Create a Incident dialog task is added with the following components:
      • createIncident- A user intent to create an incident.
      • createIncidentShortDescription and createIncidentDescription – Entity nodes for gathering the required incident details.
      • createIncidentService – A bot action service to create an incident in an external integration. Click the Plus icon to expand to view the createIncidentService bot action component properties.
      • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

        Sample Request:
        {
        "short_description": "Unable to log in to my mail app",
        "description": "I see an error stating “user with this mail id doesn't exist”"
        },

        To add one or more responses scroll down and click the +Add Response button:

        Sample Response: {
        "result": {
        "parent": "",
        "made_sla": "true",
        "caused_by": "",
        "watch_list": "",
        "upon_reject": "cancel",
        "sys_updated_on": "2022-09-21 07:42:22",
        "child_incidents": "0",
        "hold_reason": "",
        "origin_table": "",
        "task_effective_number": "INC0011182",
        "approval_history": "",
        "number": "INC0011182",
        "resolved_by": "",
        "sys_updated_by": "admin",
        "opened_by": {
        "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04bexxx",
        "value": "6816f79cc0a8016401c5a33be04bexx"
        },
        "user_input": "",
        "sys_created_on": "2022-09-21 07:42:22",
        "sys_domain": {
        "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global",
        "value": "global"
        },
        "state": "1",
        "route_reason": "",
        "sys_created_by": "admin",
        "knowledge": "false",
        "order": "",
        "calendar_stc": "",
        "closed_at": "",
        "cmdb_ci": "",
        "delivery_plan": "",
        "contract": "",
        "impact": "3",
        "active": "true",
        "work_notes_list": "",
        "business_service": "",
        "business_impact": "",
        "priority": "5",
        "sys_domain_path": "/",
        "rfc": "",
        "time_worked": "",
        "expected_start": "",
        "opened_at": "2022-09-21 07:42:22",
        "business_duration": "",
        "group_list": "",
        "work_end": "",
        "caller_id": "",
        "reopened_time": "",
        "resolved_at": "",
        "approval_set": "",
        "subcategory": "",
        "work_notes": "",
        "universal_request": "",
        "short_description": "21-sept-2022",
        "close_code": "",
        "correlation_display": "",
        "delivery_task": "",
        "work_start": "",
        "assignment_group": "",
        "additional_assignee_list": "",
        "business_stc": "",
        "cause": "",
        "shortdescription": "It is actually extended short description",
        "origin_id": "",
        "calendar_duration": "",
        "close_notes": "",
        "notify": "1",
        "service_offering": "",
        "sys_class_name": "incident",
        "closed_by": "",
        "follow_up": "",
        "parent_incident": "",
        "sys_id": "e0f70482478e11105474f088436d4xxx",
        "contact_type": "",
        "reopened_by": "",
        "incident_state": "1",
        "urgency": "3",
        "problem_id": "",
        "company": "",
        "reassignment_count": "0",
        "activity_due": "",
        "assigned_to": "",
        "severity": "3",
        "comments": "",
        "approval": "not requested",
        "sla_due": "",
        "comments_and_work_notes": "",
        "due_date": "",
        "sys_mod_count": "0",
        "reopen_count": "0",
        "sys_tags": "",
        "escalation": "0",
        "upon_approval": "proceed",
        "correlation_id": "",
        "location": "",
        "category": "inquiry",
        "u_custom_field": ""
        }
        }
      • setCallerService – A bot action service to set a caller node in an external integration. Click the Plus icon to expand to view the subDomainService bot action component properties.
      • createIncidentMessage – A message node with script to display responses for various scenarios.
    3. Click the Train tab to complete the Dialog task training.
    4. Click the Talk to Bot icon to test and debug the dialog task.
    5. Follow the prompts in the VA console to create an incident as shown below:
    6. The new incident is created in ServiceNow.
    7. Click the View Incident button to view the incident details in ServiceNow.

Update an Incident

Steps to update an existing incident in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Update an Incident dialog task is added with the following components:
    • Update Incident – A user intent to update an incident.
    • SysId, updateRecordFields, updatedShortDescription, and updatedDescription – Entity nodes for updating the incident details.
    • prepareUpdatePayloadScript – A bot action script to update an incident in an external integration. Click the Plus icon to expand to view the prepareUpdatePayloadScript bot action component properties.
    • updateIncidentService – A bot action service to update an incident in an external integration. Click the Plus icon to expand to view the updateIncidentService bot action component properties.
    •  updateIncidentMessage – A message node with script to display responses for various scenarios. 
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to update an incident as shown below:
  6. Enter all incident update details when prompted by the VA. The existing incident is updated in ServiceNow as shown below:
  7. Click the View Incident button to view the incident details in ServiceNow.

List All Incidents

Steps to view all Incidents in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The List All Incidents dialog task is added for the ServiceNow with the following components:
    • List All Incidents : A user intent to list all incidents.
    • listAllIncidentsService – A bot action script to view all incidents in an external integration. Click the Plus icon to expand to view the listAllIncidentService bot action component properties. Scroll down and click the +Add Response link to add one or more responses.

    Sample Response:

    {
    "result": [
    {
    "parent": "",
    "made_sla": "true",
    "caused_by": "",
    "watch_list": "",
    "upon_reject": "Cancel all future Tasks",
    "sys_updated_on": "2022-09-20 23:50:09",
    "child_incidents": "0",
    "hold_reason": "",
    "origin_table": "",
    "task_effective_number": "INC0011181",
    "approval_history": "",
    "number": "INC0011181",
    "resolved_by": "",
    "sys_updated_by": "admin",
    "opened_by": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "user_input": "",
    "sys_created_on": "2022-09-20 14:32:50",
    "sys_domain": {
    "display_value": "global",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global"
    },
    "state": "New",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "2 - Medium",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "business_impact": "",
    "priority": "4 - Low",
    "sys_domain_path": "/",
    "rfc": "",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 14:32:50",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "caller_id": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04bexxx"
    },
    "reopened_time": "",
    "resolved_at": "",
    "approval_set": "",
    "subcategory": null,
    "work_notes": "2022-09-20 23:50:09 - System Administrator (Work notes)\nnew notes\n\n",
    "universal_request": "",
    "short_description": "21-sept 03:03",
    "close_code": null,
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "additional_assignee_list": "",
    "business_stc": "",
    "cause": "",
    "description": "late night short description",
    "origin_id": "",
    "calendar_duration": "",
    "close_notes": "",
    "notify": "Do Not Notify",
    "service_offering": "",
    "sys_class_name": "Incident",
    "closed_by": "",
    "follow_up": "",
    "parent_incident": "",
    "sys_id": "bb6c7975478611105474f088436d4xxx",
    "contact_type": null,
    "reopened_by": "",
    "incident_state": "New",
    "urgency": "3 - Low",
    "problem_id": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "UNKNOWN",
    "assigned_to": "",
    "severity": "3 - Low",
    "comments": "",
    "approval": "Not Yet Requested",
    "sla_due": "UNKNOWN",
    "comments_and_work_notes": "2022-09-20 23:50:09 - System Administrator (Work notes)\nnew notes\n\n",
    "due_date": "",
    "sys_mod_count": "2",
    "reopen_count": "0",
    "sys_tags": "",
    "escalation": "Normal",
    "upon_approval": "Proceed to Next Task",
    "correlation_id": "",
    "location": "",
    "category": "Inquiry / Help",
    "u_custom_field": ""
    }
    ] }

  3. listAllIncidentsMessage – A message node with script to display responses for various scenarios. 
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task
  6. Follow the prompts in the VA console to view all incidents as shown below:

Find an Incident

Steps to search an incident in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Find an Incident dialog task is added for ServiceNow with the following components:
    • Find Incident: A user intent to find an incident.
    • findRecordFields, findRecordSysId, findRecordNumber, findShortDescription, and findDescription – Entity nodes to gather details for finding an incident.
    • Keyword – Entity nodes for entering the keywords for the searching incidents.
    • prepareSearchingFieldScript – A bot action script to update an incident in an external integration. Click the Plus icon to expand to view the prepareUpdatePayloadScript bot action component properties.
    • findSearchingFieldScript – A bot action script to search incidents in an external integration. Click the Plus icon to expand to view the findIncidentService bot action component properties.  

    Sample Response:

    Response To large , here one one result item is displayed:

    {
    "result": [
    {
    "parent": "",
    "made_sla": "true",
    "caused_by": "",
    "watch_list": "",
    "upon_reject": "Cancel all future Tasks",
    "sys_updated_on": "2022-09-20 23:50:09",
    "child_incidents": "0",
    "hold_reason": "",
    "origin_table": "",
    "task_effective_number": "INC0011181",
    "approval_history": "",
    "number": "INC0011181",
    "resolved_by": "",
    "sys_updated_by": "admin",
    "opened_by": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "user_input": "",
    "sys_created_on": "2022-09-20 14:32:50",
    "sys_domain": {
    "display_value": "global",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global"
    },
    "state": "New",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "2 - Medium",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "business_impact": "",
    "priority": "4 - Low",
    "sys_domain_path": "/",
    "rfc": "",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 14:32:50",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "caller_id": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "reopened_time": "",
    "resolved_at": "",
    "approval_set": "",
    "subcategory": null,
    "work_notes": "2022-09-20 23:50:09 - System Administrator (Work notes)\nnew notes\n\n",
    "universal_request": "",
    "short_description": "21-sept 03:03",
    "close_code": null,
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "additional_assignee_list": "",
    "business_stc": "",
    "cause": "",
    "description": "late night short description",
    "origin_id": "",
    "calendar_duration": "",
    "close_notes": "",
    "notify": "Do Not Notify",
    "service_offering": "",
    "sys_class_name": "Incident",
    "closed_by": "",
    "follow_up": "",
    "parent_incident": "",
    "sys_id": "bb6c7975478611105474f088436d43e2",
    "contact_type": null,
    "reopened_by": "",
    "incident_state": "New",
    "urgency": "3 - Low",
    "problem_id": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "UNKNOWN",
    "assigned_to": "",
    "severity": "3 - Low",
    "comments": "",
    "approval": "Not Yet Requested",
    "sla_due": "UNKNOWN",
    "comments_and_work_notes": "2022-09-20 23:50:09 - System Administrator (Work notes)\nnew notes\n\n",
    "due_date": "",
    "sys_mod_count": "2",
    "reopen_count": "0",
    "sys_tags": "",
    "escalation": "Normal",
    "upon_approval": "Proceed to Next Task",
    "correlation_id": "",
    "location": "",
    "category": "Inquiry / Help",
    "u_custom_field": ""
    }
    ] }

  3. findIncidentMessage – A message node with script to display responses for various scenarios. 
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to view an incident as shown below:

Delete a Incident

Steps to delete an incident in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Delete an Incident dialog task is added for ServiceNow with the following components:
    • Delete Incident: A user intent to delete an incident.
    • SysId – Entity nodes for entering the incident ID.
    • deleteIncidentService – A bot action script to delete an incident in an external integration. Click the Plus icon to expand to view the deleteIncidentService bot action component properties.  
    •  deleteIncidentMessage – A message node with script to display responses for various scenarios. 
  3. Click the Train tab to complete the Dialog task training.
  4. Click the Talk to Bot icon to test and debug the dialog task.
  5. Follow the prompts in the VA console to delete an incident as shown below:

    Note: If you enter an incorrect ID, the 404 – No Record Found error message is displayed.

Create a Request

Steps to create a request in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Create Request dialog task is added for the ServiceNow with the following components:
    • Create Request: A user intent to create a request.
    • createRequestShortDescription and createRequestDescription – Entity nodes for gathering the required request details.
    • createRequestService – A bot action service to create a request in an external integration. Click the Plus icon to expand to view the createRequestService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below:

    Sample Request:

    {
    "short_description": "Need a new device",
    "description": "old one not working"
    },

    To add one or more responses, scroll down and click the +Add Response button.

    Sample Response:

    {
    "result": {
    "parent": "",
    "delivery_address": "",
    "made_sla": "true",
    "watch_list": "",
    "upon_reject": "cancel",
    "requested_for": {
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04bexxx",
    "value": "6816f79cc0a8016401c5a33be04bexxx"
    },
    "sys_updated_on": "2022-09-20 19:37:40",
    "task_effective_number": "REQ0010070",
    "approval_history": "",
    "number": "REQ0010070",
    "sys_updated_by": "admin",
    "opened_by": {
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04bexxx",
    "value": "6816f79cc0a8016401c5a33be04bexxx"
    },
    "user_input": "",
    "price": "0",
    "sys_created_on": "2022-09-20 19:37:40",
    "sys_domain": {
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global",
    "value": "global"
    },
    "state": "1",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "special_instructions": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "3",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "priority": "3",
    "sys_domain_path": "/",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 19:37:40",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "approval_set": "2022-09-20 19:37:40",
    "work_notes": "",
    "universal_request": "",
    "short_description": "Need a better router",
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "parent_interaction": "",
    "additional_assignee_list": "",
    "description": "My work require high speed of internet connection",
    "calendar_duration": "",
    "close_notes": "",
    "service_offering": "",
    "sys_class_name": "sc_request",
    "closed_by": "",
    "follow_up": "",
    "sys_id": "b0126dfd470611105474f088436d438f",
    "contact_type": "",
    "urgency": "3",
    "requested_date": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "",
    "assigned_to": "",
    "comments": "",
    "approval": "approved",
    "sla_due": "",
    "comments_and_work_notes": "",
    "due_date": "",
    "sys_mod_count": "0",
    "sys_tags": "",
    "request_state": "in_process",
    "stage": "requested",
    "escalation": "0",
    "upon_approval": "proceed",
    "correlation_id": "",
    "location": ""
    }
    }
    "NumberofLocations__c": null
    }

  3. createRequestMessage – A message node with script to display responses for various scenarios. 
  4. Click the Train tab to complete the Dialog task training.
  5. Click the Talk to Bot icon to test and debug the dialog task.
  6. Follow the prompts in the VA console to create a new request.
  7. Click the View Request button to view the request details in ServiceNow.

Update a Request

Steps to update an existing request in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Update a Request dialog task is added with the following components:
    • Update Request: A user intent to update a request.
    • SysId, updateRecordFields, updatedShortDescription, and updatedDescription – Entity nodes for updating the request details.
    • prepareUpdatePayloadScript – A bot action script to update an incident in an external integration. Click the Plus icon to expand to view the prepareUpdatePayloadScript bot action component properties.
    • updateRequestService – A bot action service to update a request in an external integration. Click the Plus icon to expand to view the updateRequestService bot action component properties.
    •  updateRequestMessage – A message node with script to display responses for various scenarios. 
  3. Click the Talk to Bot icon ad follow the prompts in the VA console to learn how to update a request. For more information, see step # 3 in the Create an Incident.

List All Requests

Steps to view all requests in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The List All Requests dialog task is added for the ServiceNow with the following components:
    • List All Requests: A user intent to list all incidents.
    • listAllRequestsService – A bot action script to view all incidents in an external integration. Click the Plus icon to expand to view the listAllRequestService bot action component properties.

    Sample Response:

    {
    "result": [
    {
    "parent": "",
    "delivery_address": "",
    "made_sla": "true",
    "watch_list": "",
    "upon_reject": "Cancel all future Tasks",
    "requested_for": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "sys_updated_on": "2022-09-22 07:06:20",
    "task_effective_number": "REQ0010071",
    "approval_history": "",
    "number": "REQ0010071",
    "sys_updated_by": "admin",
    "opened_by": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "user_input": "",
    "price": "$0.00",
    "sys_created_on": "2022-09-20 21:39:03",
    "sys_domain": {
    "display_value": "global",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global"
    },
    "state": "Open",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "special_instructions": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "3 - Low",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "priority": "4 - Low",
    "sys_domain_path": "/",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 21:39:03",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "approval_set": "2022-09-20 21:39:03",
    "work_notes": "",
    "universal_request": "",
    "short_description": "NEW SD",
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "parent_interaction": "",
    "additional_assignee_list": "",
    "description": "more December on request",
    "calendar_duration": "",
    "close_notes": "",
    "service_offering": "",
    "sys_class_name": "Request",
    "closed_by": "",
    "follow_up": "",
    "sys_id": "beddf9f5478611105474f088436d43a4",
    "contact_type": null,
    "urgency": "3 - Low",
    "requested_date": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "UNKNOWN",
    "assigned_to": "",
    "comments": "2022-09-20 21:39:03 - System Administrator (Additional comments)\nRequest automatically approved for total price <= $1000\n\n",
    "approval": "Approved",
    "sla_due": "UNKNOWN",
    "comments_and_work_notes": "2022-09-20 21:39:03 - System Administrator (Additional comments)\nRequest automatically approved for total price <= $1000\n\n",
    "due_date": "",
    "sys_mod_count": "2",
    "sys_tags": "",
    "request_state": "Approved",
    "stage": "Requested",
    "escalation": "Normal",
    "upon_approval": "Proceed to Next Task",
    "correlation_id": "",
    "location": ""
    }] }

  3. listAllRequestsMessage – A message node with script to display responses for various scenarios. 
  4. Follow the prompts in the VA console to view all requests. For more information, see step # 3 in the Create an Incident section.

Find a Request

Steps to search a request in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Find a Request dialog task is added for ServiceNow with the following components:
    • Find Request: A user intent to find an incident.
    • findRecordFields, findRecordSysId, findRecordNumber, findShortDescription, and findDescription – Entity nodes to gather details for finding an incident.
    • prepareSearchingFieldScript – A bot action script to update an incident in an external integration. Click the Plus icon to expand to view the prepareUpdatePayloadScript bot action component properties.
    • findRequestService – A bot action script to search incidents in an external integration. Click the Plus icon to expand to view the findRequestService bot action component properties.  

    Sample Response:

    Response To large , here one result item is displayed:

    {
    "result": [
    {
    "parent": "",
    "delivery_address": "",
    "made_sla": "true",
    "watch_list": "",
    "upon_reject": "Cancel all future Tasks",
    "requested_for": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "sys_updated_on": "2022-09-22 07:06:20",
    "task_effective_number": "REQ0010071",
    "approval_history": "",
    "number": "REQ0010071",
    "sys_updated_by": "admin",
    "opened_by": {
    "display_value": "System Administrator",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user/6816f79cc0a8016401c5a33be04be441"
    },
    "user_input": "",
    "price": "$0.00",
    "sys_created_on": "2022-09-20 21:39:03",
    "sys_domain": {
    "display_value": "global",
    "link": "https://dev129509.service-now.com/api/now/table/sys_user_group/global"
    },
    "state": "Open",
    "route_reason": "",
    "sys_created_by": "admin",
    "knowledge": "false",
    "order": "",
    "calendar_stc": "",
    "special_instructions": "",
    "closed_at": "",
    "cmdb_ci": "",
    "delivery_plan": "",
    "contract": "",
    "impact": "3 - Low",
    "active": "true",
    "work_notes_list": "",
    "business_service": "",
    "priority": "4 - Low",
    "sys_domain_path": "/",
    "time_worked": "",
    "expected_start": "",
    "opened_at": "2022-09-20 21:39:03",
    "business_duration": "",
    "group_list": "",
    "work_end": "",
    "approval_set": "2022-09-20 21:39:03",
    "work_notes": "",
    "universal_request": "",
    "short_description": "NEW SD",
    "correlation_display": "",
    "delivery_task": "",
    "work_start": "",
    "assignment_group": "",
    "parent_interaction": "",
    "additional_assignee_list": "",
    "description": "more December on request",
    "calendar_duration": "",
    "close_notes": "",
    "service_offering": "",
    "sys_class_name": "Request",
    "closed_by": "",
    "follow_up": "",
    "sys_id": "beddf9f5478611105474f088436d43a4",
    "contact_type": null,
    "urgency": "3 - Low",
    "requested_date": "",
    "company": "",
    "reassignment_count": "0",
    "activity_due": "UNKNOWN",
    "assigned_to": "",
    "comments": "2022-09-20 21:39:03 - System Administrator (Additional comments)\nRequest automatically approved for total price <= $1000\n\n",
    "approval": "Approved",
    "sla_due": "UNKNOWN",
    "comments_and_work_notes": "2022-09-20 21:39:03 - System Administrator (Additional comments)\nRequest automatically approved for total price <= $1000\n\n",
    "due_date": "",
    "sys_mod_count": "2",
    "sys_tags": "",
    "request_state": "Approved",
    "stage": "Requested",
    "escalation": "Normal",
    "upon_approval": "Proceed to Next Task",
    "correlation_id": "",
    "location": ""
    }] }

  3. findRequestMessage – A message node with script to display responses for various scenarios. 
  4. Click the Talk to Bot icon ad follow the prompts in the VA console to learn how to find a request. For more information, see step # 3 in the Create an Incident section.

Delete a Request

Steps to delete a request in ServiceNow:

  1. Refer to the Install the ServiceNow Action Templates section for installing this action.
  2. The Delete a Request dialog task is added for ServiceNow with the following components:
    • Delete Request: A user intent to delete a request.
    • SysId – Entity nodes for entering the request ID.
    • deleteRequestService – A bot action script to delete a request in an external integration. Click the Plus icon to expand to view the deleteRequestService bot action component properties.  
    •  deleteRequestMessage – A message node with script to display responses for various scenarios. 
  3. Click the Talk to Bot icon ad follow the prompts in the VA console to learn how to delete a request. For more information, see step # 3 in the Create an Incident section.
    Note: If you enter an incorrect ID, the 404 – No Record Found error message is displayed.
메뉴