Turning Conversations into Workflows: A Framework to Extract and Evaluate Dialog Workflows for Service AI Agents
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.
Authors
- Shiva Pentyala (ORCID: https://orcid.org/0000-0002-2985-9113)
- Caiming Xiong (ORCID: https://orcid.org/0000-0003-0349-8628)
- Chien-Sheng Wu (ORCID: https://orcid.org/0000-0002-5598-5324)
- Xiangyu Peng (ORCID: https://orcid.org/0000-0002-0127-3305)
- Prafulla Kumar Choubey
- Shilpa Bhagavath
Institutions
- Salesforce (United States) (US)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.findings-acl.203
- Citations
- 1
- Primary Topic
- Multi-Agent Systems and Negotiation
- Type
- article
- Field-Weighted Citation Impact
- 2.48