PostHog / posthog

🦔 PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.54k stars 1.29k forks source link

Hubspot Import Plugin Spec #8438

Closed marcushyett-ph closed 1 year ago

marcushyett-ph commented 2 years ago

⚠️This is part of our plugin bounty if you intend to work on this issue please read this issue first⚠️

Background

Hubspot is one of the top Customer Relationship Management systems, and has a wealth of data that could be used to enrich your customer profiles and analytics on PostHog. We already have an export plugin but an import plugin would enable our users to do much more with their hubspot integration.

Ideally you would extend our existing Hubspot plugin, it has some (undocumented) import features already - which should make this quite easy to build on top of.

Requirements

Features

The plugin should be capable of doing the following:

Feature Description
Enrich specified group type with company and deals information Enrich a user-specified group type with information about companies and deals from hubspot (e.g. size of company, status of deals, etc.)
Enrich users Enrich users on posthog with data from contacts on hubspot
Configuration Users must be able to configure the plugin to use their API key and define the group type they would like to enrich with company and deal information

Reference Information

To start building a plugin:

Getting it Shipped

chinmaym07 commented 2 years ago

Hey @marcushyett-ph I would like to try this. Shall I go ahead.?

marcushyett-ph commented 2 years ago

Hi @chinmaym07 yes, please go ahead and assign this issue to yourself.

For this one we have a hubspot plugin that already solves part of the problem, so it would be great if you could build on top of it, by creating a PR against it rather than an entirely new plugin: https://github.com/PostHog/hubspot-plugin/blob/main/index.js)

It has some undocumented import features already that you'll be able to see in the code, which should help you with this.

Jaspreet-singh-1032 commented 2 years ago

Hey @marcushyett-ph, Is this issue still in progress? I would like to give it a try.

marcushyett-ph commented 2 years ago

@chinmaym07 would you be able to share an update?

Jaspreet-singh-1032 commented 2 years ago

Hey @marcushyett-ph, Should I go ahead if @chinmaym07 is no more working on this issue?

marcushyett-ph commented 2 years ago

Lets give @chinmaym07 24hrs to respond. If not, assign to yourself and go ahead.

Jaspreet-singh-1032 commented 2 years ago

Ya sure @marcushyett-ph, thanks.

chinmaym07 commented 2 years ago

Hey @marcushyett-ph .. thankyou for your time here. Sorry I am occupied with some other work .. I'll not be able to complete this soon. I'll try my hands on some other issue soon. I'll ask @Jaspreet-singh-1032 to go ahead with this issue. Happy contributing .. !!

marcushyett-ph commented 2 years ago

Thanks @chinmaym07 please go ahead.

@Jaspreet-singh-1032 Extra context:

For this one we have a Hubspot plugin that already solves part of the problem, so it would be great if you could build on top of it, by creating a PR against it rather than an entirely new plugin: https://github.com/PostHog/hubspot-plugin/blob/main/index.js)

It has some undocumented import features already that you'll be able to see in the code, which should help you with this.

Also, we've recently updated our docs to include more detail on writing tests for plugins: https://posthog.com/docs/plugins/build/reference

Jaspreet-singh-1032 commented 2 years ago

Thanks, @chinmaym07 for your respone. and @marcushyett-ph thanks for these details. Just wanted to know I have set up the posthog on local. Since this issue also requires group analytics but it is not supported on the open-source version. So how can I test this out?

marcushyett-ph commented 2 years ago

Sure I've set up a development instance with access to all posthog features and demo data.

If you're on our users slack, can you DM me your email and I'll invite you?

Jaspreet-singh-1032 commented 2 years ago

Ya sure @marcushyett-ph

jyuvaraj03 commented 2 years ago

Hey @marcushyett-ph, @Jaspreet-singh-1032 is this issue still in progress? I'd like to be assigned if it's not being actively developed.

Jaspreet-singh-1032 commented 2 years ago

Hey @jyuvaraj03. I had opened a PR implementing this feature. just waiting for review. @marcushyett-ph can you provide any update?

webbdays commented 1 year ago

Any progress?

Jaspreet-singh-1032 commented 1 year ago

Hello @webbdays, I am no more working on this issue. You may go ahead and work on it if you want, thanks.

webbdays commented 1 year ago

I will start working on this.

JoseCToscano commented 1 year ago

Hello there @marcushyett-ph! I would like to take on the issue and be assigned if it is still open. @webbdays Do you have any updates or could I give it a try?

webbdays commented 1 year ago

@JoseCToscano I am not on it now. You can work on it.

joethreepwood commented 1 year ago

Unfortunately this bounty programme was closed mid-last year and this issue wasn't updated. We still welcome submissions of new apps and you're welcome to work on this plugins, but we're no longer offering a bounty as an incentive. Apologies for the confusion.