# US 2026/0099792 A1 · Process flow automation using ai agents

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

- Number: US 2026/0099792 A1
- Document ID: US20260099792A1
- Status: Published application
- Kind: A1
- Application number: 18/905,760
- Filed: 2024-10-03
- Published: 2026-04-09
- Earliest claimed: 2024-10-03
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Gopi Kishan; Kavitha Krishnan; Rohit Jalagadugula; Manoj Kumar; Shaunak Kaushik; Hari Kishan
- Web page: https://patentgrep.com/patent/US20260099792A1

## CPC

- G06Q 10/0633: Workflow analysis
- G06F 9/4843: {by program, e.g. task dispatcher, supervisor, operating system}
- G06F 9/543: {User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]}
- G06F 9/547: {Remote procedure calls [RPC]; Web services}
- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G06F 40/35: Discourse or dialogue representation
- G06F 9/541: {via adapters, e.g. between incompatible applications}
- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method for improving process flow automation is disclosed. The method can receive a user query from a user interface and identify a target process including a selected task that matches the user query. The target process is one of a plurality of processes included in a process workflow. The target process includes a plurality of tasks and links connecting the plurality of tasks. The links define an operation sequence of the plurality of tasks. The method can retrieve a context prompt describing the target process, prompt a large language model with the user query and the context prompt, receive a response generated by the large language model, and generate an output on the user interface based on the response. Related systems and software for implementing the method are also disclosed.

## Claims

### Claim 1

A computing system for improving process flow automation in an enterprise resource planning (ERP) platform, the computing system comprising:
memory;
one or more hardware processors coupled to the memory; and
one or more computer readable storage media storing instructions that, when loaded into the memory, cause the one or more hardware processors to perform operations comprising:
receiving a user query from a user interface of the ERP platform;
identifying a target process including a selected task that matches the user query, wherein the target process is one of a plurality of processes included in a process workflow, wherein the target process includes a plurality of tasks and links connecting the plurality of tasks, wherein the links define an operation sequence of the plurality of tasks;
retrieving a context prompt describing the target process;
prompting a large language model with the user query and the context prompt;
receiving a response generated by the large language model; and
generating an output on the user interface based on the response.

### Claim 2 (depends on 1)

The computing system of claim 1, wherein the operations further comprise embedding the user query into a query vector.

### Claim 3 (depends on 2)

The computing system of claim 2, wherein identifying the target process comprises measuring similarities between the query vector and a plurality of process vectors representing the plurality of processes included in the process workflow.

### Claim 4 (depends on 3)

The computing system of claim 3, wherein the operations further comprise generating the plurality of process vectors by embedding respective context prompts describing the plurality of processes included in the process workflow.

### Claim 5 (depends on 4)

The computing system of claim 4, wherein the operations further comprise generating the context prompts describing the plurality of processes included in the process flow, wherein generating the context prompt for a selected process comprises prompting the large language model with a prompt including an object representing the selected process.

### Claim 6 (depends on 5)

The computing system of claim 5, wherein the operations further comprise parsing a markup language definition of the process flow, and representing the selected process as a set of nodes in the object, wherein the set of nodes represent the tasks of the selected process and are organized in a hierarchical relationship representing the operation sequence of the tasks.

### Claim 7 (depends on 1)

The computing system of claim 1, wherein the user query is one of a plurality of user queries received in a query session, wherein prompting the large language model includes sending a history of query session to the large language model, wherein the history of the query session stores the plurality of user queries and corresponding responses generated by the large language model.

### Claim 8 (depends on 1)

The computing system of claim 1, wherein the operations further comprise detecting whether the response specifies an application programming interface (API).

### Claim 9 (depends on 8)

The computing system of claim 8, wherein the operations further comprise invoking the API to perform the selected task of the target process responsive to detecting that the API is specified in the response.

### Claim 10 (depends on 9)

The computing system of claim 9, wherein the operations further comprise:
responsive to detecting that the selected task requires user intervention, prompting a user input on the user interface, and conditioning invocation of the API based on the user input.

### Claim 11

A computer-implemented method for improving process flow automation in an enterprise resource planning (ERP) platform, the method comprising:
receiving a user query from a user interface of the ERP platform;
identifying a target process including a selected task that matches the user query, wherein the target process is one of a plurality of processes included in a process workflow, wherein the target process includes a plurality of tasks and links connecting the plurality of tasks, wherein the links define an operation sequence of the plurality of tasks;
retrieving a context prompt describing the target process;
prompting a large language model with the user query and the context prompt;
receiving a response generated by the large language model; and
generating an output on the user interface based on the response.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, further comprising embedding the user query into a query vector.

### Claim 13 (depends on 12)

The computer-implemented method of claim 12, wherein identifying the target process comprises measuring similarities between the query vector and a plurality of process vectors representing the plurality of processes included in the process workflow.

### Claim 14 (depends on 13)

The computer-implemented method of claim 13, wherein the operations further comprise generating the plurality of process vectors by embedding respective context prompts describing the plurality of processes included in the process workflow.

### Claim 15 (depends on 14)

The computer-implemented method of claim 14, further comprising generating the context prompts describing the plurality of processes included in the process flow, wherein generating the context prompt for a selected process comprises prompting the large language model with a prompt including an object representing the selected process.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, further comprising parsing a markup language definition of the process flow, and representing the selected process as a set of nodes in the object, wherein the set of nodes represent the tasks of the selected process and are organized in a hierarchical relationship representing the operation sequence of the tasks.

### Claim 17 (depends on 11)

The computer-implemented method of claim 11, further comprising detecting whether the response specifies an application programming interface (API).

### Claim 18 (depends on 17)

The computer-implemented method of claim 17, further comprising invoking the API to perform a selected task of the target process responsive to detecting that the API is specified in the response.

### Claim 19 (depends on 18)

The computer-implemented method of claim 18, further comprising: responsive to detecting that the selected task requires user intervention, prompting a user input on the user interface, and conditioning invocation of the API based on the user input.

### Claim 20

One or more non-transitory computer-readable media having encoded thereon computer-executable instructions causing one or more processors to perform a method for improving process flow automation in an enterprise resource planning (ERP) platform, the method comprising:
receiving a user query from a user interface of the ERP platform;
identifying a target process including a selected task that matches the user query, wherein the target process is one of a plurality of processes included in a process workflow, wherein the target process includes a plurality of tasks and links connecting the plurality of tasks, wherein the links define an operation sequence of the plurality of tasks;
retrieving a context prompt describing the target process;
prompting a large language model with the user query and the context prompt;
receiving a response generated by the large language model; and
generating an output on the user interface based on the response.
