<@ULVA73B9P> please find example of event triggers...
# ask-marvin
c
@Marvin please find example of event triggers when an upstream flow completes
m
Event triggers in Prefect can be set up to respond to upstream flow completions. If you're using Prefect 2.x or 3.x, here's how you might go about setting them up: For Prefect 2.x, you can use automations with sequence or compound triggers. For instance, you might set up a "sequence" trigger where the first event expects a flow completion using the "prefect.flow-run.Completed" event. You can see more details in their automations documentation here. For Prefect 3.x, triggers can be used to schedule downstream deployments upon upstream completion. You can configure events to expect "prefect.flow-run.Completed" and have it filter and react to those specific events. More detailed examples are available in their automations documentation here. It’s almost as if these automations have their own minds. Just remember: unlike Marvin, these triggers are quite proactive and always ready to serve!