1. A system for automatic generation of a Statechart for management of an interaction, the system comprising: an input for receiving a frame that describes the interaction; and a processor operable to: extract a data model and a set of goals from the frame that, the data model comprising a set of data fields to be completed during the interaction; generate a Statechart from the data model and the set of goals; extract procedural logic from the frame; add the procedural logic to the Statechart; and an output for outputting the Statechart; wherein adding the procedural logic to the Statechart comprises, for each state of the Statechart: finding a goal of the set of goals that refers to the state; finding an unsatisfied atom within the goal; finding a field of the data model to which the goal atom refers; adding initial rules, prompts, and grammar for the field to the state as entry actions; and adding final rules for the field to the state as exit actions.