posthog icon indicating copy to clipboard operation
posthog copied to clipboard

Hubspot Import Plugin Spec

Open marcushyett-ph opened this issue 4 years ago • 17 comments

⚠️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:

  • Comment on this issue so everyone knows you're picking it up and assign it to yourself
  • Join our #contributing channel on slack and let us know you're working on this task
  • If you require we can provide you with login credentials to a development PostHog cluster where you can build and test your plugins, you could also run PostHog locally if you prefer to develop there
  • Read through our developer reference for plugins: https://posthog.com/docs/plugins/build/reference and start building
  • Let us know on slack in the #contributing channel if you need any help or further information

Getting it Shipped

  • Create a public MIT Licensed repo on github, add all of your code and create a readme that explains the plugin
  • Once you're done, reach out to the Posthog team in the #contributing channel and we'll take a look
  • If your plugin works as expected, we’ll send you the bounty and get it live in our integrations catalog
  • If you decide not to work on this after starting or don't make any progress in a week, please un-assign it so someone else can take it on

marcushyett-ph avatar Feb 04 '22 14:02 marcushyett-ph

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

chinmaym07 avatar Feb 17 '22 08:02 chinmaym07

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.

marcushyett-ph avatar Feb 17 '22 08:02 marcushyett-ph

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

Jaspreet-singh-1032 avatar Mar 02 '22 15:03 Jaspreet-singh-1032

@chinmaym07 would you be able to share an update?

marcushyett-ph avatar Mar 02 '22 15:03 marcushyett-ph

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

Jaspreet-singh-1032 avatar Mar 03 '22 15:03 Jaspreet-singh-1032

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

marcushyett-ph avatar Mar 03 '22 15:03 marcushyett-ph

Ya sure @marcushyett-ph, thanks.

Jaspreet-singh-1032 avatar Mar 03 '22 15:03 Jaspreet-singh-1032

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 .. !!

chinmaym07 avatar Mar 03 '22 15:03 chinmaym07

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

marcushyett-ph avatar Mar 03 '22 15:03 marcushyett-ph

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?

Jaspreet-singh-1032 avatar Mar 03 '22 15:03 Jaspreet-singh-1032

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?

marcushyett-ph avatar Mar 03 '22 15:03 marcushyett-ph

Ya sure @marcushyett-ph

Jaspreet-singh-1032 avatar Mar 03 '22 15:03 Jaspreet-singh-1032

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.

jyuvaraj03 avatar Apr 04 '22 04:04 jyuvaraj03

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

Jaspreet-singh-1032 avatar Apr 04 '22 14:04 Jaspreet-singh-1032

Any progress?

webbdays avatar Dec 28 '22 16:12 webbdays

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

Jaspreet-singh-1032 avatar Dec 29 '22 08:12 Jaspreet-singh-1032

I will start working on this.

webbdays avatar Dec 29 '22 09:12 webbdays

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?

JoseCToscano avatar Feb 03 '23 07:02 JoseCToscano

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

webbdays avatar Feb 03 '23 09:02 webbdays

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.

joethreepwood avatar Feb 03 '23 14:02 joethreepwood