I have a contact property called “contact engagement score” and another contact property called “lead status”. Whenever the lead status is anything other thank “JUnk”, I want an average of all the contact engagement scores, to be input into a custom property at the company record.
Example:
contact A - 10
contact B - 5, but junk status
contact C - 16
then the average would be 13, and this value would be appended to the company record in another custom property
need the line of code to solve this using a hubspot workflow with ops hub steps