Is it possible to create prefect webhook notification with json data populated by flow run url? Is there a predefined variable we could use?
w
Will Raphaelson
12/06/2023, 3:57 PM
hey @schwannden kuo, there is a simple way to do this on cloud - and a slightly more complicated way to do this in open source. which are you on? In any case im down to hop on an pair on this if you’re interested.
s
schwannden kuo
12/07/2023, 1:49 AM
I am currently in open source
schwannden kuo
12/07/2023, 1:52 AM
pair programming would be a bit harder for the moment (too many meetings recently, hard to have a timeslot now), thank you for the help! Is it possible to provide a guide? I'll work on it on my free time, and I am pretty comfortable tracing source code too, so a outline would probably hepl me a lot, thank you!
I see, if I am programmatically calling the webhook in prefect flow, I am able to get flow run url indeed. But the use case is to allow people to come up here and register their own webhook. Wish to open this as a self-serviced notification service. Thx for answering, I am guessing with webhook there is no way to send webwook with flow run url currently. I will get everything from header to see if some header field is avaiilable for the task, thx!