AutoFlowgen: A Multi-Agent Framework for Automated Generation of Workflows from Natural Language

Agentic Workflows are an important application form of Large Language Models (LLMs), but automatically generating executable Agentic Workflows from natural language descriptions is a significant challenge. Directly prompting LLMs to generate complex, logically sound, and executable workflows is often ineffective due to the complexities of task decomposition, node selection, parameter configuration, and inter-node dependency management. To address these challenges, we propose AutoFlowGen, a multi-agent framework that decomposes the workflow generation task into distinct stages: requirements analysis, structural planning, sketch drafting, code generation, and reflective optimization. Each stage is managed by specialized agents, which collaborate to enhance the quality and reliability of the generated workflows. Furthermore, to rigorously evaluate the performance of automated workflow generation systems, we introduce FinQA-Workflow, a novel benchmark dataset. This dataset follows an end-to-end evaluation philosophy and is specifically designed to test the quality of generated workflows in solving complex tasks, comprising 2000 question-answer pairs from the financial domain. Extensive experiments on FinQA-Workflow demonstrate that AutoFlowGen significantly improves the accuracy of workflows generated for solving complex financial problems, achieving an average accuracy improvement of 3.46% and up to 6.13% for specific models compared to direct prompting methods with various LLMs.

Authors

Institutions

Publication Details

Published
2025-06-20
DOI
https://doi.org/10.1109/caibda65784.2025.11182955
Primary Topic
Business Process Modeling and Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

AutoFlowgen: A Multi-Agent Framework for Automated Generation of Workflows from Natural Language

Zichen Tang, Zheng Quan, Zhongjun Yang, E Haihong et al.
Business Process Modeling and Analysis
article

AutoFlowgen: A Multi-Agent Framework for Automated Generation of Workflows from Natural Language

Zichen Tang, Zheng Quan, Zhongjun Yang, E Haihong, Yang Liu, Jiacheng Liu
article en

Abstract

Agentic Workflows are an important application form of Large Language Models (LLMs), but automatically generating executable Agentic Workflows from natural language descriptions is a significant challenge. Directly prompting LLMs to generate complex, logically sound, and executable workflows is often ineffective due to the complexities of task decomposition, node selection, parameter configuration, and inter-node dependency management. To address these challenges, we propose AutoFlowGen, a multi-agent framework that decomposes the workflow generation task into distinct stages: requirements analysis, structural planning, sketch drafting, code generation, and reflective optimization. Each stage is managed by specialized agents, which collaborate to enhance the quality and reliability of the generated workflows. Furthermore, to rigorously evaluate the performance of automated workflow generation systems, we introduce FinQA-Workflow, a novel benchmark dataset. This dataset follows an end-to-end evaluation philosophy and is specifically designed to test the quality of generated workflows in solving complex tasks, comprising 2000 question-answer pairs from the financial domain. Extensive experiments on FinQA-Workflow demonstrate that AutoFlowGen significantly improves the accuracy of workflows generated for solving complex financial problems, achieving an average accuracy improvement of 3.46% and up to 6.13% for specific models compared to direct prompting methods with various LLMs.

Beijing University of Posts and Telecommunications (CN)
Openalex Percentile: Top 54%
Business Process Modeling and Analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.