airbyte
airbyte copied to clipboard
[source-hubspot] New streams: Associations between objects
Topic
Add new streams to be able to retrieve up-to-date associations with their labels between HS objects using official API endpoints
Relevant information
According to the official Hubspot documentation, there are endpoints dedicated to associations between objects.
It would be interesting to collect associations only, with their labels
, instead of retrieving them via usual object
streams.
Another advantage: associations may be dynamically retrievable for all object types via those endpoints (i.e. no need to include missing association types in existing objects streams).
Example of use case solving a current huge pain 🙏
- existing
object
streams used inincremental
only retrieveassociations
at the time of data extraction - if any
association
is created after theincremental
sync, it is NOT retrieved (except ifobject
itself is modified again, being in the scope of a subsequent incremental sync) - as
Engagements
are mainly never modified once created, but possibly a posteriori associated to many objects, we miss a huge number of Engagements x Deals/Contacts/Companiesassociations
; we also can not consider re-syncing all engagements at a regular schedule because of the data volume
-> if we have new dedicated streams for associations
between usual objects (eg: Company x Contact, Deal x Engagements call, etc...), we could enable a daily full-refresh
sync for all associations only in an efficient manner and then use up-to-date associations data for our internal use cases 👍
NB: above dedicated streams for associations
may even evolve to incremental
sync also as soon as Hubspot enables Search it in associations API endpoints (the same way as for other objects)🤞