# Conditional webhook on specific field

**URL:** <https://discourse.getcockpit.com/t/conditional-webhook-on-specific-field/2197>\
**Category:** Uncategorized\
**Created:** [December 19, 2021, 10:35pm UTC](https://discourse.getcockpit.com/t/conditional-webhook-on-specific-field/2197 "2021-12-19T22:35:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pi43r](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/pi43r/32/943_2.png) [@pi43r](https://discourse.getcockpit.com/u/pi43r)\
**Post date:** [December 19, 2021, 10:35pm UTC](https://discourse.getcockpit.com/t/conditional-webhook-on-specific-field/2197/1 "2021-12-19T22:35:47Z")

</div>

I have a boolean called draft in my blog collection.  
Can I trigger a webhook only if this value is true?

I am using vercel and next.js and it would be stupid to render the the draft repo every time. This would allow me 50 deploys per day instead of 100.
