# US 2025/0156783 A1 · Techniques for generating workflows using an llm-based system

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

- Number: US 2025/0156783 A1
- Document ID: US20250156783A1
- Status: Published application
- Kind: A1
- Application number: 18/428,261
- Filed: 2024-01-31
- Published: 2025-05-15
- Earliest claimed: 2023-11-09
- Assignees: Cumulus Digital Systems, Inc.
- Applicants: Cumulus Digital Systems, Inc.
- Inventors: Joshua Napoli; Dylan Sumiskum
- Web page: https://patentgrep.com/patent/US20250156783A1

## CPC

- G06Q 10/0633: Workflow analysis
- G06Q 10/06316: {Sequencing of tasks or work}
- G06Q 10/06332: {using business process templates}
- G06Q 50/04: Manufacturing
- 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

Techniques are provided for workflow generation, including: (a) receiving, from a user, an instruction to create a workflow to perform a task; (b) generating one or more prompts based on the instruction and a predefined workflow schema; (c) querying a large language model (LLM) with the one or more prompts; (d) in response to querying the LLM, receiving a workflow in a format consistent with the predefined workflow schema from the LLM; and (e) displaying a visualization of the received workflow to the user.

## Claims

### Claim 1

A method performed by a computing system of workflow generation, the method comprising:
receiving, from a user, an instruction to create a workflow to perform a task;
generating one or more prompts based on the instruction and a predefined workflow schema;
querying a large language model (LLM) with the one or more prompts;
in response to querying the LLM, receiving a workflow in a format consistent with the predefined workflow schema from the LLM; and
displaying a visualization of the received workflow to the user.

### Claim 2 (depends on 1)

The method of claim 1 wherein the instruction is a natural language instruction.

### Claim 3 (depends on 1)

The method of claim 1 wherein the instruction is a document containing a description of how to perform the task.

### Claim 4 (depends on 1)

The method of claim 1 wherein:
generating the one or more prompts includes:
generating a first prompt requesting a set of steps of the workflow to perform the task; and
in response to the LLM responding to the first prompt with the set of steps, for at least one step of the set of steps, generating a second prompt requesting a set of substeps to accomplish performance of that step; and
querying the LLM with the one or more prompts includes:
querying the LLM with the first prompt; and
in response to generating the second prompt, querying the LLM with the second prompt.

### Claim 5 (depends on 4)

The method of claim 4 wherein:
generating the one or more prompts further includes, in response to the LLM responding to the first prompt:
displaying a preliminary visualization of the set of steps to the user;
receiving a natural language instruction from the user to modify the set of steps;
generating a third prompt based on the natural language instruction and the set of steps;
querying the LLM with the third prompt; and
in response to querying the LLM with the third prompt, receiving an updated set of steps; and
generating the second prompt is performed in response to receiving the updated set of steps.

### Claim 6 (depends on 4)

The method of claim 4 wherein displaying the visualization of the received workflow to the user includes:
for the at least one step of the set of steps, displaying a description of that step, including the substeps for that step, as a checklist; and
in response to the user checking off each substep, marking the at least one step as completed and displaying a description of a next step of the set of steps.

### Claim 7 (depends on 1)

The method of claim 1 wherein:
generating the one or more prompts includes:
generating a first prompt requesting a set of steps of the workflow to perform the task; and
in response to the LLM responding to the first prompt with the set of steps, generating a second prompt requesting a set of entity properties for entities used to accomplish performance of the set of steps, wherein generating the second prompt includes reference to a predefined entity type schema; and
querying the LLM with the one or more prompts includes:
querying the LLM with the first prompt; and
in response to generating the second prompt, querying the LLM with the second prompt.

### Claim 8 (depends on 7)

The method of claim 7 wherein the method further comprises:
receiving the set of entity properties in response to the second prompt;
receiving an instruction from the user to create workpieces to be used in conjunction with the received workflow;
generating a third prompt based on the natural language instruction, the received workflow, and the received set of entity properties;
querying the LLM with the third prompt;
in response to querying the LLM with the third prompt, receiving a set of workpieces in a format consistent with the predefined entity type schema from the LLM; and
displaying a workpiece visualization of the received set of workpieces to the user.

### Claim 9

A computer program product comprising a non-transitory computer-readable storage medium storing instructions, which, when performed by processing circuitry of a computing system, cause the computing system to:
receive, from a user, an instruction to create a workflow to perform a task;
generate one or more prompts based on the instruction and a predefined workflow schema;
query a large language model (LLM) with the one or more prompts;
in response to querying the LLM, receive a workflow in a format consistent with the predefined workflow schema from the LLM; and
display a visualization of the received workflow to the user.

### Claim 10 (depends on 9)

The computer program product of claim 9 wherein the instruction is a natural language instruction.

### Claim 11 (depends on 9)

The computer program product of claim 9 wherein the instruction is a document containing a description of how to perform the task.

### Claim 12 (depends on 9)

The computer program product of claim 9 wherein:
generating the one or more prompts includes:
generating a first prompt requesting a set of steps of the workflow to perform the task; and
in response to the LLM responding to the first prompt with the set of steps, for at least one step of the set of steps, generating a second prompt requesting a set of substeps to accomplish performance of that step; and
querying the LLM with the one or more prompts includes:
querying the LLM with the first prompt; and
in response to generating the second prompt, querying the LLM with the second prompt.

### Claim 13 (depends on 12)

The computer program product of claim 12 wherein:
generating the one or more prompts further includes, in response to the LLM responding to the first prompt:
displaying a preliminary visualization of the set of steps to the user;
receiving a natural language instruction from the user to modify the set of steps;
generating a third prompt based on the natural language instruction and the set of steps;
querying the LLM with the third prompt; and
in response to querying the LLM with the third prompt, receiving an updated set of steps; and
generating the second prompt is performed in response to receiving the updated set of steps.

### Claim 14 (depends on 12)

The computer program product of claim 12 wherein displaying the visualization of the received workflow to the user includes:
for the at least one step of the set of steps, displaying a description of that step, including the substeps for that step, as a checklist; and
in response to the user checking off each substep, marking the at least one step as completed and displaying a description of a next step of the set of steps.

### Claim 15 (depends on 9)

The computer program product of claim 9 wherein:
generating the one or more prompts includes:
generating a first prompt requesting a set of steps of the workflow to perform the task; and
in response to the LLM responding to the first prompt with the set of steps, generating a second prompt requesting a set of entity properties for entities used to accomplish performance of the set of steps, wherein generating the second prompt includes reference to a predefined entity type schema; and
querying the LLM with the one or more prompts includes:
querying the LLM with the first prompt; and
in response to generating the second prompt, querying the LLM with the second prompt.

### Claim 16 (depends on 15)

The computer program product of claim 15 wherein the instructions, when executed by the processing circuitry, further cause the computing system to:
receive the set of entity properties in response to the second prompt;
receive an instruction from the user to create workpieces to be used in conjunction with the received workflow;
generate a third prompt based on the natural language instruction, the received workflow, and the received set of entity properties;
query the LLM with the third prompt;
in response to querying the LLM with the third prompt, receive a set of workpieces in a format consistent with the predefined entity type schema from the LLM; and
display a workpiece visualization of the received set of workpieces to the user.

### Claim 17

A system comprising:
user interface circuitry configured to receive, from a user, an instruction to create a workflow to perform a task; and
processing circuitry coupled to memory configured to:
generate one or more prompts based on the instruction and a predefined workflow schema;
query a large language model (LLM) with the one or more prompts; and
in response to querying the LLM, receive a workflow in a format consistent with the predefined workflow schema from the LLM;
wherein the user interface circuitry is further configured to display a visualization of the received workflow to the user.

### Claim 18 (depends on 12)

The system of claim 12 wherein:
generating the one or more prompts includes:
generating a first prompt requesting a set of steps of the workflow to perform the task; and
in response to the LLM responding to the first prompt with the set of steps, for at least one step of the set of steps, generating a second prompt requesting a set of substeps to accomplish performance of that step; and
querying the LLM with the one or more prompts includes:
querying the LLM with the first prompt; and
in response to generating the second prompt, querying the LLM with the second prompt.

### Claim 19 (depends on 18)

The system of claim 18 wherein:
generating the one or more prompts further includes, in response to the LLM responding to the first prompt:
displaying a preliminary visualization of the set of steps to the user;
receiving a natural language instruction from the user to modify the set of steps;
generating a third prompt based on the natural language instruction and the set of steps;
querying the LLM with the third prompt; and
in response to querying the LLM with the third prompt, receiving an updated set of steps; and
generating the second prompt is performed in response to receiving the updated set of steps.

### Claim 20 (depends on 12)

The system of claim 12 wherein:
generating the one or more prompts includes:
generating a first prompt requesting a set of steps of the workflow to perform the task; and
in response to the LLM responding to the first prompt with the set of steps, generating a second prompt requesting a set of entity properties for entities used to accomplish performance of the set of steps, wherein generating the second prompt includes reference to a predefined entity type schema; and
querying the LLM with the one or more prompts includes:
querying the LLM with the first prompt; and
in response to generating the second prompt, querying the LLM with the second prompt.
