Deal Workflow - Tracking First 'Closed' Deal

I’m stuggling to identify the date when the first ‘closed won’ deal for a customer is processed. I tried to build a workflow to set a date marker on the customer, but i cant make it work.

Anyone got any recommondations on how to flag on the customer record when the ‘first’ deal is closed?

There is a ‘first created deal date’ but this isnt helpful to me.

Hi @RGrierson,

If by customer you mean company, then you would create a company-based workflow. If you mean contact, then a contact-based workflow.

First, you would have to create a calculated property for “Number of associated won deals” on the contact or the company object: Create calculation and rollup properties

You would then enroll contact/company when there is at least one associated deal with the Deal stage “Closed won” AND Number of associated won deals = 1. (Without this second criterion, the workflow would set a date for the next deal which could be the second won deal.)

The only action of this workflow would be “Set property value”. You would use it to set the value of your own custom “First deal closed date” property to the date of the step.

That’s already it. It won’t work retroactively. (Only enroll deals that meet the criteria after turning the workflow on!)

Best regards!

Hi Karsten

Done all the steps in the workflow and it’s changing the First deal closed date to today’s date rather than the first deal closed date.

Any ideas? We have 3 different business units so I have adjusted the properties to reflect that.

Hi @BdeBruyn,

Did you catch this part in my earlier response?


It won’t work retroactively. (Only enroll deals that meet the criteria after turning the workflow on!)

Best regards

Ah that makes sense! Is there any way we could pull the existing first deal date and populate that field? All the deals associated with a customer have dates, we just want an easier view to see it.

Hi @BdeBruyn,

Not inside of HubSpot, no, at least not without custom code and the help of a developer. You would have to export the deal data, perform filtering and preparation outside of HubSpot and import the earliest deal date into the contact/company record.

Best regards!

Thank you for the quick response. I can only see a way to do a count on Associated Deals and not Associated WON Deals.

Hi @RGrierson,

Have you checked the additional condition at the lower end of the screenshot I shared?

Best regards

Thanks, yes, i added the additional conditions. It might be my lack of understanding on the workflows, but i can’t find a way to add an Number of ‘won’ deals based on the Additional Criteria.

sorry if im being stupid.

Hi @RGrierson,

No worries. Have you followed the steps from my initial reply? Let me number the steps, too.


Hi @RGrierson,

If by customer you mean

company

, then you would create a company-based workflow. If you mean

contact

, then a contact-based workflow.

(1) First, you would have to create a calculated property for "

Number of associated won deals

" on the

contact

or the

company

object: Create calculation and rollup properties

(2) You would then enroll

contact

/

company

when there is at least one associated deal with the Deal stage “Closed won” AND

Number of associated won deals

= 1. (Without this second criterion, the workflow would set a date for the next deal which could be the second won deal.)

(3) The only action of this workflow would be “Set property value”. You would use it to set the value of your own custom “First deal closed date” property to the date of the step.

That’s already it. It won’t work retroactively. (Only enroll deals that meet the criteria after turning the workflow on!)

Best regards!


The property you’re looking for in step 2…


@RGrierson wrote:

i can’t find a way to add an Number of ‘won’ deals based on the Additional Criteria.


… is the one you should’ve created in step 1. If you gave it a different name, you would have to look for that different name. If it’s not there, you likely created the calculation property on the wrong object (see green/orange above).

If this doesn’t help, please specify exactly where you’re getting stuck when you read the quoted part from top to bottom (step + screenshot).

Best regards