Designing a flow or job to run automatically based on event triggers