시작
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 Microsoft Graph Action Templates

Using the Microsoft Graph Action Templates

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

Steps to create a dialog task using Microsoft Graph action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the Microsoft Graph option to view the action templates.
  4. 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.

Microsoft Graph Actions

The following Microsoft Graph actions are supported:

Supported Tasks Description Method
List all events Retrieves all events from the Microsoft Graph system. GET
List all to-do lists Retrieves all to-do list items from the Microsoft Graph system. GET
Create a to-do list Create a to-do list in the Microsoft Graph system. POST
Create an event Creates an event in the Microsoft Graph system. POST
Send an Email Sends an email to the user from the Microsoft Graph system. POST

List All Events

Steps to view all events in the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The List All Events dialog task is added with the following components:

    • listallEvents – A user intent to view all events.
    • listAllEventsService – A bot action service to view all events in an external integration. Click the Plus icon to expand to view the listAllEventsService bot action component properties.
    • In the Component Properties window, To add one or more responses, scroll down and click +Add Response.

      Sample Response
      {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('purushottamKumar1215%40outlook.com')/events",
      "value": [
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAG8nV2w==\"",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea_kiTHkkGyRB2nztFSRQcA72QERTxLykaU1e_TybdcNQAAAgENAAAA72QERTxLykaU1e_TybdcNQAAABvMY3kAAAA=",
      "createdDateTime": "2022-12-09T07:08:07.7644246Z",
      "lastModifiedDateTime": "2022-12-09T07:08:08.0300829Z",
      "changeKey": "72QERTxLykaU1e+TybdcNQAAG8nV2w==",
      "categories": [],
      "transactionId": null,
      "originalStartTimeZone": "India Standard Time",
      "originalEndTimeZone": "India Standard Time",
      "iCalUId": "040000008200E00074C5B7101A82E008000000003CEC5EFD9C0BD9010000000000000000100000005885E42DB5DA6C4990A52975F77CAD8A",
      "reminderMinutesBeforeStart": 15,
      "isReminderOn": true,
      "hasAttachments": false,
      "subject": "event test",
      "bodyPreview": "",
      "importance": "normal",
      "sensitivity": "normal",
      "isAllDay": false,
      "isCancelled": false,
      "isOrganizer": true,
      "responseRequested": true,
      "seriesMasterId": null,
      "showAs": "busy",
      "type": "singleInstance",
      "webLink": "https://outlook.live.com/owa/?itemid=AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea%2BkiTHkkGyRB2nztFSRQcA72QERTxLykaU1e%2BTybdcrl=1&path=/calendar/item",
      "onlineMeetingUrl": null,
      "isOnlineMeeting": false,
      "onlineMeetingProvider": "unknown",
      "allowNewTimeProposals": true,
      "occurrenceId": null,
      "isDraft": false,
      "hideAttendees": false,
      "responseStatus": {
      "response": "organizer",
      "time": "0001-01-01T00:00:00Z"
      },
      "body": {
      "contentType": "html",
      "content": "\r\n\r\n<!--"
      },
      "start": {
      "dateTime": "2022-12-10T04:30:00.0000000",
      "timeZone": "UTC"
      },
      "end": {
      "dateTime": "2022-12-10T05:10:00.0000000",
      "timeZone": "UTC"
      },
      "location": {
      "displayName": "",
      "locationType": "default",
      "uniqueIdType": "unknown",
      "address": {},
      "coordinates": {}
      },
      "locations": [],
      "recurrence": null,
      "attendees": [
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": "tanmay.agrawal@kore.com ",
      "address": "tanmay.agrawal@kore.com "
      }
      },
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": " purushottam.kumar@kore.com",
      "address": " purushottam.kumar@kore.com"
      }
      }
      ],
      "organizer": {
      "emailAddress": {
      "name": "Purushottam Kumar",
      "address": "purushottamKumar1215@outlook.com"
      }
      },
      "onlineMeeting": null,
      "calendar@odata.associationLink": "https://graph.microsoft.com/v1.0/users('purushottamKumar1215@outlook.com')/calendars('AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAERTxLykaU1e_')/$ref",
      "calendar@odata.navigationLink": "https://graph.microsoft.com/v1.0/users"
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAACgSHcw==\"",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea_kiTHkkGyRB2nztAA=",
      "createdDateTime": "2022-11-10T06:01:05.8265067Z",
      "lastModifiedDateTime": "2022-11-10T06:01:06.3275042Z",
      "changeKey": "72QERTxLykaU1e+TybdcNQAACgSHcw==",
      "categories": [],
      "transactionId": null,
      "originalStartTimeZone": "India Standard Time",
      "originalEndTimeZone": "India Standard Time",
      "iCalUId": "040000008200E00074C5B7101A82E008000000003A2221D2C9F4D8010000000000000000100000003A24283C5796EB4AB4442F1ECBF05FF7",
      "reminderMinutesBeforeStart": 15,
      "isReminderOn": true,
      "hasAttachments": false,
      "subject": "My event 1",
      "bodyPreview": "",
      "importance": "normal",
      "sensitivity": "normal",
      "isAllDay": false,
      "isCancelled": false,
      "isOrganizer": true,
      "responseRequested": true,
      "seriesMasterId": null,
      "showAs": "busy",
      "type": "singleInstance",
      "webLink": "https://outlook.live.com/owa/?itemid=AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea%2BkiTybdcxvsurl=1&path=/calendar/item",
      "onlineMeetingUrl": null,
      "isOnlineMeeting": false,
      "onlineMeetingProvider": "unknown",
      "allowNewTimeProposals": true,
      "occurrenceId": null,
      "isDraft": false,
      "hideAttendees": false,
      "responseStatus": {
      "response": "organizer",
      "time": "0001-01-01T00:00:00Z"
      },
      "body": {
      "contentType": "html",
      "content": "\r\n"
      },
      "start": {
      "dateTime": "2022-11-09T18:42:00.0000000",
      "timeZone": "UTC"
      },
      "end": {
      "dateTime": "2022-11-09T19:25:00.0000000",
      "timeZone": "UTC"
      },
      "location": {
      "displayName": "",
      "locationType": "default",
      "uniqueIdType": "unknown",
      "address": {},
      "coordinates": {}
      },
      "locations": [],
      "recurrence": null,
      "attendees": [
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": "aa@gmail.com ",
      "address": "aa@gmail.com "
      }
      },
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": " bb@yahoo.com",
      "address": " bb@yahoo.com"
      }
      }
      ],
      "organizer": {
      "emailAddress": {
      "name": "Purushottam Kumar",
      "address": "purushottamKumar1215@outlook.com"
      }
      },
      "onlineMeeting": null,
      "calendar@odata.associationLink": "https://graph.microsoft.com/v1.0/users('_TybdcNQAAAgk9AAAA')/$ref",
      "calendar@odata.navigationLink": "https://graph.microsoft.com/v1.0/users('alan@abc.com')/calendars('AQMkADAwATNiZmYAZC01N2E2LTYERTxLykaU1e_TybQERTxLykaU1e_TybdcNQAAAgk9AAAA')"
      }
      ],
      "@odata.nextLink": "https://graph.microsoft.com/v1.0/me/events?%24top=10&%24skip=10"
      }
      }
    • listAllEventstMessage – A message node with the script to display responses for various events.
  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 view all events as shown below:
  6. You can now view events in the Microsoft Graph system.

List All To-Do (Tasks) Lists

Steps to view all to-do lists in the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The List All Todo Lists dialog task is added with the following components:

    • listAllToDolists – A user intent to view all to-do lists.
    • listAllToDoListService – A bot action service to get all the to do lists and send an an email from an external integration. Click the Plus icon to expand to view the listAllToDoListService bot action component properties.
    • In the Component Properties window, to add one or more responses, scroll down and click +Add Response:
      Sample Response:

      {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('purushottamkumar1215%40outlook.com')/todo/lists",
      "value": [
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSugA==\"",
      "displayName": "Tasks",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "defaultList",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAgESAAAA"
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSugg==\"",
      "displayName": "create List from bot",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAAe9TR8AAAA="
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSuhA==\"",
      "displayName": "myList1",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAAe9TSAAAAA="
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSuhg==\"",
      "displayName": "Postman created list",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAmBlAAAA"
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSuiA==\"",
      "displayName": "Postman created list3",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAAe9TR4AAAA="
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSuig==\"",
      "displayName": "Task11",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAmBkAAAA"
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAAAAh3w==\"",
      "displayName": "Flagged Emails",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "flaggedEmails",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAmBhAAAA"
      }
      ]
    • listAllTodoListsMessage – A message node with script to display responses for various to-do lists.
  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 view all to-do lists as shown below.
  6. You can now view all to-do lists in the Microsoft Graph system.

Create an Event

Steps to create an event in the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The Create an Event dialog task is added with the following components:

    • createEvent– A user intent to create an event.
    • eventSubject, startDate, startTime, endDate, endTime, and attendeesEmailAddresses – Entity nodes for gathering the required event details
    • getMailboxSettingsService – A bot action service to fetch information about the mailbox and user’s time zone from an external integration. Click the Plus icon to expand to view the getMailboxSettingsService bot action component properties.
    • entityFormatterScript – A script to format all email entities of event attendees.
    • createEventService – A bot action service to create an event in an external integration. Click the Plus icon to expand to view the createEventService bot action component properties.
    • In the Component Properties window, click Edit Request to modify the request parameters.

      Sample Request

      {
      "subject": "My event 1",
      "start": {
      "dateTime": "2022-11-09T11:45",
      "timeZone": "India Standard Time"
      },
      "end": {
      "dateTime": "2022-11-09T11:50",
      "timeZone": "India Standard Time"
      },
      "attendees": [
      {
      "emailAddress": {
      "address": "purushottam.kumar@gmail.com"
      }
      }
      ] }


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

      {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('purushottamKumar1215%40outlook.com')/events/$entity",
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAKxxx==\"",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea_kiTHkkGyRB2nztFSRQcA72QERTxLykaU1e_=",
      "createdDateTime": "2022-12-28T14:53:39.8527171Z",
      "lastModifiedDateTime": "2022-12-28T14:53:40.5291771Z",
      "changeKey": "72QERTxLykaU1e+Tybdcxxxxxxxx==",
      "categories": [],
      "transactionId": null,
      "originalStartTimeZone": "India Standard Time",
      "originalEndTimeZone": "India Standard Time",
      "iCalUId": "040000008200E00074C5B7101A82E008000000001D9B0A2CCC1AD901000000000000",
      "reminderMinutesBeforeStart": 15,
      "isReminderOn": true,
      "hasAttachments": false,
      "subject": "My event 1",
      "bodyPreview": "",
      "importance": "normal",
      "sensitivity": "normal",
      "isAllDay": false,
      "isCancelled": false,
      "isOrganizer": true,
      "responseRequested": true,
      "seriesMasterId": null,
      "showAs": "busy",
      "type": "singleInstance",
      "webLink": "https://outlook.live.com/owa/?itemid=AQMkADAwATNiZmYAZC01N2E2LTYyZDYtpath=/calendar/item",
      "onlineMeetingUrl": null,
      "isOnlineMeeting": false,
      "onlineMeetingProvider": "unknown",
      "allowNewTimeProposals": true,
      "occurrenceId": null,
      "isDraft": false,
      "hideAttendees": false,
      "responseStatus": {
      "response": "organizer",
      "time": "0001-01-01T00:00:00Z"
      },
      "body": {
      "contentType": "html",
      "content": "
      },
      "start": {
      "dateTime": "2022-11-09T11:45:00.0000000",
      "timeZone": "India Standard Time"
      },
      "end": {
      "dateTime": "2022-11-09T11:50:00.0000000",
      "timeZone": "India Standard Time"
      },
      "location": {
      "displayName": "",
      "locationType": "default",
      "uniqueIdType": "unknown",
      "address": {},
      "coordinates": {}
      },
      "locations": [],
      "recurrence": null,
      "attendees": [
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": "alanr@abc.com",
      "address": "alan@abc.com"
      }
      }
      ],
      "organizer": {
      "emailAddress": {
      "name": "Alan Smith",
      "address": "alan@outlook.com"
      }
      },
      "onlineMeeting": null
      }
    • createEventMessage – A message node with the script to display responses to create events.
  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 event as shown below.
  6. You can now view this event in the Microsoft Graph system.

Create a To-do (Tasks) List

Steps to create a to-do list in the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The create a todo list dialog task is added with the following components:

    • createTodolist – A user intent to create a task list.
    • listName – An entity node to gather the name of the todo list.
    • createTodolistService – A bot action service to create a todo list in an external integration. Click the Plus icon to expand to view the createTodoListService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below.

      Sample Request

      {
      "displayName": "Postman created list3"
      }

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

      {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('purushottamkumar1215%40outlook.com')/todo/lists/$entity",
      "@odata.etag": "W/\"72QERTxLykaU1e+Tybdcxsxxxxx==\"",
      "displayName": "Postman created list3 (1)",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_A="
      }

    • createTodolistMessage – A message node with the script to display responses to create to-do lists.
  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 a todo list as shown below.
  6. You can now view this todo list in the Microsoft Graph system.

Send an Email

Steps to send email from the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The Send email dialog task is added with the following components:

    • sendEmail -: A user intent to send an email.
    • mailSubject, mailContent, and receipentsEmailAddresses– Entity nodes for sending the email to users.
    • prepareEmailIdsScript – A bot action service to fetch email ID in an external integration.
    • sendEmailService – A bot action service to send email from an external integration. Click the Plus icon to expand to view the sendEmailService bot action component properties.
    • In the Component Properties window, click the Edit Request link to modify the request parameters as shown below:
      Sample Request

      {
      "message": {
      "subject": "Testing MS graph",
      "body": {
      "contentType": "Text",
      "content": "Integration is working fine"
      },
      "toRecipients": [
      {
      "emailAddress": {
      "address": "alan@abc.com"
      }
      },
      {
      "emailAddress": {
      "address": "john@abc.com"
      }
      }
      ] }
      }
    • sendMailMessage– A message node with the script to display responses to send emails.
  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 send an email, as shown below.

Using the Microsoft Graph Action Templates

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

Steps to create a dialog task using Microsoft Graph action templates:

  1. Go to Build > Conversation Skills > Dialog Tasks.
  2. Click Create a Dialog Task.
  3. On the Dialog Task pop-up, under the Integration, select the Microsoft Graph option to view the action templates.
  4. 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.

Microsoft Graph Actions

The following Microsoft Graph actions are supported:

Supported Tasks Description Method
List all events Retrieves all events from the Microsoft Graph system. GET
List all to-do lists Retrieves all to-do list items from the Microsoft Graph system. GET
Create a to-do list Create a to-do list in the Microsoft Graph system. POST
Create an event Creates an event in the Microsoft Graph system. POST
Send an Email Sends an email to the user from the Microsoft Graph system. POST

List All Events

Steps to view all events in the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The List All Events dialog task is added with the following components:

    • listallEvents – A user intent to view all events.
    • listAllEventsService – A bot action service to view all events in an external integration. Click the Plus icon to expand to view the listAllEventsService bot action component properties.
    • In the Component Properties window, To add one or more responses, scroll down and click +Add Response.

      Sample Response
      {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('purushottamKumar1215%40outlook.com')/events",
      "value": [
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAG8nV2w==\"",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea_kiTHkkGyRB2nztFSRQcA72QERTxLykaU1e_TybdcNQAAAgENAAAA72QERTxLykaU1e_TybdcNQAAABvMY3kAAAA=",
      "createdDateTime": "2022-12-09T07:08:07.7644246Z",
      "lastModifiedDateTime": "2022-12-09T07:08:08.0300829Z",
      "changeKey": "72QERTxLykaU1e+TybdcNQAAG8nV2w==",
      "categories": [],
      "transactionId": null,
      "originalStartTimeZone": "India Standard Time",
      "originalEndTimeZone": "India Standard Time",
      "iCalUId": "040000008200E00074C5B7101A82E008000000003CEC5EFD9C0BD9010000000000000000100000005885E42DB5DA6C4990A52975F77CAD8A",
      "reminderMinutesBeforeStart": 15,
      "isReminderOn": true,
      "hasAttachments": false,
      "subject": "event test",
      "bodyPreview": "",
      "importance": "normal",
      "sensitivity": "normal",
      "isAllDay": false,
      "isCancelled": false,
      "isOrganizer": true,
      "responseRequested": true,
      "seriesMasterId": null,
      "showAs": "busy",
      "type": "singleInstance",
      "webLink": "https://outlook.live.com/owa/?itemid=AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea%2BkiTHkkGyRB2nztFSRQcA72QERTxLykaU1e%2BTybdcrl=1&path=/calendar/item",
      "onlineMeetingUrl": null,
      "isOnlineMeeting": false,
      "onlineMeetingProvider": "unknown",
      "allowNewTimeProposals": true,
      "occurrenceId": null,
      "isDraft": false,
      "hideAttendees": false,
      "responseStatus": {
      "response": "organizer",
      "time": "0001-01-01T00:00:00Z"
      },
      "body": {
      "contentType": "html",
      "content": "\r\n\r\n<!--"
      },
      "start": {
      "dateTime": "2022-12-10T04:30:00.0000000",
      "timeZone": "UTC"
      },
      "end": {
      "dateTime": "2022-12-10T05:10:00.0000000",
      "timeZone": "UTC"
      },
      "location": {
      "displayName": "",
      "locationType": "default",
      "uniqueIdType": "unknown",
      "address": {},
      "coordinates": {}
      },
      "locations": [],
      "recurrence": null,
      "attendees": [
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": "tanmay.agrawal@kore.com ",
      "address": "tanmay.agrawal@kore.com "
      }
      },
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": " purushottam.kumar@kore.com",
      "address": " purushottam.kumar@kore.com"
      }
      }
      ],
      "organizer": {
      "emailAddress": {
      "name": "Purushottam Kumar",
      "address": "purushottamKumar1215@outlook.com"
      }
      },
      "onlineMeeting": null,
      "calendar@odata.associationLink": "https://graph.microsoft.com/v1.0/users('purushottamKumar1215@outlook.com')/calendars('AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAERTxLykaU1e_')/$ref",
      "calendar@odata.navigationLink": "https://graph.microsoft.com/v1.0/users"
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAACgSHcw==\"",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea_kiTHkkGyRB2nztAA=",
      "createdDateTime": "2022-11-10T06:01:05.8265067Z",
      "lastModifiedDateTime": "2022-11-10T06:01:06.3275042Z",
      "changeKey": "72QERTxLykaU1e+TybdcNQAACgSHcw==",
      "categories": [],
      "transactionId": null,
      "originalStartTimeZone": "India Standard Time",
      "originalEndTimeZone": "India Standard Time",
      "iCalUId": "040000008200E00074C5B7101A82E008000000003A2221D2C9F4D8010000000000000000100000003A24283C5796EB4AB4442F1ECBF05FF7",
      "reminderMinutesBeforeStart": 15,
      "isReminderOn": true,
      "hasAttachments": false,
      "subject": "My event 1",
      "bodyPreview": "",
      "importance": "normal",
      "sensitivity": "normal",
      "isAllDay": false,
      "isCancelled": false,
      "isOrganizer": true,
      "responseRequested": true,
      "seriesMasterId": null,
      "showAs": "busy",
      "type": "singleInstance",
      "webLink": "https://outlook.live.com/owa/?itemid=AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea%2BkiTybdcxvsurl=1&path=/calendar/item",
      "onlineMeetingUrl": null,
      "isOnlineMeeting": false,
      "onlineMeetingProvider": "unknown",
      "allowNewTimeProposals": true,
      "occurrenceId": null,
      "isDraft": false,
      "hideAttendees": false,
      "responseStatus": {
      "response": "organizer",
      "time": "0001-01-01T00:00:00Z"
      },
      "body": {
      "contentType": "html",
      "content": "\r\n"
      },
      "start": {
      "dateTime": "2022-11-09T18:42:00.0000000",
      "timeZone": "UTC"
      },
      "end": {
      "dateTime": "2022-11-09T19:25:00.0000000",
      "timeZone": "UTC"
      },
      "location": {
      "displayName": "",
      "locationType": "default",
      "uniqueIdType": "unknown",
      "address": {},
      "coordinates": {}
      },
      "locations": [],
      "recurrence": null,
      "attendees": [
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": "aa@gmail.com ",
      "address": "aa@gmail.com "
      }
      },
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": " bb@yahoo.com",
      "address": " bb@yahoo.com"
      }
      }
      ],
      "organizer": {
      "emailAddress": {
      "name": "Purushottam Kumar",
      "address": "purushottamKumar1215@outlook.com"
      }
      },
      "onlineMeeting": null,
      "calendar@odata.associationLink": "https://graph.microsoft.com/v1.0/users('_TybdcNQAAAgk9AAAA')/$ref",
      "calendar@odata.navigationLink": "https://graph.microsoft.com/v1.0/users('alan@abc.com')/calendars('AQMkADAwATNiZmYAZC01N2E2LTYERTxLykaU1e_TybQERTxLykaU1e_TybdcNQAAAgk9AAAA')"
      }
      ],
      "@odata.nextLink": "https://graph.microsoft.com/v1.0/me/events?%24top=10&%24skip=10"
      }
      }
    • listAllEventstMessage – A message node with the script to display responses for various events.
  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 view all events as shown below:
  6. You can now view events in the Microsoft Graph system.

List All To-Do (Tasks) Lists

Steps to view all to-do lists in the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The List All Todo Lists dialog task is added with the following components:

    • listAllToDolists – A user intent to view all to-do lists.
    • listAllToDoListService – A bot action service to get all the to do lists and send an an email from an external integration. Click the Plus icon to expand to view the listAllToDoListService bot action component properties.
    • In the Component Properties window, to add one or more responses, scroll down and click +Add Response:
      Sample Response:

      {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('purushottamkumar1215%40outlook.com')/todo/lists",
      "value": [
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSugA==\"",
      "displayName": "Tasks",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "defaultList",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAgESAAAA"
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSugg==\"",
      "displayName": "create List from bot",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAAe9TR8AAAA="
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSuhA==\"",
      "displayName": "myList1",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAAe9TSAAAAA="
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSuhg==\"",
      "displayName": "Postman created list",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAmBlAAAA"
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSuiA==\"",
      "displayName": "Postman created list3",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAAe9TR4AAAA="
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAHgSuig==\"",
      "displayName": "Task11",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAmBkAAAA"
      },
      {
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAAAAh3w==\"",
      "displayName": "Flagged Emails",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "flaggedEmails",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_TybdcNQAAAmBhAAAA"
      }
      ]
    • listAllTodoListsMessage – A message node with script to display responses for various to-do lists.
  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 view all to-do lists as shown below.
  6. You can now view all to-do lists in the Microsoft Graph system.

Create an Event

Steps to create an event in the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The Create an Event dialog task is added with the following components:

    • createEvent– A user intent to create an event.
    • eventSubject, startDate, startTime, endDate, endTime, and attendeesEmailAddresses – Entity nodes for gathering the required event details
    • getMailboxSettingsService – A bot action service to fetch information about the mailbox and user’s time zone from an external integration. Click the Plus icon to expand to view the getMailboxSettingsService bot action component properties.
    • entityFormatterScript – A script to format all email entities of event attendees.
    • createEventService – A bot action service to create an event in an external integration. Click the Plus icon to expand to view the createEventService bot action component properties.
    • In the Component Properties window, click Edit Request to modify the request parameters.

      Sample Request

      {
      "subject": "My event 1",
      "start": {
      "dateTime": "2022-11-09T11:45",
      "timeZone": "India Standard Time"
      },
      "end": {
      "dateTime": "2022-11-09T11:50",
      "timeZone": "India Standard Time"
      },
      "attendees": [
      {
      "emailAddress": {
      "address": "purushottam.kumar@gmail.com"
      }
      }
      ] }


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

      {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('purushottamKumar1215%40outlook.com')/events/$entity",
      "@odata.etag": "W/\"72QERTxLykaU1e+TybdcNQAAKxxx==\"",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgBGAAADiea_kiTHkkGyRB2nztFSRQcA72QERTxLykaU1e_=",
      "createdDateTime": "2022-12-28T14:53:39.8527171Z",
      "lastModifiedDateTime": "2022-12-28T14:53:40.5291771Z",
      "changeKey": "72QERTxLykaU1e+Tybdcxxxxxxxx==",
      "categories": [],
      "transactionId": null,
      "originalStartTimeZone": "India Standard Time",
      "originalEndTimeZone": "India Standard Time",
      "iCalUId": "040000008200E00074C5B7101A82E008000000001D9B0A2CCC1AD901000000000000",
      "reminderMinutesBeforeStart": 15,
      "isReminderOn": true,
      "hasAttachments": false,
      "subject": "My event 1",
      "bodyPreview": "",
      "importance": "normal",
      "sensitivity": "normal",
      "isAllDay": false,
      "isCancelled": false,
      "isOrganizer": true,
      "responseRequested": true,
      "seriesMasterId": null,
      "showAs": "busy",
      "type": "singleInstance",
      "webLink": "https://outlook.live.com/owa/?itemid=AQMkADAwATNiZmYAZC01N2E2LTYyZDYtpath=/calendar/item",
      "onlineMeetingUrl": null,
      "isOnlineMeeting": false,
      "onlineMeetingProvider": "unknown",
      "allowNewTimeProposals": true,
      "occurrenceId": null,
      "isDraft": false,
      "hideAttendees": false,
      "responseStatus": {
      "response": "organizer",
      "time": "0001-01-01T00:00:00Z"
      },
      "body": {
      "contentType": "html",
      "content": "
      },
      "start": {
      "dateTime": "2022-11-09T11:45:00.0000000",
      "timeZone": "India Standard Time"
      },
      "end": {
      "dateTime": "2022-11-09T11:50:00.0000000",
      "timeZone": "India Standard Time"
      },
      "location": {
      "displayName": "",
      "locationType": "default",
      "uniqueIdType": "unknown",
      "address": {},
      "coordinates": {}
      },
      "locations": [],
      "recurrence": null,
      "attendees": [
      {
      "type": "required",
      "status": {
      "response": "none",
      "time": "0001-01-01T00:00:00Z"
      },
      "emailAddress": {
      "name": "alanr@abc.com",
      "address": "alan@abc.com"
      }
      }
      ],
      "organizer": {
      "emailAddress": {
      "name": "Alan Smith",
      "address": "alan@outlook.com"
      }
      },
      "onlineMeeting": null
      }
    • createEventMessage – A message node with the script to display responses to create events.
  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 event as shown below.
  6. You can now view this event in the Microsoft Graph system.

Create a To-do (Tasks) List

Steps to create a to-do list in the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The create a todo list dialog task is added with the following components:

    • createTodolist – A user intent to create a task list.
    • listName – An entity node to gather the name of the todo list.
    • createTodolistService – A bot action service to create a todo list in an external integration. Click the Plus icon to expand to view the createTodoListService bot action component properties.
    • In the Component Properties window, click the Edit Request link to edit the request parameters as shown below.

      Sample Request

      {
      "displayName": "Postman created list3"
      }

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

      {
      "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('purushottamkumar1215%40outlook.com')/todo/lists/$entity",
      "@odata.etag": "W/\"72QERTxLykaU1e+Tybdcxsxxxxx==\"",
      "displayName": "Postman created list3 (1)",
      "isOwner": true,
      "isShared": false,
      "wellknownListName": "none",
      "id": "AQMkADAwATNiZmYAZC01N2E2LTYyZDYtMDACLTAwCgAuAAADiea_kiTHkkGyRB2nztFSRQEA72QERTxLykaU1e_A="
      }

    • createTodolistMessage – A message node with the script to display responses to create to-do lists.
  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 a todo list as shown below.
  6. You can now view this todo list in the Microsoft Graph system.

Send an Email

Steps to send email from the Microsoft Graph integration:

  1. Refer to the Installing the Microsoft Graph templates section to install this template.
  2. The Send email dialog task is added with the following components:

    • sendEmail -: A user intent to send an email.
    • mailSubject, mailContent, and receipentsEmailAddresses– Entity nodes for sending the email to users.
    • prepareEmailIdsScript – A bot action service to fetch email ID in an external integration.
    • sendEmailService – A bot action service to send email from an external integration. Click the Plus icon to expand to view the sendEmailService bot action component properties.
    • In the Component Properties window, click the Edit Request link to modify the request parameters as shown below:
      Sample Request

      {
      "message": {
      "subject": "Testing MS graph",
      "body": {
      "contentType": "Text",
      "content": "Integration is working fine"
      },
      "toRecipients": [
      {
      "emailAddress": {
      "address": "alan@abc.com"
      }
      },
      {
      "emailAddress": {
      "address": "john@abc.com"
      }
      }
      ] }
      }
    • sendMailMessage– A message node with the script to display responses to send emails.
  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 send an email, as shown below.
메뉴