Learn how to setup a webhook in the UI to trigger automations from external events.
model_id
, friendly_name
, and run_count
in the body of the incoming request.
POST
request to the unique URL provided for your webhook. Include the data you want to pass in the request body. For the example template above:
YOUR_UNIQUE_WEBHOOK_ID
with your actual webhook ID.
prefect-cloud.webhook.failed
events: If Prefect Cloud encountered an error processing the webhook (e.g., an invalid template or malformed request), it will generate a prefect-cloud.webhook.failed
event. This event contains details about the received request and any template rendering errors.body.field_name
, headers['Header-Name']
).