Hello all, is creating a custom webhook supported ...
# ask-community
j
Hello all, is creating a custom webhook supported on the local version of the server? It lets me create the webhook, but all the fields (e.g JSON data) are all disabled and so when the webhook is called none of the fields are passed.
n
hi @Jagi Natarajan - we do not yet support webhooks in OSS, though we'd like to add this soon!
j
is there an alternate approach to sending notifications that you can suggest and supported by the OSS version?
I am also only referring to the outbound trigger notification to call a custom webhook when the pipeline status changes
n
oh sorry I misunderstood your question yes, you can create automations in OSS that can be configured to have an action that sends a custom webhook
j
the trigger section in the screenshot most of the properties are disabled for us
n
so its • create a custom webhook block • create an automation ā—¦ set your trigger, ie when should this happen? ā—¦ set action, select this custom webhook
sorry whats greyed out?
j
image.png
the JSON data field, the query params fields are all not editable
so the pipeline calls the webhook correctly, but nothing is passed in the body
n
oh thats odd what version of the server do you have?
j
3.0
n
sorry, i meant which specific version
j
where can i find the specific version? i don't see it in the UI
n
prefect version
in the CLI will work or
pip list | grep prefect
j
Version: 3.0.4 API version: 0.8.4 Python version: 3.11.5 Git commit: c068d7e2 Built: Tue, Oct 1, 2024 11:54 AM OS/Arch: darwin/x86_64 Profile: local Server type: server Pydantic version: 2.9.2 (env) (base)
n
are you able to upgrade with
pip install -U prefect
? there were some issues with settings in 3.0.4 which I doubt are related, but its possible
j
yeah let me try
šŸ‘ 1
still the same Nate, those fields are still disabled. I am just starting prefect from my local command line
n
hrm. are you willing to open an issue? the greyed out fields are confusing to me and something seems off about that
j
i sure can, I will ask my team to deploy the latest version in our cluster, double check that this issue exists on the cluster as well and open an issue. Just to make sure its not something about the way i am running
n
thank you!
j
thanks for your time today Nate
šŸ‘ 1
k
just wanted to flag the same issue on 3.1.0, I was using it for Slack alerts so just resorted to using the Slack block but had the exact same issue as @Jagi Natarajan when trying to set up custom webhooks (also OSS)
j
@Nate I opened a bug #16056. Thanks
šŸ™ 1
this issue was already reported back in Sep and no fix yet. https://github.com/PrefectHQ/prefect/issues/15219