The Workflow Extensions and Workflow Webhooks tools work differently with regards to the data they post. The extension is defined by yourself and will only work with the information that is provided to the extension. As an example, if we take a look at the sample defintion from our docs:
If I want I want the object array to populate with object property values, I need to ensure that the value definition types are set to OBJECT_PROPERTY. Once done, the field presents a dropdown menu containing HubSpot properties within the extension UI. When the extension is executed, the value contained in the property is used as the value corresponding to the field’s key.
Whereas the webhook, this is designed by default to post the API data we have associated to the object that is enrolled. In this case, if a contact is enrolled and the webhook action executes, we will post the API data for said contact to the webhook URL.
The Workflow Extensions and Workflow Webhooks tools work differently with regards to the data they post. The extension is defined by yourself and will only work with the information that is provided to the extension. As an example, if we take a look at the sample defintion from our docs:
If I want I want the object array to populate with object property values, I need to ensure that the value definition types are set to OBJECT_PROPERTY. Once done, the field presents a dropdown menu containing HubSpot properties within the extension UI. When the extension is executed, the value contained in the property is used as the value corresponding to the field’s key.
Whereas the webhook, this is designed by default to post the API data we have associated to the object that is enrolled. In this case, if a contact is enrolled and the webhook action executes, we will post the API data for said contact to the webhook URL.
It would be fantastic if we could request the properties of the object as a part of the payload.
For example, we need to get the contact owner's email address in the payload which works wonderfully in the standard webhook but with the extension we need to make an additional api call to get that data.