Article Complete
AIM
JPMorgan Unveils FlowMind for Automatic Workflow Generation with LLMs
JPMorgan Unveils FlowMind for Automatic Workflow Generation with LLMs
Workflow Wizardry

JPMorgan Unveils FlowMind for Automatic Workflow Generation with LLMs

FlowMind significantly outperformed the GPT-Context-Retrieval baseline method, even without user feedback.

Published Updated

Key takeaways

  • JPMorgan launches FlowMind for automatic workflow generation using large language models.
  • FlowMind outperforms GPT-Context-Retrieval baseline without requiring user feedback.
  • The framework enhances data integrity by preventing direct LLM interaction with proprietary data.
  • FlowMind simplifies user interaction with high-level descriptions for effective workflow inspection.
  • NCEN-QA dataset introduced for benchmarking finance-related question-answering tasks.
5 min

JPMorgan has introduced FlowMind, a novel approach leveraging LLMs to create an automatic workflow generation system. 

The field of Robotic Process Automation (RPA) has made significant advancements in automating repetitive tasks. However, its effectiveness diminishes when faced with spontaneous or unpredictable user demands.

FlowMind utilises a generic prompt recipe for a lecture, grounding LLM reasoning with reliable APIs. This approach not only mitigates hallucinations in LLMs but also ensures data integrity and confidentiality by eliminating direct interaction between LLMs and proprietary data or code. 

FlowMind simplifies user interaction by presenting high-level descriptions of auto-generated workflows, enabling effective inspection and feedback. FlowMind significantly outperformed the GPT-Context-Retrieval baseline method, even without user feedback. 

Additionally, the paper introduces NCEN-QA, a new dataset in finance for benchmarking question-answering tasks from N-CEN reports on funds. Researchers evaluated the performance of workflows generated by FlowMind using NCEN-QA and demonstrate its success, the importance of each lecture component, and the effectiveness of user interaction and feedback.

The FlowMind framework operates in two primary stages:

  1. Lecture to LLM: Providing the LLM with context, available APIs, and the need for workflow generation.
  2. Workflow Generation and Execution: Utilising APIs to generate workflows and deliver results to users, with an optional feedback loop for user interaction.

Future work may explore crowdsourcing user feedback to refine workflows at scale and life-long learning over past user-approved examples to evolve FlowMind's performance over time. Additionally, FlowMind could be expanded to handle large libraries of APIs by retrieving the most relevant APIs for a given task based on embedding similarity.

Membership

Stay ahead with AI insights.

Unlimited access to premium articles, exclusive analysis, and the stories shaping India's AI economy.

Subscribe now

AIM Americas

1190 Miraloma Way Suite P, Sunnyvale, CA 94085

AIM India

1st Floor, Sakti Statesman, Bellandur, Bengaluru – 560103

© 2026 AIM. All rights reserved.