Add flow handler