@ip-pilot/get-top-countries-of-partners-hubspot
v1.0.7
Published
A demo package that allows you to match retrieve top countries of partners from IP Pilot's database and save it for every company in your Hubspot account.
Downloads
6
Readme
get-top-countries-of-partners-hubspot
Gettin started
- Install the package
npm i get-top-countries-of-partners-hubspot
- How to use it in your file (ex: paste it in an index.js file and then run node index.js):
const { getTopCountriesOfPartnersHubspot } = require('get-top-countries-of-partners-hubspot');
getTopCountriesOfPartnersHubspot({
hubspotApiKey: 'your key',
ippqlKey: 'your key',
ipqqlHost: 'your host',
});
or if you want to test it only on a few companies:
const { getTopCountriesOfPartnersHubspot } = require('get-top-countries-of-partners-hubspot');
getTopCountriesOfPartnersHubspot({
hubspotApiKey: 'your key',
ippqlKey: 'your key',
ipqqlHost: 'your host',
providedHsCompanies: [{ companyName: 'lucas', targets: ['LUCAS & LUCAS (_url: 6f5167057533c40de2bb072a771ca9c7)'] }],
});
- Additional information:
- every company in your Hubspot account should have an "IP Pilot Name" property containing the corresponding company names found in IP Pilot's database (ex: 'Lucas (lf_url: 1234485923829)')
- for every url in "IP Pilot Name" property the related top 3 countries of clients will be searched in IP Pilot's database
- the results will be stored in Hubspot under the property "Top 3 Countries of Partners"
- if for testing purposes you don't want affect all your Hubspot companies you can provide a limited list of companies via providedHsCompanies parameter as shown in point 2. The property targets are the list of company names you wish to look up and find its top countries of clients
Built with
Company
IP Pilot: