Automating Enterprise Workflows with Foundation Models in Healthcare

various · Healthcare · 2023 · source Agentic: yes · promotional bias: low · summary-only (no fetched source) · extracted with prompt 0.5.4 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: Healthcare enterprise workflow automation

Stanford researchers wanted to automate healthcare enterprise workflows in systems such as Epic EHR without requiring brittle API integration or traditional RPA scripts.

Constraints:

Architecture

The aCLAr system uses a Demonstrate, Execute, Validate framework. In Demonstrate, multimodal foundation models observe human task demonstrations and generate standard operating procedures. In Execute, the model navigates enterprise UIs visually, including virtualized Epic EHR environments, without backend integration. In Validate, the system self-monitors, checks for errors, and produces audit trails for completed workflows.

Diagram confidence: reconstructed (reconstructed from prose).

flowchart LR
  demonstration-observer[Demonstration observer] --> sop-generator[SOP generator]
  sop-generator --> ui-execution-model[UI execution model]
  ui-execution-model --> epic-ehr-interface[Epic EHR interface]
  ui-execution-model --> validation-monitor[Validation monitor]
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
Demonstration observer Passively watches human task demonstrations and captures workflow data. SOP generator
SOP generator Uses foundation-model understanding to create natural-language task procedures. Demonstration observer, UI execution model
UI execution model Navigates enterprise UIs visually and performs workflow actions. SOP generator, Epic EHR interface, Validation monitor
Epic EHR interface Represents the healthcare application environment used in the case study. UI execution model
Validation monitor Checks progress, supports self-monitoring, and creates audit trails. UI execution model

Data flow

Human demonstrations are passively observed and converted into natural-language SOPs with GPT-4 visual understanding. During execution, the model uses SOP context and UI observations to operate the application. Validation layers monitor progress, correct errors, and record an audit trail.

4 supporting quotes
“• System passively observes human demonstrations of tasks • Captures multiple data points: • Generates Standard Operating Procedures (SOPs) from demonstrations”summary, stated
“• Generates Standard Operating Procedures (SOPs) from demonstrations • Uses GPT-4 for visual understanding and instruction generation”summary, stated
“• Models interact with UIs in a human-like manner • Avoids need for API integration or backend access • Handles dynamic UI elements and state changes”summary, stated
“• Implements multiple levels of validation: • Enables self-monitoring and error correction • Generates audit trails for completed workflows”summary, stated

Why this architecture

A visual, demonstration-based architecture lets the system operate in enterprise applications where backend access may be unavailable or undesirable. SOP generation translates human demonstrations into reusable task specifications, while validation compensates for long-horizon workflow risk.

3 supporting quotes
“• No API integration required - purely visual interaction • Works with virtualized applications • Handles dynamic UI elements”summary, stated
“• Self-monitoring capabilities are crucial • Natural language SOPs are effective for task specification ### Implementation Considerations”summary, stated
“• Self-monitoring capabilities are crucial • Natural language SOPs are effective for task specification ### Implementation Considerations”summary, stated

Models used: GPT-4 · multimodal foundation models

Scale

Alternatives considered (roads not taken)

Traditional RPA

Rejected because: The summary says current RPA solutions have significant limitations for these workflows.

“• Current RPA solutions have significant limitations: ## Technical Approach: The DEV Framework ### Demonstrate Phase”summary, stated

API or backend integration

Rejected because: The system was designed to work through visual UI interaction without API integration.

“showing how foundation models can be leveraged for complex enterprise automation without requiring API integration.”summary, stated

Patterns

tool-use-orchestration (agent-architecture)

The model interacts with enterprise UI tools visually instead of relying on APIs.

“Models interact with UIs in a human-like manner”summary, stated

observability-tracing (operations)

The Validate phase produces audit trails and supports self-monitoring.

“Generates audit trails for completed workflows”summary, stated

human-in-the-loop-gate (workflow)

The system learns from human demonstrations and escalates oversight where needed.

“System passively observes human demonstrations of tasks”summary, stated
“Enables human oversight when needed”summary, stated

Tradeoffs

Use visual UI interaction

Chose foundation-model UI navigation over API integration.

Rationale: Visual interaction is more flexible in enterprise systems where APIs are absent, inaccessible, or insufficient.

“Visual interaction is more flexible than API integration”summary, stated

Generate SOPs from demonstrations

Chose demonstration-derived natural-language SOPs over hand-coded procedural scripts.

Rationale: Human demonstrations supply task knowledge without requiring developers to encode every workflow step.

“Generates Standard Operating Procedures (SOPs) from demonstrations”summary, stated

Gotchas (what bit them)

Long-horizon UI workflows remain difficult.

Root cause: Workflow variations, context windows, and dynamic UIs complicate execution.

Resolution: The summary calls for enhanced error handling, better long-workflow handling, and validation layers.

“Handling long-horizon workflows”summary, stated
“Managing context windows”summary, stated

The primary failure mode is inaction.

Root cause: The system may fail to proceed rather than taking an incorrect action.

Resolution: Validation and self-monitoring layers are used to detect and correct failures.

“Primary failure mode is inaction rather than incorrect action”summary, stated
“Provides self-monitoring capabilities”summary, stated

Evaluation

The summary reports workflow-understanding accuracy, a healthcare Epic EHR demonstration, and validation/audit behavior rather than broad production metrics.

Metrics: workflow understanding accuracy · successful Epic EHR workflow automation · validation and audit trail generation · execution speed

“Achieves 95% accuracy in workflow understanding metrics”summary, stated
“Successfully automated sitter order workflow”summary, stated

Outcomes

Summary-only evidence gives broad labor-context numbers but limited deployment-scale data.

3 supporting quotes
“Successfully automated sitter order workflow”summary, stated
“Current implementation is slower than human speed”summary, stated
“Potential for parallelization”summary, stated