Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Language

Yi Zhong, Buqiang Xu, Yijun Wang, Zifei Shan, Shuofei Qiao +2 more
4/21/2026
cs.CLcs.AIcs.CV

Official code: zjunlp/Chat2Workflow (39 stars, MIT, last commit 2026-04-24).

Abstract

At present, executable visual workflows have emerged as a mainstream paradigm in real-world industrial deployments, offering strong reliability and controllability. However, in current practice, such workflows are almost entirely constructed through manual engineering: developers must carefully design workflows, write prompts for each step, and repeatedly revise the logic as requirements evolve-making development costly, time-consuming, and error-prone. To study whether large language models can automate this multi-round interaction process, we introduce Chat2Workflow, a benchmark for generating executable visual workflows directly from natural language, and propose a robust agentic framework to mitigate recurrent execution errors. Chat2Workflow is built from a large collection of real-world business workflows, with each instance designed so that the generated workflow can be transformed and directly deployed to practical workflow platforms such as Dify and Coze. Experimental results show that while state-of-the-art language models can often capture high-level intent, they struggle to generate correct, stable, and executable workflows, especially under complex or changing requirements. Although our agentic framework yields up to 5.34% resolve rate gains, the remaining real-world gap positions Chat2Workflow as a foundation for advancing industrial-grade automation. Code is available at https://github.com/zjunlp/Chat2Workflow.

View on arXivView PDF

Code Implementations(1)

MIT

Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Language

394Shell, Python6 months agoMIT
agentchat2agentchat2workflowdifylarge-language-models+3 more

Similar Papers

Cite this paper

@article{zhong2026chatworkflow,
  title  = {Chat2Workflow: A Benchmark for Generating Executable Visual Workflows with Natural Language},
  author = {Yi Zhong and Buqiang Xu and Yijun Wang and Zifei Shan and Shuofei Qiao and Guozhou Zheng and Ningyu Zhang},
  year   = {2026},
  eprint = {2604.19667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.19667v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2604.19667.svg)](https://codeofpaper.com/paper/2604.19667)

Discussion