"Entered in stage date" default HubSpot property access

Hello community,

We would like to be able to access the “Entered in stage date” default HubSpot porperty via:

1. Workflows to trigger some actions by it. The idea is to create a step with a custom code with a condition that includes this property. It’s not possible via interface, but I am wondering if it’s possible via API.

2. Reports - to export this property.

I have been proposed to use instead a custom property of date stamp. But for our purpose we need the exact default “Entered in stage date” property from HubSpot.

Thank you in advance!

Hi, @MTarnopolska :waving_hand: Thanks for your question. To help our community better understand how to assist you, I have a few questions:

  • what object are you working with — Contact, Company, Deal, etc?
  • can you navigate in-app to Properties > Your_Object > enter the property name into the search bar, please? Like my screenshots

You can also search for this property by using the Properties API.

Last question, are these the properties you want?

Thanks for the additional information! — Jaycee

Hello Jaycee,

The property I would like to access is the default property of Deals object. This property doesn’t pop-out in the list of properties, but is visible only in single object reports. See the screenshot:

I would like to access ALL the “Entered Stage Date” properties for all the stages available for Deals object.

Thank you in advance!

Kind regards,

Mila

@MTarnopolska - I have been tangling with this challenge myself over the last few day, although I was actually after the related tracking properties “time in stage xxx”.

HubSpot seems to create a ‘time entered XXX’ , ‘time exited XXX’, and ‘time in XXX’ properties for each stage added to a deal pipeline. You can see these properties if you use the API to capture the scheme of the Deal object. Example:

{

“updatedAt”: “2023-07-07T19:30:59.543Z”,

“createdAt”: “2021-11-18T20:05:10.571Z”,

“name”: “hs_time_in_8070174”,

“label”: “Time in ‘XXX (YYY Pipeline)’”,

“type”: “number”,

“fieldType”: “calculation_read_time”,

“description”: “The total time in seconds spent by the deal in the ‘XXX’ stage, ‘YYY’ pipeline”,

“groupName”: “deal_activity”,

“options”: [],

“displayOrder”: -1,

“calculated”: false,

“externalOptions”: false,

“archived”: false,

“hasUniqueValue”: false,

“hidden”: true,

“hubspotDefined”: true,

“modificationMetadata”: {

“archivable”: true,

“readOnlyDefinition”: true,

“readOnlyValue”: true

},

“formField”: false

},

As you note, reading these properties is more problematic, since they are inconsistently available or not available in th various tools. I suspect that they are defined in a non standard way that hinders more general use.

I found two ways to get around the restrictions, although they both involve creating duplicate properties:

- Use the API and custom code steps in workflows to copy the values and apply any associated calculation/processing steps (conversion to days for example). The copy of the value can be stored in a new Deal property and used as normal.

- Use a current Beta feature called ‘Calculated Properties: Advanced Formula Builder’ which (despite the rough edges) enables a calculated property to be created that is derived from one or more of these properties (with accociated conversion into a useful number base). Sounds like this may be your best option and claims to be availabe in Marketing Pro etc.

Hope this is helpful.