Lune

ACL Findings2025

Turning Conversations into Workflows: A Framework to Extract and Evaluate Dialog Workflows for Service AI Agents

Prafulla Kumar Choubey, Xiangyu Peng, Shilpa Bhagavath, Caiming Xiong, Shiva Kumar Pentyala, Chien-Sheng Wu

Abstract

Automated service agents require wellstructured workflows to deliver consistent and accurate responses to customer queries. However, such workflows are often undocumented, and their automatic extraction from conversations remains largely unexplored. In this work, we present a novel framework for extracting and evaluating dialog workflows from historical interactions. Our extraction process involves two key stages: (1) a retrieval step to select relevant conversations based on key procedural elements, and (2) a structured workflow generation step using questionanswer-based chain-of-thought (QA-CoT) prompting. To comprehensively evaluate the quality of the extracted workflows, we introduce an automated simulation framework with agent and customer bots that measures their effectiveness in resolving customer issues. Extensive experiments on the ABCD and SynthABCD datasets show that our QA-CoT technique improves workflow extraction by 12.16% in average macro accuracy over the baseline. Moreover, our evaluation method closely aligns with human assessments, offering a reliable and scalable framework for future research.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • METRO: Towards Strategy Induction from Expert Dialogue Transcripts for Non-collaborative Dialogues cites Using Domain Knowledge to Guide Dialog Structure Induction via Neural Probabilistic Soft Logic
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. METRO: Towards Strategy Induction from Expert Dialogue Transcripts for Non-collaborative DialoguesHaofu Yang, Jiaji Liu, Chen Huang, Faguo Wu et al.ACL 2026 · 2 citations

Builds on5

  1. Reflexion: language agents with verbal reinforcement learningNoah Shinn, Federico Cassano, Ashwin Gopinath, Karthik Narasimhan et al.NeurIPS 2023 · 5,828 citations
  2. Improving Factuality and Reasoning in Language Models through Multiagent DebateYilun Du, Shuang Li, Antonio Torralba, Joshua B. Tenenbaum et al.ICML 2024 · 1,562 citations
  3. Using Domain Knowledge to Guide Dialog Structure Induction via Neural Probabilistic Soft LogicConnor Pryor, Quan Yuan, Jeremiah Z. Liu, Mehran Kazemi et al.ACL 2023 · 2 citations
  4. Dialog2Flow: Pre-training Soft-Contrastive Action-Driven Sentence Embeddings for Automatic Dialog Flow ExtractionSergio Burdisso, Srikanth R. Madikeri, Petr MotlícekEMNLP 2024 · 2 citations
  5. Unsupervised Learning of Hierarchical Conversation StructureBo-Ru Lu, Yushi Hu, Hao Cheng, Noah A. Smith et al.EMNLP Findings 2022

Related papers

  1. GCoT: Chain-of-Thought Prompt Learning for GraphsXingtong Yu, Chang Zhou, Zhongwei Kuai, Xinming Zhang et al.KDD 2025 · 2 citations
  2. RSVP: Customer Intent Detection via Agent Response Contrastive and Generative Pre-TrainingYu-Chien Tang, Wei-Yao Wang, An-Zi Yen, Wen-Chih PengEMNLP Findings 2023 · 2 citations
  3. Chain-of-Interactions: Multi-step Iterative ICL Framework for Abstractive Task-Oriented Dialogue Summarization of Conversational AI InteractionsJason S. Lucas, Ali Al-Lawati, Mahjabin Nahar, John Chen et al.EMNLP Findings 2025
  4. TWEETSUMM - A Dialog Summarization Dataset for Customer ServiceGuy Feigenblat, R. Chulaka Gunasekara, Benjamin Sznajder, Sachindra Joshi et al.EMNLP Findings 2021 · 22 citations
  5. DialogQAE: N-to-N Question Answer Pair Extraction from Customer Service ChatlogXin Zheng, Tianyu Liu, Haoran Meng, Xu Wang et al.EMNLP Findings 2023 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines