Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ip-pilot/get-top-countries-of-reps-hubspot

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ip-pilot/get-top-countries-of-reps-hubspot

A demo package that allows you to match retrieve top countries of reps from IP Pilot's database and save it for every company in your Hubspot account.

  • 1.0.4
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

get-top-countries-of-reps-hubspot

Gettin started

  1. Install the package
npm i get-top-countries-of-reps-hubspot
  1. How to use it in your file (ex: paste it in an index.js file and then run node index.js):
const { getTopCountriesOfRepsHubspot } = require('get-top-countries-of-reps-hubspot');

getTopCountriesOfRepsHubspot({
  hubspotApiKey: 'your key',
  ippqlKey: 'your key',
  ipqqlHost: 'your host',
});

or if you want to test it only on a few companies:

const { getTopCountriesOfRepsHubspot } = require('get-top-countries-of-reps-hubspot');

getTopCountriesOfRepsHubspot({
  hubspotApiKey: 'your key',
  ippqlKey: 'your key',
  ipqqlHost: 'your host',
  providedHsCompanies: [{ companyName: 'lucas', targets: ['LUCAS & LUCAS (_url: 6f5167057533c40de2bb072a771ca9c7)'] }],
});
  1. Additional information:
  • every company in your Hubspot account should have a property with internal name "ip_pilot_name" containing the corresponding company names found in IP Pilot's database (ex: 'Lucas (lf_url: 1234485923829)') - you could use our other package in order to easily fill up that property for all your Hubspot companies -> https://www.npmjs.com/package/ip-pilot-hubspot-company-matching
  • for every url in "IP Pilot Name" property the related top 3 countries of representatives will be searched in IP Pilot's database
  • you will need to have a property in Hubspot with the following internal name -> "top_3_countries_of_representatives"
  • the results will be stored in Hubspot under the property with internal name "top_3_countries_of_representatives"
  • 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 representatives

Built with

Company

IP Pilot:

Keywords

FAQs

Package last updated on 24 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc