Hi. I have a question about webhooks. If I have mu...
# ory-network
l
Hi. I have a question about webhooks. If I have multiple hooks set up for the same trigger, are the non-blocking hooks always triggered after the flow-interrupting hooks? e.g. if the flow is interrupted with an error, then the requests won’t be sent to the non-blocking webhook endpoints?
h
So the hook executor simply executes hooks in two loops. One before persisting and one after. This is governed by
can_interrupt
and
response.parse
. If
can_interrupt
is true, then the hook is executed before persisting. If
response.parse
is false, then also before persisting.
response.ignore
just says whether it runs detached or not and does not influence hook position.
l
If response.parse  is false, then also before persisting.
Did you mean
true
there?
The webhook config is a bit confusing. There seems to be a lot of redundancy between
can_interrupt
,
response.parse
, and
response.ignore
.