Hi team, I would like to create a webhook that an ...
# ask-community
a
Hi team, I would like to create a webhook that an external application would call that triggers a Prefect deployment to run. This deployment takes in one parameter 'company_code', which is a string. I think based on the docs, I should create an automation that the webhook would trigger. Can you give a walkthrough of how I would pass the 'company_code' parameter from a webhook to an automation?
j
Hi Alex. Yep! Here’s a blog post that walks through getting a value from a webhook and using it as a deployment parameter.
And

here’s a video

where I walk through the same pattern.
With recent enhancements, you can now pass data of most any type into the parameters.
a
Thanks @Jeff Hale!
👍 1