GETTING STARTED
Kore.ai XO Platform
Virtual Assistants Overview
Natural Language Processing (NLP)
Concepts and Terminology
Quick Start Guide
Accessing the Platform
Navigating the Kore.ai XO Platform
Building a Virtual Assistant
Help & Learning Resources
Release Notes
Current Major Version
Recent Updates
Previous Versions
Deprecations
Request a Feature
CONCEPTS
Design
Storyboard
Overview
FAQs
Conversation Designer
Overview
Dialog Tasks
Mock Scenes
Dialog Tasks
Overview
Navigate Dialog Tasks
Build Dialog Tasks
Node Types
Overview
Intent Node
Dialog Node
Entity Node
Form Node
Confirmation Node
Message Nodes
Logic Node
Bot Action Node
Service Node
Webhook Node
Script Node
Process Node
Agent Transfer
Node Connections
Node Connections Setup
Sub-Intent Scoping
Entity Types
Entity Rules
User Prompts or Messages
Voice Call Properties
Knowledge AI
Introduction
Knowledge Graph
Introduction
Build a Knowledge Graph
Manage FAQs
Knowledge Extraction
Import or Export Knowledge Graph
Prepare Data for Import
Importing Knowledge Graph
Exporting Knowledge Graph
Auto-Generate Knowledge Graph
Knowledge Graph Analysis
Answer from Documents
Alert Tasks
Small Talk
Digital Skills
Overview
Digital Forms
Digital Views
Introduction
Widgets
Panels
Session and Context Variables
Context Object
Intent Discovery
Train
NLP Optimization
ML Engine
Overview
Model Validation
FM Engine
KG Engine
Traits Engine
Ranking and Resolver
Training Validations
NLP Configurations
NLP Guidelines
LLM and Generative AI
Intelligence
Introduction
Event Handlers
Contextual Memory
Contextual Intents
Interruption Management
Multi-intent Detection
Amending Entities
Default Conversations
Conversation Driven Dialog Builder
Sentinment Management
Tone Analysis
Default Standard Responses
Ignore Words & Field Memory
Test & Debug
Overview
Talk to Bot
Utterance Testing
Batch Testing
Conversation Testing
Conversation Testing Overview
Create a Test Suite
Test Editor
Test Case Assertion
Test Case Execution Summary
Glossary
Health and Monitoring
NLP Health
Flow Health
Integrations
Actions
Actions Overview
Azure OpenAI
Overview
Templates
BambooHR
Overview
Templates
Freshdesk
Overview
Templates
Freshservice
Overview
Templates
HubSpot
Overview
Templates
JIRA
Overview
Templates
Microsoft Graph
Overview
Templates
Open AI
Overview
Templates
Salesforce
Overview
Templates
ServiceNow
Overview
Templates
Stripe
Overview
Templates
Twilio
Overview
Templates
Agents
Agent Transfer Overview
Custom (BotKit)
Drift
Genesys
Intercom
NiceInContact
Salesforce
ServiceNow
Unblu
External NLU Adapters
Overview
Dialogflow Engine
Test and Debug
Deploy
Channels
Publishing
Versioning
Analyze
Introduction
Dashboard Filters
Overview Dashboard
Conversations Dashboard
Users Dashboard
Performance Dashboard
Custom Dashboards
Introduction
Custom Meta Tags
Create Custom Dashboard
Create Custom Dashboard Filters
NLP Insights
Conversations History
Conversation Flows
Conversation Insights
Feedback Analytics
Usage Metrics
Containment Metrics
Universal Bots
Introduction
Universal Bot Definition
Universal Bot Creation
Training a Universal Bot
Universal Bot Customizations
Enabling Languages
Store
Manage Assistant
Plan & Usage
Overview
Usage Plans
Support Plans
Invoices
Authorization
Multilingual Virtual Assistants
Get Started
Supported Components & Features
Manage Languages
Manage Translation Services
Multiingual Virtual Assistant Behavior
Feedback Survey
Masking PII Details
Variables
Collections
IVR Settings
General Settings
Assistant Management
Manage Namespace
Data
Overview
Data Table
Table Views
App Definitions
Data as Service
HOW TOs
Build a Travel Planning Assistant
Travel Assistant Overview
Create a Travel Virtual Assistant
Design Conversation Skills
Create an ‘Update Booking’ Task
Create a Change Flight Task
Build a Knowledge Graph
Schedule a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Train the Assistant
Use Traits
Use Patterns
Manage Context Switching
Deploy the Assistant
Use Bot Functions
Use Content Variables
Use Global Variables
Use Web SDK
Build a Banking Assistant
Design Conversation Skills
Create a Sample Banking Assistant
Create a Transfer Funds Task
Create a Update Balance Task
Create a Knowledge Graph
Set Up a Smart Alert
Design Digital Skills
Configure Digital Forms
Configure Digital Views
Add Data to Data Tables
Update Data in Data Tables
Add Data from Digital Forms
Train the Assistant
Composite Entities
Use Traits
Use Patterns for Intents & Entities
Manage Context Switching
Deploy the Assistant
Configure an Agent Transfer
Use Assistant Functions
Use Content Variables
Use Global Variables
Intent Scoping using Group Node
Analyze the Assistant
Create a Custom Dashboard
Use Custom Meta Tags in Filters
Migrate External Bots
Google Dialogflow Bot
APIs & SDKs
API Reference
API Introduction
API List
API Collection
koreUtil Libraries
SDK Reference
SDK Introduction
SDK Security
SDK Registration
Web Socket Connect and RTM
Installing the BotKit SDK
Using the BotKit SDK
SDK Events
Tutorials
BotKit - Blue Prism
BotKit - Flight Search Sample VA
BotKit - Agent Transfer
Widget SDK Tutorial
Web SDK Tutorial
ADMINISTRATION
Introduction to Admin Console
Administration Dashboard
User Management
Add Users
Manage Groups
Manage Roles
Data Tables and Views
Assistant Management
Enrollment
Invite Users
Send Bulk Invites
Import User Data
Synchronize Users from AD
Security & Control
Using Single-Sign On (SSO)
Two-Factor Authentication (2FA)
Security Settings
Cloud Connector
Analytics
Billing
  1. Home
  2. Docs
  3. Virtual Assistants
  4. Builder
  5. Alert Task
  6. Alert Task – Advanced Settings

Alert Task – Advanced Settings

In the Advanced Settings section, you can define alert task settings for enabling and limiting the initial set of alert messages displayed to the end-user when the task is set up, define alert message reminders, and if required, prevent duplicate messages sent to the user. Learn more about Alert Tasks.

Advanced Settings Overview

In the Advanced Settings section, you can define the initial polling results for a task, define an alert reminder, and specify keys the XO Platform should use to prevent duplicate alert messages, for example, in a Twitter or Facebook feed.

To define advanced settings for a task, on the Settings tab, click the Expand icon in the Advanced Settings section as shown in the following illustration.


Initial Polling Setup

Initial polling is an option you can define to enable display of events to end-users immediately after they set up the task. For example, for a Travel News VA , you can enable initial polling to show the last 10 news posts immediately after the end-user adds the task to their application. If initial polling is not defined, the task polling begins after the specified Trigger Interval has elapsed.

To enable and configure initial polling, in the Perform Initial Poll section, select Yes. In the No of posts field, enter the number of previous posts that should be posted immediately in the end-user application, as shown in the following illustration.


Setting Up Alert Reminders

For some tasks, for example, a Booking Updates task, you may want to add a reminder to the task. The reminder sends a message to the end-user after receipt of the original task message. For example, the end-user may want to set up a 30-minute and 15-minute reminder before an event with the task message.

To enable and configure reminders, in the Enable Alert Reminder section, click Yes. The reminder configuration section is displayed as shown in the following demonstration..

To configure an alert reminder:

    1. In the Enable Alert Reminder section, click Yes to display the alert reminder settings.
    2. In the Reminder Frequency section, click in the text box to display and select one or more intervals for the frequency of the reminder ranging from 5 mins to 7 days.
    3. In the Reminder Message text area, enter the message to display to the end-user for the event reminder. For example: print('Event starts in '+__frequency__); 
    4. In the Identity Event Modification section, enter one or more keys in a comma-separated list used to identify new events. For example, id, LastModifiedDateTime, subject.
    5. In the Event Start Time section, enter the message to display to the end-user for the start date and time of the event using the alert task payload field that contains the event start time. For example, 

      if (due_at) {
            print(due_at);
        } else if (due_on) {
            var dt = new Date(created_at);
            var dtt = new Date(due_on);
            dt.setYear(dtt.getFullYear());
            dt.setMonth(dtt.getMonth());
            dt.setDate(dtt.getDate());
            dt.setHours(00);
            dt.setMinutes(00);
            dt.setSeconds(00)
            print(dt.toISOString());
        }

      1. RRule – A JavaScript library for working with recurrence rules for calendar dates. Use tIn the Format to Identify Recurrence section, select the type of recurrence pattern format used in the payload as one of RRule or Cron.
      2. his for iCalendar events. For more information, see Recurrence Rule.
      3. Cron – Used for scheduling tasks in the future. For more information, see Cron Expressions.
    6. In the Recurrence Pattern section, define the string displayed to the end-user to show the frequency of a repeating event, such as a recurring weekly meeting. For example:

      if (typeof(Recurrence) !== 'undefined' && Recurrence) {
          var map = new Object();
          map['Daily'] = "DAILY";
          map['Weekly'] = "WEEKLY";
          map['AbsoluteMonthly'] = "MONTHLY";
          map['RelativeMonthly'] = "MONTHLY";
          map['AbsoluteYearly'] = "YEARLY";
          map['AbsoluteYearly'] = "YEARLY";
          map['First'] = 1
          map['Second'] = 2
          map['Third'] = 3
          map['Fourth'] = 4
          map['Last'] = -1
          map['Sunday'] = 'SU'
          map['Monday'] = 'MO'
          map['Tuesday'] = 'TU'
          map['Wednesday'] = 'WE'
          map['Thursday'] = 'TH'
          map['Friday'] = 'FR'
          map['Saturday'] = 'SA'
          var rrule = '';
          if (typeof(Recurrence.Pattern.Type) !== 'undefined') {
              var freq = map[Recurrence.Pattern.Type];
              rrule = rrule + 'FREQ=' + freq + ';';
          }
          if (typeof(Recurrence.Range.StartDate) !== 'undefined') {
              var stDate = new Date(Recurrence.Range.StartDate).toISOString();
              rrule = rrule + 'DTSTART=' + stDate + ';';
          }
          if (typeof(Recurrence.Pattern.Interval) !== 'undefined') {
              var interval = Recurrence.Pattern.Interval
              rrule = rrule + 'INTERVAL=' + interval + ';';
          }
          if (typeof(Recurrence.Range.EndDate) !== 'undefined' && Recurrence.Range.Type !== 'NoEnd') {
              var edDate = new Date(Recurrence.Range.EndDate).toISOString();
              rrule = rrule + 'UNTIL=' + edDate + ';';
          }
          if (typeof(Recurrence.Pattern.Month) !== 'undefined' && Recurrence.Pattern.Month !== 0) {
              rrule = rrule + 'BYMONTH=' + Recurrence.Pattern.Month + ';';
          }
          if (typeof(Recurrence.Pattern.DayOfMonth) !== 'undefined' && Recurrence.Pattern.DayOfMonth !== 0) {
              rrule = rrule + 'BYMONTHDAY=' + Recurrence.Pattern.DayOfMonth + ';';
          }
          if (typeof(Recurrence.Pattern.Index) !== 'undefined') {
              var wno = map[Recurrence.Pattern.Index];
              rrule = rrule + 'BYSETPOS=' + wno + ';';
          }
          if (typeof(Recurrence.Pattern.DaysOfWeek) !== 'undefined') {
              var arr = [];
              for (var i = 0; i < Recurrence.Pattern.DaysOfWeek.length; i++) {
                  arr.push(map[Recurrence.Pattern.DaysOfWeek[i]])
              }
              rrule = rrule + 'BYDAY=' + arr.join(',') + ';';
          }
          print(rrule);
      }

      If the Format to Identify Recurrence field is set to Cron, then define the Event End section to define the string displayed to the end-user to show the date and time of the last recurring event.

    Click Save to save the settings.

    Preventing Duplicate Message Alerts

    After you add your filters for the response object, you should determine if you need to apply a strategy to prevent the display of duplicate messages to the end-user. For example, if you set up an RSS task, you may want to prevent duplicate messages for the same subject, or for Facebook, prevent duplicate messages each time a comment is added to a post.

    In the XO Platform , you can choose one of two options for Deduplicate Strategy:

    • None – This is the default method to prevent duplicate alert messages. Each incoming task payload is hashed and the latest 500 task hash values are persisted. Each new task payload is compared against the list to prevent duplicate task alert messages. This option works for most tasks.
    • ExcludeByCachedIds – Select to enter one or more response identifier keys in a comma-separated list used to filter Kore.ai task alert messages and prevent duplication based on the cached hash value of the key for up to 500 hash values. If any of the key hash values match the response object, then the alert message is filtered and not displayed. For RSS Alert Types, RSS XML payloads are parsed as JSON. To filter by RSS item, enter $..guid[0]._ to prevent duplicate messages using the XML < GUID > tag parsed to JSON as:{
          "guid": [
              "_": "some link"
          ]
      }

    To define settings to prevent duplication messages for a task, on the Settings tab, click the Expand icon in the Advanced Settings section to display the Deduplicate Strategy section.

Menu