Trigger a workflow on deal creation

Hey everyone,

Just curious what everyone’s best practice is for triggering a workflow off a deal’s creation. I.e., the moment a deal is created, do ABC.

I find that I can only select Deal properties, but I’m unsure what the best way to select ‘new deals’ is. A few ideas that I had:

  • Create date = today
  • Create date = known
  • Deal stage = the first stage in pipeline

How do you guys approach this?

Hi @Bob2245,

“Create date is known” is the most immediate and easiest way to “catch” and enroll all new deal records. The other two options would work as well, virtually the same thing in this scenario.

Using a date reference (“is today”) adds a bit of complexity since you’re asking HubSpot to compare to characterics instead of just checking whether one characteristic exists. That’s why I’d opt for the Create date. I can’t think of any scenarios however where this would make a difference, really just comes down to preference.

If you want to set up different automation by pipeline, you’d choose Deal stage criterion because it lets you select the pipeline.

Best regards!

I tried this before reading this blog entry. Whoever it doesn’t wor for me. This is what I’m doing: Create date is known → Clear Close Date property. However, the close date remains filled with the last day of the current month. I need to have that property empty until the deal is Won. Then the close date property will be filled.

I hope you can help me on that. Thanks in advance!

Are your sales reps setting the close date, or is some other process doing it? This workflow will clear the close date property as soon as you click “Create deal” at the bottom of the creation form, or as soon as another process creates a deal. There may be other workflows that run off of deal creation, or a sales rep may manually update the close date a bit after creating the deal, that overrules this step.

You can check how the property is being used by navigating to Settings → Properties → Deal properties → Close Date → Used in

Thanks so much Bob2245!

Let me clarify two things:

- First thing: my problem is that the Close Date is not cleaned when it is supposed to do it. I mean, I create the Deal by pushing the button at the bottom of the creation form, and the Close Date is filled with the last date of the month. I have to empty it manually! This is what I want to avoid. And that’s why I’m suffering with this workflow.

Second: The property Close Date is automatically filled (or it’s my intention) when the deal is Won:

And this is working perfectly!

But the First step is the one I don’t see it workin :disappointed_face:

Reading through this article there seem to be a few Hubspot standard processes running to manage the close date of a deal when there is none. This might be interfering with your workflow logic.

You might try adding a 1-2 minute delay between the trigger and the clear action. This should give Hubspot’s standard processes time to do their thing, then after all that is done, your workflow comes in and clears the property.

I’m not sure but it could be that Hubspot’s internal logic described in that article will prevent you from having deals without close dates entirely, in which case you’re out of luck.

Um… Indirectly you helped me! Because I was not aware that the By Defualt option was set at my Hubspot instance. I can delete my Workflow, it is no needed :slightly_smiling_face:

Thanks so much!