Flows and triggers explained