# Required fields in the workflow definition

**URL:** <https://community.hubspot.com/t/required-fields-in-the-workflow-definition/11702>\
**Category:** APIs & Integrations\
**Created:** [November 1, 2018, 2:59pm UTC](https://community.hubspot.com/t/required-fields-in-the-workflow-definition/11702 "2018-11-01T14:59:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lynton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lynton/32/31184_2.png) [@lynton](https://community.hubspot.com/u/lynton)\
**Post date:** [November 1, 2018, 2:59pm UTC](https://community.hubspot.com/t/required-fields-in-the-workflow-definition/11702/1 "2018-11-01T14:59:46Z")

</div>

Are there any plans to support required fields in the field metadata? We’re planning a feature that would break if certain fields weren’t provided in the workflow action.

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [November 1, 2018, 6:59pm UTC](https://community.hubspot.com/t/required-fields-in-the-workflow-definition/11702/2 "2018-11-01T18:59:17Z")

</div>

Hi @lynton, there is a `required` property you can leverage. From [the docs](https://developers.hubspot.com/docs/methods/workflow-extensions/workflow-extensions-overview): `Indicates whether it is an error to omit the field. Users will not be able to create actions missing required fields. **Optional, but defaults to true.** `

---

<div class="post-metadata">

**Author:** ![lynton](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/lynton/32/31184_2.png) [@lynton](https://community.hubspot.com/u/lynton)\
**Post date:** [November 1, 2018, 9:52pm UTC](https://community.hubspot.com/t/required-fields-in-the-workflow-definition/11702/3 "2018-11-01T21:52:39Z")

</div>

Thanks, Conor! I have no idea how I overlooked that in the documentation.

---

<div class="post-metadata">

**Author:** ![cbarley](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/cbarley/32/82559_2.png) [@cbarley](https://community.hubspot.com/u/cbarley)\
**Post date:** [November 1, 2018, 10:33pm UTC](https://community.hubspot.com/t/required-fields-in-the-workflow-definition/11702/4 "2018-11-01T22:33:18Z")

</div>

Not a problem!  
 ![smile.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/7/4/74d2bffa6f542fd5af775c95f3a51056a040e461.png)
