1. A method comprising: converting a call flow into a context free grammar notation; converting the context free grammar notation into a state-based representation; generating dialogs associated with the call flow by analyzing the state-based representation; extracting key data from a dialog call detail record from a dialog in the dialogs; and transmitting, to a finite state machine, the key data.