Hey everyone, I want to create an automation to trigger an event once my deployments are complete. Do I use the automations api to customize or use a prefect.yaml? If so, how can I get started. Any help appreciated.
08/01/2023, 4:31 PM
Hey Emilio - a few options here
• you could consider using the on_complete hook of your final task and then emit_event convenience function
• you could use an automation that calls a webhook, but that webhook is a prefect webhook.
Id try to use on_complete as youd avoid burning an automation.