Hi team, are there any best practices for reportin...
# prefect-cloud
h
Hi team, are there any best practices for reporting flow run state changes to a third party system? I see State Change Hooks might be one option, another one could be creating an Automation that triggers on a flow state change. Anyone has some experience with using those options and can share some pros and cons would be greatly appreciated?
w
Hey Hristo, I've worked with a bunch of users who use automations with a call-webhook action to accomplish this. State change hooks are totally valid and have a nice simple devex, but aren't super reliable in the case of crashes or infra or network issues, cause if the task or flow cant run, oftentimes the state change hook cant execute either.
🙌 1
upvote 1
h
Thank you @Will Raphaelson! Makes sense.