First, start the serve process to listen for scheduled deployments runs:
Copy
python event_driven_deployments.py
Now, run the upstream deployment and see the downstream deployment kick off after it completes:
Copy
prefect deployment run upstream-flow/upstream_deployment
Check the event feedYou can inspect raw events in the event feed in the UI to see what related resources are available to match against.For example, the following prefect.flow-run.Completed event’s related resources include: