# US 2014/0207506 A1 · Computer implemented methods and apparatus for recommending a workflow

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

- Number: US 2014/0207506 A1
- Document ID: US20140207506A1
- Status: Published application
- Kind: A1
- Application number: 14/160,398
- Filed: 2014-01-21
- Published: 2014-07-24
- Earliest claimed: 2013-01-21
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Joel Palmert; Tony Meng; Zhenhua Xu
- Web page: https://patentgrep.com/patent/US20140207506A1

## CPC

- G06F 16/248: Presentation of query results
- G06F 9/542: {Event management; Broadcasting; Multicasting; Notifications}
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/2455: Query execution
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06Q 10/063114: {Status monitoring or status determination for a person or group}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- 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

Disclosed are methods, apparatus, systems, and computer-readable storage media for recommending a workflow to a user. In some implementations, one or more servers receive information identifying a plurality of events. The one or more servers store data of the plurality of events in a first one or more data tables having an action field, an item field, a user field, and a timestamp field, and analyze the data of the first one or more data tables to generate one or more pairs, each pair including information identifying an ordered set of events and a target event. The one or more servers calculate a similarity score for each of the one or more pairs and store the respective similarity scores in a second one or more data tables having a set field, a target event field, and a similarity score field.

## Claims

### Claim 1

A computer implemented method for recommending a workflow to a user, the method comprising:
receiving, at a server, information identifying a plurality of events, each event having an action and an item, each event associated with a user and a timestamp, the timestamp being a time that the user performed the event;
storing data of the plurality of events in a first one or more data tables stored on one or more storage media, the first one or more data tables having an action field, an item field, a user field, and a timestamp field;
analyzing the data of the first one or more data tables to generate one or more pairs, each pair including information identifying an ordered set of events and a target event, the target event being an event performed by a user at a first time, the ordered set of events including one or more events performed in order by the user at a second time, the second time being before the first time;
calculating a similarity score for each of the one or more pairs; and
storing each of the one or more pairs and the respective similarity score in a second one or more data tables of the one or more storage media, the second one or more data tables having a set field, a target event field, and a similarity score field.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
receiving, at the server, a first target event from a computing device, the first target event associated with a first user; and
identifying, based on the stored one or more pairs, the stored similarity scores, and the received first target event, a workflow to be recommended to the first user.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
transmitting, to a computing device associated with the first user, data for displaying in a user interface of the computing device a recommendation that the first user perform the identified workflow in order to achieve the first target event.

### Claim 4 (depends on 2)

The method of claim 2, wherein identifying the workflow to be recommended to the first user comprises:
identifying one or more pairs in the second one or more data tables, wherein each of the identified one or more pairs has a target event matching the first target event;
selecting one of the identified one or more pairs having a similarity score higher than that of the other pairs; and
identifying the ordered set of events of the selected pair as the workflow to be recommended to the first user.

### Claim 5 (depends on 4)

The method of claim 4, wherein the identified workflow to be recommended is based at least in part on a frequency of one or more previous users performing the first target event at a time after performing the identified workflow.

### Claim 6 (depends on 1)

The method of claim 1, wherein the plurality of events include one or more of: following a user, following a record, clicking a link, joining a group, conversing with a user, accessing a file, acting on a record, acting on a customer relationship management (CRM) object, accessing an image, accessing a video, accessing audio data, communicating with a group or with a user, buying an item, selling an item, performing a search, and following a topic.

### Claim 7 (depends on 1)

The method of claim 1, wherein each action has an action type, the action type being one of: following, clicking, joining, accessing, downloading, viewing, searching, communicating, buying, selling, recommending, rating, opening, closing, deleting, creating, and updating.

### Claim 8 (depends on 1)

The method of claim 1, wherein an item is one of: a record, a link, an image, a video, a document, a user, a group, a file, a CRM object, a topic, and an article.

### Claim 9 (depends on 1)

The method of claim 1, wherein calculating a similarity score for each of the one or more pairs comprises using a collaborative filtering algorithm to determine similarity scores for the pairs.

### Claim 10 (depends on 1)

The method of claim 1, wherein each ordered set of events includes a sequence of events performed in order within a designated time interval by a single user.

### Claim 11 (depends on 1)

The method of claim 1, wherein all of the ordered sets of events of the one or more pairs have a length, the length of an ordered set being the number of events in the ordered set.

### Claim 12 (depends on 1)

The method of claim 1, wherein analyzing the data of the first one or more data tables to generate one or more pairs comprises generating a collaborative filter table as output having the one or more pairs recorded therein based on the analysis.

### Claim 13 (depends on 1)

The method of claim 1, wherein the similarity score of a pair is based at least in part on a frequency of a previous user performing the target event of the pair at a time after performing the ordered set of events of the pair.

### Claim 14 (depends on 1)

The method of claim 1, wherein the similarity score of a pair is based at least in part on a frequency of a previous user performing the target event of the pair within a designated time interval after performing the ordered set of events of the pair.

### Claim 15 (depends on 1)

The method of claim 1, wherein the similarity score of a pair is normalized for a frequency at which events of the ordered set of events are performed.

### Claim 16 (depends on 1)

The method of claim 1, wherein the similarity score is a cosine-based similarity score.

### Claim 17

One or more computing devices for recommending a workflow to a user, the one or more computing devices comprising:
one or more processors operable to execute one or more instructions to:
receive information identifying a plurality of events, each event having an action and an item, each event associated with a user and a timestamp, the timestamp being a time that the user performed the event;
store data of the plurality of events in a first one or more data tables stored on one or more storage media, the first one or more data tables having an action field, an item field, a user field, and a timestamp field;
analyze the data of the first one or more data tables to generate one or more pairs, each pair including information identifying an ordered set of events and a target event, the target event being an event performed by a user at a first time, the ordered set of events including one or more events performed in order by the user at a second time, the second time being before the first time;
calculate a similarity score for each of the one or more pairs; and
store each of the one or more pairs and the respective similarity score in a second one or more data tables of the one or more storage media, the second one or more data tables having a set field, a target event field, and a similarity score field.

### Claim 18 (depends on 17)

The one or more computing devices of claim 17, the one or more processors further operable to execute instructions to:
receive, a first target event, the first target event associated with a first user;
identify, based on the stored one or more pairs, the stored similarity scores, and the received first target event, a workflow to be recommended to the first user; and
transmit, to a computing device associated with the first user, data for displaying in a user interface a recommendation that the first user perform the identified workflow in order to achieve the first target event.

### Claim 19

A non-transitory computer-readable storage medium storing instructions executable by a computing device to cause a method to be performed for recommending a workflow to a user, the method comprising:
receiving, at a server, information identifying a plurality of events, each event having an action and an item, each event associated with a user and a timestamp, the timestamp being a time that the user performed the event;
storing data of the plurality of events in a first one or more data tables stored on one or more storage media, the first one or more data tables having an action field, an item field, a user field, and a timestamp field;
analyzing the data of the first one or more data tables to generate one or more pairs, each pair including information identifying an ordered set of events and a target event, the target event being an event performed by a user at a first time, the ordered set of events including one or more events performed in order by the user at a second time, the second time being before the first time;
calculating a similarity score for each of the one or more pairs; and
storing each of the one or more pairs and the respective similarity score in a second one or more data tables of the one or more storage media, the second one or more data tables having a set field, a target event field, and a similarity score field.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, the method further comprising:
receiving, at the server, a first target event from a computing device, the first target event associated with a first user;
identifying, based on the stored one or more pairs, the stored similarity scores, and the received first target event, a workflow to be recommended to the first user; and
transmitting, to a computing device associated with the first user, data for displaying in a user interface of the computing device a recommendation that the first user perform the identified workflow in order to achieve the first target event.
