Skip to content
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

Source Hubspot: new stream Email Subscriptions #17034

Closed
igrankova opened this issue Sep 22, 2022 · 6 comments · Fixed by #22910
Closed

Source Hubspot: new stream Email Subscriptions #17034

igrankova opened this issue Sep 22, 2022 · 6 comments · Fixed by #22910

Comments

@igrankova
Copy link
Contributor

Tell us about the problem you're trying to solve

Email Subscriptions
The Email Subscriptions API can be used to build integrations with other Business Intelligence (BI) systems for reporting.

Scopes
Content scope provides access to All CMS APIs, Calendar API, Email and Email Events APIs. Account types that can access the scope - Marketing Professional, or Enterprise.

Describe the solution you’d like

Research pros and cons for implementing this stream.
Research should contain: what stream should be implemented, permissions and scopes (if needed), paid plan (if needed).

@aazam-gh
Copy link
Contributor

@YowanR I'd like to take up this issue :)

@YowanR
Copy link
Contributor

YowanR commented Feb 1, 2023

Just assigned it to you, @Alcadeus0! Looking forward to your contribution! 💪 🚀

@aazam-gh
Copy link
Contributor

aazam-gh commented Feb 2, 2023

The Email Subscription API stream can be implemented fairly easily similar to the Email Events API that has already been implemented.
Stream in my opinion should only support OAuth as Hubspot API keys will soon be depreciated
Scope for Email Subscription API is "content".
The base stream to be implemented is the Email subscription types for a particular Hubspot ID
The stream will be subject to the normal rate limit set by hubspot (free plan allows 250k reqs daily)

The stream can be implemented using the Python cdk and can be incremental.
It is also possible to support other streams from the subscription stream such as the subscription timeline and subscription email status streams

@aazam-gh
Copy link
Contributor

aazam-gh commented Feb 5, 2023

@igrankova is the above sufficient enough research to get started working on the stream?

@YowanR
Copy link
Contributor

YowanR commented Feb 5, 2023

@Alcadeus0 Thank you for sharing your research! While I agree with the API keys getting deprecated, I'm wondering if we can still support it so that all streams are at parity. We'll deprecate Api keys at the connector level once the depreciation goes into effect. What do you think?
Other than that, I'm looking forward to this contribution! Cc @sajarin/ @natalyjazzviolin

@aazam-gh
Copy link
Contributor

aazam-gh commented Feb 5, 2023

@YowanR Thanks for the feedback. While Hubspot has indicated that the API keys can be deactivated anytime since Nov 30, 2022, we should still be able to support provided the keys still work at the time. In total there are 4 streams to be implemented with this API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants