airbytehq / airbyte

The leading data integration platform for ETL / ELT data pipelines from APIs, databases & files to data warehouses, data lakes & data lakehouses. Both self-hosted and Cloud-hosted.
https://airbyte.com
Other
15.51k stars 3.99k forks source link

[source-hubspot] Add support for companies_archived #40595

Open guillaume-chech opened 2 months ago

guillaume-chech commented 2 months ago

Connector Name

source-hubspot

Connector Version

4.2.7

What step the error happened?

None

Relevant information

Currently the connector support fetching archived deals, the corresponding streams is deals_archived. It would be great to have an analogous companies_archived stream

Relevant log output

No response

Contribute

marcosmarxm commented 2 months ago

@guillaume-chech do you mind sharing Hubspot documentation page showing it's possible to access this data?

guillaume-chech commented 2 months ago

@guillaume-chech do you mind sharing Hubspot documentation page showing it's possible to access this data?

Hey @marcosmarxm Thanks for looking into this. There's no endpoint in Hubspot API to get this data, however it should be possible to do something analogous to what has been made for deals_archived. I.e. Use the companies endpoint with the archived filter passed . See here.