# US 2021/0083993 A1 · Systems and methods facilitating bot communications

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0083993 A1
- Document ID: US20210083993A1
- Status: Published application
- Kind: A1
- Application number: 16/569,519
- Filed: 2019-09-12
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: Genesys Telecommunications Laboratories, Inc.
- Applicants: Genesys Telecommunications Laboratories, Inc.
- Inventors: Christopher Highman; Andrew Kauffman; Chuck Kirkpatrick; Kevin Wiegand; Guysung Kim
- Web page: https://patentgrep.com/patent/US20210083993A1

## CPC

- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06Q 30/0641: {utilising user interfaces specially adapted for shopping}
- H04L 51/046: Interoperability with other network applications or services
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L 51/52: for supporting social networking services
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A method for delivering messages from customers to bots that includes providing a bot gateway and, pursuant to a process, formatting and sending the messages. The bot gateway includes bot schemas that each defines a data field arrangement for sending requests to a particular bot. The process includes receiving a first message and determining therefrom a first customer, a first tenant, a first bot, and a text message from the first customer to the first bot. The process includes: providing a bot configuration data set; selecting a first bot schema pertaining to the first bot; creating a formatted request via mapping the text message and the data values defined in the bot configuration data set to corresponding data fields defined within the data field arrangement; and sending the formatted request to the first bot.

## Claims

### Claim 1

A processor-implemented method that facilitates delivery of messages from customers to bots, wherein tenants use a software program over a network to manage interactions with respective ones of the customers, and wherein the bots are created by respective bot providers, the method including the steps of:
receiving a plurality of bot schemas from respective ones of the bot providers, each of the plurality of bot schemas comprising a bot schema corresponding to a particular one of the bots;
providing a bot gateway, wherein:
the bot gateway includes a bot configuration library, the bot configuration library storing bot configuration data sets, each of which comprises data values related to respective usage cases pairing a particular one of the bots with a particular one of the tenants;
the bot gateway includes a bot schema library in which is stored the plurality of bot schemas; and
each of the plurality of bot schemas defines a data field arrangement in accordance with a unique template for sending requests to a particular one of the bots; and
pursuant to a process, using the bot gateway to format the messages for delivering to the bots, the process comprising the steps of:
receiving a first one of the messages (hereinafter “first message”)
analyzing the first message to determine therefrom:
a pertinent one of the customers (hereinafter designated as a “first customer”);
a pertinent one of the tenants (hereinafter designated as a “first tenant”);
a pertinent one of the bots (hereinafter designated as a “first bot”); and
a text message from the first customer that is intended for delivery to the first bot;
providing a bot configuration data set, the bot configuration data set comprising data values related to a usage case pairing the first tenant with the first bot, wherein the step of providing the bot configuration data set comprises:
selecting at least a portion of the bot configuration data set from the bot configuration library based on a pertinence of the bot configuration data set to the usage case that pairs the first tenant with the first bot; and
receiving at least a portion the bot configuration data set as part of the first message;
selecting from the bot schema library a first one of the plurality of bot schemas (hereinafter “first bot schema”) that pertains to the first bot;
creating a formatted request via mapping the text message and the data values defined in the bot configuration data set to corresponding data fields defined within the data field arrangement of the first bot schema; and
sending the formatted request to the first bot.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the software program is provided to the tenants according to a multitenancy arrangement, and wherein the software program relates to customer relation management via managing an operational aspect of a contact center;
wherein the software program comprises a feature that includes a user interface that facilitates the first customer inputting the text message of the first message;
wherein the first bot comprises a chat bot.

### Claim 3

(canceled)

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The method according to claim 1, wherein the bot gateway comprises a serverless architecture in which one or more cloud components are maintained and executed within a cloud platform.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the one or more cloud components include a first cloud component, the first cloud component comprising one or more cloud computing functions for stateless execution of logic associated with the process.

### Claim 7 (depends on 6)

The method according to claim 6, wherein the bot gateway includes a second cloud component that comprises one or more cloud databases;
wherein the one or more cloud databases are configured to persistently store the bot schema library; and
wherein the first bot comprises a chatbot.

### Claim 8 (depends on 7)

The method according to claim 7, wherein the bot gateway includes a bot configuration library, the bot configuration library storing bot configuration data sets, each of which comprises data values related to respective usage cases pairing a particular one of the bots with a particular one of the tenants;
wherein the step of providing the bot configuration data set comprises selecting the bot configuration data set from the bot configuration library based on a pertinence of the bot configuration data set to the usage case that pairs the first tenant with the first bot; and
wherein the one or more cloud databases are configured to persistently store the bot configuration library.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the bot gateway includes a third cloud component that comprises one or more cloud caches;
Attorney Docket No. P18027-US-00 wherein the one or more cloud caches are configured to temporarily store session state data for use when performing the steps of the process; and
wherein the software program is provided to the tenants according to a multitenancy arrangement, and wherein the software program is configured to manage an operational aspect of a contact center.

### Claim 10 (depends on 8)

The method according to claim 8, wherein the step of receiving the first message includes monitoring an event bus data stream for detecting the first message therein.

### Claim 11 (depends on 8)

The method according to claim 8, wherein the data values stored within the bot configuration data set comprise data values for authenticating the first customer's use of the first bot based on a relationship between the first customer and the first tenant.

### Claim 12 (depends on 8)

The method according to claim 8, wherein the formatted request comprises two sections: an endpoint section; and a body section;
wherein the first bot schema includes a template for formatting an endpoint statement for use within the endpoint section of the first message, the endpoint statement providing a destination for directing the formatted request to the first bot; and
wherein the data values stored within the bot configuration data set comprises data values for completing the endpoint statement.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the text message is mapped to a corresponding data field defined within the body section.

### Claim 14 (depends on 12)

The method according to claim 12, wherein, when received by the bot gateway, the first message comprises an unknown endpoint section and an unknown body section.

### Claim 15

A system that facilitates delivery of messages from customers to bots, wherein tenants use a software program over a network to manage interactions with respective ones of the customers, and wherein the bots are created by respective bot providers, the system comprising:
a hardware processor; and
a bot gateway, wherein:
the bot gateway comprises a bot configuration library, the bot configuration library storing bot configuration data sets, each of which comprises data values related to respective usage cases pairing a particular one of the bots with a particular one of the tenants;
the bot gateway includes a bot schema library in which is stored a plurality of bot schemas; and
each of the plurality of bot schemas defines a data field arrangement in accordance with a unique template for sending requests to a particular one of the bots;
a machine-readable storage medium on which is stored instructions that cause the hardware processor to execute a process for using the bot gateway to format the messages for delivering to the bots, wherein the process comprises the steps of:
receiving the plurality of bot schemas from respective ones of the bot providers, each of the plurality of bot schemas comprising a bot schema corresponding to a particular one of the bots;
receiving a first one of the messages (hereinafter “first message”)
analyzing the first message to determine therefrom:
a pertinent one of the customers (hereinafter designated as a “first customer”);
a pertinent one of the tenants (hereinafter designated as a “first tenant”);
a pertinent one of the bots (hereinafter designated as a “first bot”); and
a text message from the first customer that is intended for delivery to the first bot;
providing a bot configuration data set, the bot configuration data set comprising data values related to a usage case pairing the first tenant with the first bot, wherein the step of providing the bot configuration data set comprises:
selecting at least a portion of the bot configuration data set from the bot configuration library based on a pertinence of the bot configuration data set to the usage case that pairs the first tenant with the first bot; and
receiving at least a portion the bot configuration data set as part of the first message;
selecting from the bot schema library a first one of the plurality of bot schemas (hereinafter “first bot schema”) that pertains to the first bot;
creating a formatted request via mapping the text message and the data values defined in the bot configuration data set to corresponding data fields defined within the data field arrangement of the first bot schema; and
sending the formatted request to the first bot.

### Claim 16 (depends on 15)

The system according to claim 15, wherein the first bot comprises a chat bot; and
wherein the software program is provided to the tenants according to a multitenancy arrangement, and wherein the software program is configured to manage an operational aspect of a contact center.

### Claim 17

(canceled)

### Claim 18 (depends on 17)

The system according to claim 17, wherein the bot gateway comprises a serverless architecture in which one or more cloud components are maintained and executed within a cloud platform; and
wherein the one or more cloud components include:
one or more cloud computing functions for stateless execution of logic associated with the process; and
one or more cloud databases, the one or more cloud databases being configured to persistently store the bot schema library and the bot configuration library.

### Claim 19 (depends on 18)

The system according to claim 18, wherein the one or more cloud components comprise one or more cloud caches, the one or more cloud caches being configured to temporarily store session state data for use when performing the steps of the process.

### Claim 20 (depends on 18)

The system according to claim 18, wherein the step of receiving the first message includes monitoring an event bus data stream for detecting the first message therein; and
wherein the data values stored within the bot configuration data set comprise data values for authenticating the first customer's use of the first bot based on a relationship between the first customer and the first tenant.
