-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for deal history #118
Comments
doh! I was just going to fire up the hubspot integration on Stitch Data Loader.... to specifically query deal property history via bigquery. Darn it. @caitlinmoorman Are you using Stitch Data Loader or are you running these taps on your own infrastructure? |
@wss-chadical I use Stitch. Depending on what you need, you can still accomplish some history queries via deal properties - deals should contain fields for when the deal entered stage X and entered stage Y. However, you can't track the history of all deal properties (for example, no visibility into historical deal amount). |
@caitlinmoorman lol. Specifically date entering a specific stage is what we want. What's your target? |
The core is that we want to be able to query the history of any property... so yeah.... &includePropertyVersions=True. Sort of frustrating over the last 2 years using stitch primarily for Hubspot.
|
One warning on using the date entering various stages from the deals object - I just discovered one of our deals isn't populating any of the |
@caitlinmoorman Read this thread as well: https://community.hubspot.com/t5/APIs-Integrations/Deals-Endpoint-Returning-414/td-p/320123 Stitch is now using the undocumented allPropertiesFetchMode=latest_version parameter per hubspot's recommendation. |
@caitlinmoorman To get what you (we) need... the allPropertiesFetchMode needs to be set to 'all_versions'. I've confirmed this works via postman api call. |
Currently, the tap only includes the most recent version of deal properties in the versions data. This is not super useful, as it simply matches the data available in the deal entity itself. The Hubspot API supports a parameter to include the full history of a deal's properties, which enables the recreation of a deal pipeline over time.
From Hupspot's API docs
&includePropertyVersions=true | By default, you will only get data for the most recent version of a property in the "versions" data. If you include this parameter, you will get data for all previous versions.
tap-hubspot/tap_hubspot/__init__.py
Line 494 in d168b50
The text was updated successfully, but these errors were encountered: