# US 2018/0321922 A1 · Bot creation with workflow development system

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

- Number: US 2018/0321922 A1
- Document ID: US20180321922A1
- Status: Published application
- Kind: A1
- Application number: 16/035,138
- Filed: 2018-07-13
- Published: 2018-11-08
- Earliest claimed: 2016-10-14
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Barath Balasubramanian; Ashwin Sathya Raghunathan; Jade D. Naaman; Daniel J. Kappes
- Web page: https://patentgrep.com/patent/US20180321922A1

## CPC

- G06F 9/546: {Message passing systems or structures, e.g. queues}
- G06F 8/34: Graphical or visual programming
- G06F 8/38: for implementing user interfaces
- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A workflow development system is described that enables users to easily develop and deploy bots. The system provides a graphical user interface (GUI) that enables a user to select a plurality of steps for inclusion in a workflow and within which each user-selected step is represented as an interactive object. The plurality of steps includes at least one step of receiving a message directed to a bot or sending a message on behalf of the bot and at least one step of invoking an application to perform an action in response to receiving the message directed to the bot or to receive information upon which the sending of the message on behalf of the bot will be based. The system also receives information about each of the user-selected steps included in the workflow and generates workflow logic based on the received information that is executable to run the workflow.

## Claims

### Claim 1

A system, comprising:
at least one processor circuit; and
at least one memory that stores program code configured to be executed by the at least one processor circuit, the program code comprising:
a workflow logic generator configured to:
receive constructed workflow information that indicates a plurality of workflow steps for inclusion in a workflow and a sequencing thereof, the plurality of workflow steps including:
at least one workflow step of receiving a message directed to a bot or sending a message on behalf of the bot, and
at least one workflow step of invoking an application to perform an action in response to receiving the message directed to the bot or to obtain information upon which the sending of the message on behalf of the bot will be based; and
generate workflow logic based on the received constructed workflow information, the workflow logic being executable in a runtime environment to run the workflow.

### Claim 2 (depends on 1)

The system of claim 1, wherein the workflow logic generator is further configured to receive connection information for the at least one workflow step of receiving the message directed to the bot or sending the message on behalf of the bot, the connection information comprising information for establishing a connection to a bot framework that receives and sends messages over one or more communication channels on behalf of the bot.

### Claim 3 (depends on 1)

The system of claim 1, wherein the bot comprises:
a software program that is configured to simulate intelligent conversation with one or more end users via auditory or textual methods.

### Claim 4 (depends on 1)

The system of claim 1, wherein the at least one workflow step of receiving the message directed to the bot comprises a trigger workflow step for initiating execution of the workflow.

### Claim 5 (depends on 1)

The system of claim 1, wherein the at least one workflow step of invoking the application to perform the action in response to receiving the message directed to the bot comprises:
invoking the application to perform one of the following in response to receiving the message directed to the bot:
sending an e-mail;
sending a push notification;
copying or moving a file;
creating or update an entry in a database or spreadsheet;
saving a document or file to a library;
posting content to a social network;
adding an event to a calendar;
adding a task to a to do list;
obtaining financial data;
obtaining news content;
obtaining a weather report; or
conducting an internet search.

### Claim 6 (depends on 1)

The system of claim 1, wherein the at least one workflow step of invoking the application to obtain information upon which the sending of the message on behalf of the bot will be based comprises:
invoking the application to obtain one or more of:
stock information;
weather information;
news information;
enterprise-related information; or
health-related information.

### Claim 7 (depends on 1)

The system of claim 1, wherein the workflow logic generator is further configured to receive a selection of one or more tokens representing one or more items of information associated with a particular message received by the bot as part of a first workflow step, and
in response to the selection, cause the corresponding item of information to be used as an input parameter of the second workflow step.

### Claim 8 (depends on 7)

The system of claim 7, wherein the items of information associated with the particular message received by the bot as part of the first workflow step comprise one or more items of information appended to the particular message by a bot framework.

### Claim 9 (depends on 7)

The system of claim 7, wherein the items of information associated with the particular message received by the bot as part of the first workflow step comprise one or more of:
a channel identifier that identifies a channel over which the particular message was received;
a conversation identifier that identifies a conversation of which the particular message is a part;
an identifier of an originator of the particular message;
an indicator that indicates whether or not the particular message is part of a private conversation or a group conversation;
a locale associated with the particular message;
a recipient identifier that identifies the bot that received the particular message;
an identifier of the particular message to which a response can be directed;
a service Uniform Resource Locator (URL) associated with a channel over which the particular message was received;
text of the particular message;
a format of the text of the particular message; or
a type of action associated with the particular message.

### Claim 10 (depends on 1)

The system of claim 1, further comprising a workflow execution engine configured to execute the workflow logic in the runtime environment.

### Claim 11

A method performed by a computer-implemented workflow development system for generating workflow logic, comprising:
receiving constructed workflow information that indicates a plurality of workflow steps for inclusion in a workflow and a sequencing thereof, the plurality of workflow steps including:
at least one workflow step of receiving a message directed to a bot or sending a message on behalf of the bot; and
at least one workflow step of invoking an application to perform an action in response to receiving the message directed to the bot or to receive information upon which the sending of the message on behalf of the bot will be based; and
generating workflow logic based on the received constructed workflow information, the workflow logic being executable in a runtime environment to run the workflow.

### Claim 12 (depends on 11)

The method of claim 11, wherein the plurality of workflow steps further includes:
receiving an indication that an originator of a message directed to the bot is typing.

### Claim 13 (depends on 11)

The method of claim 11, wherein the at least one workflow step of receiving the message directed to the bot comprises a trigger workflow step for initiating execution of the workflow.

### Claim 14 (depends on 11)

The method of claim 11, wherein the at least one workflow step of invoking the application to perform the action in response to receiving the message directed to the bot comprises:
invoking the application to perform one of the following in response to receiving the message directed to the bot:
sending an e-mail;
sending a push notification;
copying or moving a file;
creating or update an entry in a database or spreadsheet;
saving a document or file to a library;
posting content to a social network;
adding an event to a calendar;
adding a task to a to do list;
obtaining financial data;
obtaining news content;
obtaining a weather report; or
conducting an internet search.

### Claim 15 (depends on 11)

The method of claim 11, wherein the at least one workflow step of invoking the application to receive information upon which the sending of the message on behalf of the bot will be based comprises:
invoking the application to receive one or more of:
stock information;
weather information;
news information;
enterprise-related information; or
health-related information.

### Claim 16

A computer program product comprising a computer-readable memory having computer program logic recorded thereon that when executed by at least one processor causes the at least one processor to perform a method, the method comprising:
receiving in a workflow logic generator information corresponding to a first workflow step and a second workflow step, the first workflow step including receiving a message directed to a bot and the second workflow step comprising a data entry element into which a value of an input parameter of the second workflow step is enabled to be input;
receiving a selection of one or more objects that respectively represent one or more items of information associated with the message received as part of the first workflow step;
in response to the selection of a particular object among the one or more objects, copying the particular object into the data entry element; and
generating executable workflow logic corresponding to at least the first workflow step and the second workflow step, the generating the executable workflow logic comprising defining the value of the input parameter of the second workflow step to include a value of the particular item of information that corresponds to the particular object that was copied into the data entry element.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the first workflow step of receiving the message directed to the bot comprises a trigger workflow step for initiating execution of the workflow.

### Claim 18 (depends on 16)

The computer program product of claim 16, wherein the second workflow step comprises at least one workflow step of invoking an application to perform an action in response to receiving the message directed to the bot, the at least one workflow step of invoking the application to perform the action in response to receiving the message directed to the bot comprising:
invoking the application to perform one of the following in response to receiving the message directed to the bot:
sending an e-mail;
sending a push notification;
copying or moving a file;
creating or update an entry in a database or spreadsheet;
saving a document or file to a library;
posting content to a social network;
adding an event to a calendar;
adding a task to a to do list;
obtaining financial data;
obtaining news content;
obtaining a weather report; or
conducting an internet search.

### Claim 19 (depends on 16)

The computer program product of claim 16, wherein the one or more items of information associated with the message received as part of the first workflow step comprise one or more items of information appended to the message by a bot framework.

### Claim 20 (depends on 16)

The computer program product of claim 16, wherein the one or more items of information associated with the message received as part of the workflow step comprise one or more of:
a channel identifier that identifies a channel over which the message was received;
a conversation identifier that identifies a conversation of which the message is a part;
an identifier of an originator of the message;
an indicator that indicates whether or not the message is part of a private conversation or a group conversation;
a locale associated with the message;
a recipient identifier that identifies the bot that received the message;
an identifier of the message to which a response can be directed;
a service Uniform Resource Locator (URL) associated with a channel over which the message was received;
text of the message;
a format of the text of the message; and
a type of action associated with the message.
