Execution of the flow with key handling