1.0.49 • Published 1 year ago
ip-pilot-hubspot-company-matching v1.0.49
ip-pilot-hubspot-company-matching
Gettin started
- Install the package
npm i ip-pilot-hubspot-company-matching
- How to use it in your file (ex: paste it in an index.js file and then run node index.js):
const { nameMatching } = require('ip-pilot-hubspot-company-matching');
nameMatching({
hubspotApiKey: 'your key',
ippqlKey: 'your key',
ipqqlHost: 'your host',
});
or if you want to test it only on a few companies:
const { nameMatching } = require('ip-pilot-hubspot-company-matching');
nameMatching({
hubspotApiKey: 'your key',
ippqlKey: 'your key',
ipqqlHost: 'your host',
providedHsCompanies: [
{ companyName: 'company1', targets: ['company1', 'target1'] },
{ companyName: 'company2', targets: ['target2', 'target2.1', 'target2.2'] },
],
});
- Additional information:
- if in Hubspot you have a property wiht internal name "master" you can add multiple company names (separated by a line)
- for every name in the "Master" property a corresponding name + rep_url will be searched in IP Pilot's database
- if nothing is provided in the "Master" property the script will use your Hubspot's company name to find a match in IP Pilot's database
- you will need to have a property in Hubspot with the following internal name -> "ip_pilot_name"
- under the property with internal name "ip_pilot_name" you will find the results of the company matching script
- 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 a matching name + rep_url in IP Pilot's database
Built with
Company
IP Pilot: