Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lorey/hubspot-contact-import

:busts_in_silhouette: Import Xing contacts and vCards into Hubspot CRM
https://github.com/lorey/hubspot-contact-import

crm hubspot hubspot-api hubspot-contacts vcard xing

Last synced: 2 months ago
JSON representation

:busts_in_silhouette: Import Xing contacts and vCards into Hubspot CRM

Awesome Lists containing this project

README

        

# Import Xing contacts or vcards to Hubspot

This tool imports [Xing](https://xing.com) contacts via their vcards to hubspot. It's also possible to upload arbitrary vcards to hubspot, I guess.

Because I started to use hubspot as my CRM, I wanted to import all my existing contacts.
This was easy with Linkedin because you can simply export your contacts as a CSV and import them to hubspot afterwards via their CSV import.
That's how it should work and was done within a few minutes.

On the other hand, it isn't even possible to export your contacts in bulk with Xing, all while they claim to be 'democratizing information' in their terms of service.
The only option you have to get a hold of your own contacts: Download every single vcard manually.
You can decide for yourself if this is worth the effort.
Please note, that by the terms of service I am not allowed to advertise any automatic mechanism to download your contacts.
So don't free your data by writing a small [selenium](http://selenium-python.readthedocs.io/installation.html) script that downloads all contacts' vcards [automatically](https://gist.github.com/lorey/366ef67fc7384f300dfc31f7800e45ba).
Bad idea, don't do it!

So after you have *manually* downloaded all your contacts' vcards by hand, you can upload and sync them into hubspot with this little tool.

## Usage

Please note that this is in alpha. The tool is currently only creating contacts for unknown emails.

1. Download the vcards of the Xing contacts you wish to import.
2. Put them into `out/vcards`
3. Run xing-to-hubspot.py inside the bin folder.
4. Enjoy the new or updated contacts within your hubspot account.
5. (Merge contacts that belong to the same person and they will never be created again, e.g. if you had [email protected] and petermiller@gmail was created as a new contact)

## Dependencies

This plugin depends on:

- [vobject](https://github.com/eventable/vobject) to read the vcards
- [requests](https://github.com/kennethreitz/requests) to make API calls to hubspot

## Installation

### Install the dependencies if you have not installed them already.

pip install vobject
pip install requests

### Create a Hubpsot API Key

Click on your profile image in the navigation bar and select 'Integrations'. Under 'Your integrations' you will find the possibility to crate an API key.

### Create a config file

Create a config.py file in the main directory with the following contents

HUBSPOT_HAPIKEY = 'YOUR-HAPI-KEY'

## License

GPL

## Also check my other HubSpot-related projects

If you came here for the HubSpot integration, make sure to check out my other projects:

- [awesome-hubspot: Tools and libraries for HubSpot](https://github.com/lorey/awesome-hubspot)
- [Totally not Jarvis, a personal assisstant bot with HubSpot integration](https://github.com/lorey/totally-not-jarvis)
- [hubspot-reporting: tool to generate diagrams from your HubSpot data](https://github.com/lorey/hubspot-reporting)