Set up flow filters and triggers